diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2011-08-08 09:33:56 -0700 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2011-08-08 09:33:56 -0700 |
commit | f3c53e6f1943417a1690f5a976076f24277c6b06 (patch) | |
tree | 7a705b349ab1f976328eef1fa7c3e7167a1bd769 /tests/file_line.pp | |
parent | 4c93090e1aad8dfdaa39b4f304d3c87704408b13 (diff) | |
download | puppet-stdlib-f3c53e6f1943417a1690f5a976076f24277c6b06.tar.gz puppet-stdlib-f3c53e6f1943417a1690f5a976076f24277c6b06.tar.bz2 |
(#8792) Rename basic smoke test to reflect file_line rename
Without this patch the basic smoke test in the module tests/ directory
did not math up with the renamed whole_line => file_line resource type.
This patch updates the smoke test file to match the most recently
selected name of file_line. The filename has been changed, comments
added to the smoke test file, and resource declarations inside the file
changed.
Diffstat (limited to 'tests/file_line.pp')
-rw-r--r-- | tests/file_line.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/file_line.pp b/tests/file_line.pp new file mode 100644 index 0000000..eea693e --- /dev/null +++ b/tests/file_line.pp @@ -0,0 +1,9 @@ +# 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', +} |