fuel-library/deployment/puppet/stdlib/tests/has_interface_with.pp
Sergii Golovatiuk 9cef0b2510 Sync puppetlabs-stdlib module to 4.2.1
v4.2.1 08b00d9229961d7b3c3cba997bfb35c8d47e4c4b

Change-Id: I12a3fa8eea5647d6410469b542317bff2bee896c
Implements: blueprint merge-openstack-puppet-modules
2014-06-13 10:32:11 +00:00

11 lines
754 B
ObjectPascal

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'))