feat: initial commit
This commit is contained in:
commit
38f495e3f4
457 changed files with 40577 additions and 0 deletions
9
environments/production/thirdparty/stdlib/examples/file_line.pp
vendored
Normal file
9
environments/production/thirdparty/stdlib/examples/file_line.pp
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
# This is a simple smoke test
|
||||
# of the file_line resource type.
|
||||
file { '/tmp/dansfile':
|
||||
ensure => file,
|
||||
}
|
||||
-> file_line { 'dans_line':
|
||||
line => 'dan is awesome',
|
||||
path => '/tmp/dansfile',
|
||||
}
|
9
environments/production/thirdparty/stdlib/examples/has_interface_with.pp
vendored
Normal file
9
environments/production/thirdparty/stdlib/examples/has_interface_with.pp
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
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'))
|
||||
info('has_interface_with(\'ipaddress\', \'127.0.0.100\'):', has_interface_with('ipaddress', '127.0.0.100'))
|
||||
info('has_interface_with(\'network\', \'127.0.0.0\'):', has_interface_with('network', '127.0.0.0'))
|
||||
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'))
|
3
environments/production/thirdparty/stdlib/examples/has_ip_address.pp
vendored
Normal file
3
environments/production/thirdparty/stdlib/examples/has_ip_address.pp
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
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'))
|
3
environments/production/thirdparty/stdlib/examples/has_ip_network.pp
vendored
Normal file
3
environments/production/thirdparty/stdlib/examples/has_ip_network.pp
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
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
environments/production/thirdparty/stdlib/examples/init.pp
vendored
Normal file
1
environments/production/thirdparty/stdlib/examples/init.pp
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
include stdlib
|
Loading…
Add table
Add a link
Reference in a new issue