Files
FOSSBilling/puphpet/puppet/modules/stdlib/tests/has_interface_with.pp
T
Vaidas Lungis 88512e863b add vagrant puphpet configuration
OS - Ubuntu 12.04
PHP - 5.4 with cli intl mcrypt curl gd imagick mbstring MySQL
IP - 10.20.30.12
target folder - /var/www/boxbilling
servername - boxbilling.test
XDEBUG
2014-12-11 12:42:50 +02: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'))