summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authortphoney <tp@puppetlabs.com>2015-07-09 15:13:00 +0100
committertphoney <tp@puppetlabs.com>2015-07-15 14:06:34 +0100
commit14709d625b840da1919b5cd8933b73fb771e547b (patch)
tree5b7c77e9913a0447c3ad648afcb386cc54a7222e /tests
parenta0224412893d39463a4fde82887312b279f83e1b (diff)
downloadpuppet-stdlib-14709d625b840da1919b5cd8933b73fb771e547b.tar.gz
puppet-stdlib-14709d625b840da1919b5cd8933b73fb771e547b.tar.bz2
prep work for 4.7.0
add new improvements puppet4 changes for testing
Diffstat (limited to 'tests')
-rw-r--r--tests/file_line.pp9
-rw-r--r--tests/has_interface_with.pp10
-rw-r--r--tests/has_ip_address.pp3
-rw-r--r--tests/has_ip_network.pp4
-rw-r--r--tests/init.pp1
5 files changed, 0 insertions, 27 deletions
diff --git a/tests/file_line.pp b/tests/file_line.pp
deleted file mode 100644
index eea693e..0000000
--- a/tests/file_line.pp
+++ /dev/null
@@ -1,9 +0,0 @@
-# This is a simple smoke test
-# of the file_line resource type.
-file { '/tmp/dansfile':
- ensure => present
-}->
-file_line { 'dans_line':
- line => 'dan is awesome',
- path => '/tmp/dansfile',
-}
diff --git a/tests/has_interface_with.pp b/tests/has_interface_with.pp
deleted file mode 100644
index e1f1353..0000000
--- a/tests/has_interface_with.pp
+++ /dev/null
@@ -1,10 +0,0 @@
-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'))
-
diff --git a/tests/has_ip_address.pp b/tests/has_ip_address.pp
deleted file mode 100644
index 8429a88..0000000
--- a/tests/has_ip_address.pp
+++ /dev/null
@@ -1,3 +0,0 @@
-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/tests/has_ip_network.pp b/tests/has_ip_network.pp
deleted file mode 100644
index a15d8c0..0000000
--- a/tests/has_ip_network.pp
+++ /dev/null
@@ -1,4 +0,0 @@
-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/tests/init.pp b/tests/init.pp
deleted file mode 100644
index 9675d83..0000000
--- a/tests/init.pp
+++ /dev/null
@@ -1 +0,0 @@
-include stdlib