diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-15 06:22:16 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-15 06:22:16 +0000 |
commit | 0af8ad72f9d44c4fe8b817d724b562b4c38ca654 (patch) | |
tree | 0273d8eada77e3dbe7d3adfa5b44a29b6a80e3f7 /examples/code/snippets | |
parent | 5669d1b30f8a6cef1f239eef4bb185e82ceb9c6f (diff) | |
download | puppet-0af8ad72f9d44c4fe8b817d724b562b4c38ca654.tar.gz puppet-0af8ad72f9d44c4fe8b817d724b562b4c38ca654.tar.xz puppet-0af8ad72f9d44c4fe8b817d724b562b4c38ca654.zip |
Removing a test in the parser that is no longer necessary because of how imports work now, and fixing a snippet not to interfere with a local fact
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1606 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'examples/code/snippets')
-rw-r--r-- | examples/code/snippets/tagged.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/code/snippets/tagged.pp b/examples/code/snippets/tagged.pp index 7d382d01c..e3ca93838 100644 --- a/examples/code/snippets/tagged.pp +++ b/examples/code/snippets/tagged.pp @@ -17,7 +17,7 @@ $yayness = tagged(yayness) ? { true => "true", false => "false" } -$testing = tagged(testing) ? { +$funtest = tagged(testing) ? { true => "true", false => "false" } @@ -30,6 +30,6 @@ $bothtrue = tagged(testing, testing) ? { } file { "/tmp/taggedyayness$yayness": ensure => file } -file { "/tmp/taggedtesting$testing": ensure => file } +file { "/tmp/taggedtesting$funtest": ensure => file } file { "/tmp/taggedboth$both": ensure => file } file { "/tmp/taggedbothtrue$bothtrue": ensure => file } |