diff options
author | Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> | 2015-07-25 13:34:31 +0200 |
---|---|---|
committer | Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> | 2015-07-25 13:34:31 +0200 |
commit | c7403a4e050352b6b6dd98a2626aa90490884ca1 (patch) | |
tree | 1b73ecb052870c2ca1c990b9e275cf8f6e48235e | |
parent | dca8bdba59990cb8a3451cd87d0244c92ca94901 (diff) |
Style fixes
-rw-r--r-- | examples/file_line.pp | 4 | ||||
-rw-r--r-- | examples/has_interface_with.pp | 3 | ||||
-rw-r--r-- | examples/has_ip_address.pp | 2 | ||||
-rw-r--r-- | examples/has_ip_network.pp | 3 | ||||
-rw-r--r-- | examples/init.pp | 2 | ||||
-rw-r--r-- | manifests/init.pp | 2 |
6 files changed, 7 insertions, 9 deletions
diff --git a/examples/file_line.pp b/examples/file_line.pp index eea693e..85b1325 100644 --- a/examples/file_line.pp +++ b/examples/file_line.pp @@ -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', diff --git a/examples/has_interface_with.pp b/examples/has_interface_with.pp index e1f1353..a578dd2 100644 --- a/examples/has_interface_with.pp +++ b/examples/has_interface_with.pp @@ -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')) - diff --git a/examples/has_ip_address.pp b/examples/has_ip_address.pp index 8429a88..594143d 100644 --- a/examples/has_ip_address.pp +++ b/examples/has_ip_address.pp @@ -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')) diff --git a/examples/has_ip_network.pp b/examples/has_ip_network.pp index a15d8c0..1f1130d 100644 --- a/examples/has_ip_network.pp +++ b/examples/has_ip_network.pp @@ -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')) - diff --git a/examples/init.pp b/examples/init.pp index 9675d83..ad27972 100644 --- a/examples/init.pp +++ b/examples/init.pp @@ -1 +1 @@ -include stdlib +include ::stdlib diff --git a/manifests/init.pp b/manifests/init.pp index 87ea975..9ea22a7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -14,5 +14,5 @@ # Requires: nothing # class stdlib { - include stdlib::stages + include ::stdlib::stages } |