From 0af8ad72f9d44c4fe8b817d724b562b4c38ca654 Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 15 Sep 2006 06:22:16 +0000 Subject: 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 --- examples/code/snippets/tagged.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/code/snippets') 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 } -- cgit