Am 28.01.14 18:34, schrieb Jose Luis Ledesma:
Could be that the ${plist_name} is undef inside the define? You could try
adding a notify inside the define to check which value it has.
If I use a notify inside the defined resource I get a duplicate
declaration error, so I chnaged the code to use a static filename
instead of the $plist_name variable and it worked.
But using a notify outside the defined resource works and gets me the
correct value for the variable $plist_name...
So why is it not working? Is it an other scope or namespace?
Robert
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/52E8C221.7010201%40reproflex.de.
For more options, visit https://groups.google.com/groups/opt_out.