commit
4d889cbcb6
6 changed files with 7 additions and 9 deletions
|
@ -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',
|
||||
|
|
|
@ -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'))
|
||||
|
||||
|
|
|
@ -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'))
|
||||
|
|
|
@ -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'))
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
include stdlib
|
||||
include ::stdlib
|
||||
|
|
|
@ -14,5 +14,5 @@
|
|||
# Requires: nothing
|
||||
#
|
||||
class stdlib {
|
||||
include stdlib::stages
|
||||
include ::stdlib::stages
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue