]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
Style fixes
authorEwoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
Sat, 25 Jul 2015 11:34:31 +0000 (13:34 +0200)
committerEwoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
Sat, 25 Jul 2015 11:34:31 +0000 (13:34 +0200)
examples/file_line.pp
examples/has_interface_with.pp
examples/has_ip_address.pp
examples/has_ip_network.pp
examples/init.pp
manifests/init.pp

index eea693e15ecc72f108c246144db983aabb6d3253..85b132586dda768a5613785d2749dddbdd89b2eb 100644 (file)
@@ -1,8 +1,8 @@
 # This is a simple smoke test
 # of the file_line resource type.
 file { '/tmp/dansfile':
-  ensure => present
-}->
+  ensure => file,
+} ->
 file_line { 'dans_line':
   line => 'dan is awesome',
   path => '/tmp/dansfile',
index e1f1353cdd913b1d6e4bd96b11a3a44a36be5ac0..a578dd27947ded40a4d3c25faaefbd487ce44813 100644 (file)
@@ -1,4 +1,4 @@
-include stdlib
+include ::stdlib
 info('has_interface_with(\'lo\'):', has_interface_with('lo'))
 info('has_interface_with(\'loX\'):', has_interface_with('loX'))
 info('has_interface_with(\'ipaddress\', \'127.0.0.1\'):', has_interface_with('ipaddress', '127.0.0.1'))
@@ -7,4 +7,3 @@ info('has_interface_with(\'network\', \'127.0.0.0\'):', has_interface_with('netw
 info('has_interface_with(\'network\', \'128.0.0.0\'):', has_interface_with('network', '128.0.0.0'))
 info('has_interface_with(\'netmask\', \'255.0.0.0\'):', has_interface_with('netmask', '255.0.0.0'))
 info('has_interface_with(\'netmask\', \'256.0.0.0\'):', has_interface_with('netmask', '256.0.0.0'))
-
index 8429a885539e764bf7fccdd6883d4de19f1bd0cd..594143d66fc6bd3979a96fbaa6899b4ce3c28f4f 100644 (file)
@@ -1,3 +1,3 @@
-include stdlib
+include ::stdlib
 info('has_ip_address(\'192.168.1.256\'):', has_ip_address('192.168.1.256'))
 info('has_ip_address(\'127.0.0.1\'):', has_ip_address('127.0.0.1'))
index a15d8c011b6604a735b507cc508c04383bdaf465..1f1130dc776af420c09e0092ad97704596dae666 100644 (file)
@@ -1,4 +1,3 @@
-include stdlib
+include ::stdlib
 info('has_ip_network(\'127.0.0.0\'):', has_ip_network('127.0.0.0'))
 info('has_ip_network(\'128.0.0.0\'):', has_ip_network('128.0.0.0'))
-
index 9675d8374b54c5cd9a4911b330dcb43e50248d38..ad2797213a1389f491ea0e6f35f2b13ddfd2168e 100644 (file)
@@ -1 +1 @@
-include stdlib
+include ::stdlib
index 87ea97501b218cdcb43137b9c0b7d069e010e5a8..9ea22a737d86d4e8a41052f0eaad83005f771b4b 100644 (file)
@@ -14,5 +14,5 @@
 # Requires: nothing
 #
 class stdlib {
-  include stdlib::stages
+  include ::stdlib::stages
 }