Skip to content

Commit 6b8cdc6

Browse files
Merge pull request #1127 from jcpunk/puppet-lint
Resolve puppet-lint warnings
2 parents d4477da + cc19a2a commit 6b8cdc6

19 files changed

Lines changed: 25 additions & 18 deletions

File tree

examples/has_interface_with.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include ::stdlib
1+
include stdlib
22
info('has_interface_with(\'lo\'):', has_interface_with('lo'))
33
info('has_interface_with(\'loX\'):', has_interface_with('loX'))
44
info('has_interface_with(\'ipaddress\', \'127.0.0.1\'):', has_interface_with('ipaddress', '127.0.0.1'))

examples/has_ip_address.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
include ::stdlib
1+
include stdlib
22
info('has_ip_address(\'192.168.1.256\'):', has_ip_address('192.168.1.256'))
33
info('has_ip_address(\'127.0.0.1\'):', has_ip_address('127.0.0.1'))

examples/has_ip_network.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
include ::stdlib
1+
include stdlib
22
info('has_ip_network(\'127.0.0.0\'):', has_ip_network('127.0.0.0'))
33
info('has_ip_network(\'128.0.0.0\'):', has_ip_network('128.0.0.0'))

examples/init.pp

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

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
# of stdlib::stages.
99
#
1010
class stdlib {
11-
include ::stdlib::stages
11+
include stdlib::stages
1212
}

manifests/stages.pp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@
2222
# }
2323
#
2424
class stdlib::stages {
25-
2625
stage { 'setup': before => Stage['main'] }
2726
stage { 'runtime': require => Stage['main'] }
2827
-> stage { 'setup_infra': }
2928
-> stage { 'deploy_infra': }
3029
-> stage { 'setup_app': }
3130
-> stage { 'deploy_app': }
3231
-> stage { 'deploy': }
33-
3432
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Class to test the Stdlib::Base32 type alias
22
class test::base32 (
3-
Stdlib::Base32 $value,
4-
) {
3+
Stdlib::Base32 $value,
4+
) {
55
notice('Success')
66
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Class to test the Stdlib::Base64 type alias
22
class test::base64 (
3-
Stdlib::Base64 $value,
4-
) {
3+
Stdlib::Base64 $value,
4+
) {
55
notice('Success')
66
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Class to test deftype
2-
define test::deftype( $param = 'foo' ) {
2+
define test::deftype ( $param = 'foo' ) {
33
notify { "deftype: ${title}": }
44
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# A helper class to test the ensure_resources function
2-
class test::ensure_resources( $resource_type, $title_hash, $attributes_hash ) {
2+
class test::ensure_resources ( $resource_type, $title_hash, $attributes_hash ) {
33
ensure_resources($resource_type, $title_hash, $attributes_hash)
44
}

0 commit comments

Comments
 (0)