Hello

When I run this with puppet 0.24.7 (puppet --debug test2.pp):

File { backup => false }

define cfile {
   tag("$name")
   file { "/tmp/cfile_$name": content => "test" }
   file { "/tmp/dfile_$name": content => "test" }
}
@cfile { "s1":  }
@cfile { "s2":  }
@cfile { "s3":  }
Cfile <| tag=="s1"  |>

nothing happens, while this works as expected (only cfile with "s1"  
tag is realized):

File { backup => false }

define cfile {
   tag("$name")
   file { "/tmp/cfile_$name": content => "test" }
   file { "/tmp/dfile_$name": content => "test" }
}
@cfile { "s1":  tag=>"s1" }
@cfile { "s2":  tag=>"s2" }
@cfile { "s3":  tag=>"s3" }
Cfile <| tag=="s1"  |>

So, how exactly tag function is working? After reading documentation I  
assume that it should do the trick and first example should work.
---
Grzegorz Marszałek
gr...@post.pl



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to