Skip to content

Commit 09d314c

Browse files
committed
Resolve easy puppet-lint notices
1 parent 5323b8d commit 09d314c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+703
-758
lines changed

examples/apache.pp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
include ::apache
2-
include ::apache::mod::php
3-
include ::apache::mod::cgi
4-
include ::apache::mod::userdir
5-
include ::apache::mod::disk_cache
6-
include ::apache::mod::proxy_http
1+
include apache
2+
include apache::mod::php
3+
include apache::mod::cgi
4+
include apache::mod::userdir
5+
include apache::mod::disk_cache
6+
include apache::mod::proxy_http

examples/dev.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include ::apache::mod::dev
1+
include apache::mod::dev

examples/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include ::apache
1+
include apache

examples/mod_load_params.pp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Tests the path and identifier parameters for the apache::mod class
22

33
# Base class for clarity:
4-
class { '::apache': }
5-
4+
class { 'apache': }
65

76
# Exaple parameter usage:
87
apache::mod { 'testmod':

examples/mods.pp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Base class. Declares default vhost on port 80 and default ssl
44
# vhost on port 443 listening on all interfaces and serving
55
# $apache::docroot, and declaring our default set of modules.
6-
class { '::apache':
6+
class { 'apache':
77
default_mods => true,
88
}
9-

examples/mods_custom.pp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Base class. Declares default vhost on port 80 and default ssl
44
# vhost on port 443 listening on all interfaces and serving
55
# $apache::docroot, and declaring a custom set of modules.
6-
class { '::apache':
6+
class { 'apache':
77
default_mods => [
88
'info',
99
'alias',
@@ -13,4 +13,3 @@
1313
'expires',
1414
],
1515
}
16-

examples/php.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class { '::apache':
1+
class { 'apache':
22
mpm_module => 'prefork',
33
}
4-
include ::apache::mod::php
4+
include apache::mod::php

examples/vhost.pp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Base class. Declares default vhost on port 80 and default ssl
66
# vhost on port 443 listening on all interfaces and serving
77
# $apache::docroot
8-
class { '::apache': }
8+
class { 'apache': }
99

1010
# Most basic vhost
1111
apache::vhost { 'first.example.com':
@@ -141,7 +141,6 @@
141141
rack_base_uris => ['/rackapp1', '/rackapp2'],
142142
}
143143

144-
145144
# Vhost to redirect non-ssl to ssl
146145
apache::vhost { 'sixteenth.example.com non-ssl':
147146
servername => 'sixteenth.example.com',
@@ -255,4 +254,3 @@
255254
docroot => '/var/www/twentysecond',
256255
rack_base_uris => ['/passengerapp1', '/passengerapp2'],
257256
}
258-

examples/vhost_directories.pp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Base class. Declares default vhost on port 80 and default ssl
22
# vhost on port 443 listening on all interfaces and serving
33
# $apache::docroot
4-
class { '::apache': }
4+
class { 'apache': }
55

66
# Example from README adapted.
77
apache::vhost { 'readme.example.net':
@@ -41,4 +41,3 @@
4141
},
4242
],
4343
}
44-

examples/vhost_filter.pp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Base class. Declares default vhost on port 80 with filters.
2-
class { '::apache': }
2+
class { 'apache': }
33

44
# Example from README adapted.
55
apache::vhost { 'readme.example.net':
@@ -14,4 +14,3 @@
1414
'FilterProtocol COMPRESS DEFLATE change=yes;byteranges=no',
1515
],
1616
}
17-

0 commit comments

Comments
 (0)