Hi,

Le mercredi 26 mars 2014 16:03:05 UTC+1, Jose Luis Ledesma a écrit :
>
>
> About using the "require" I think the problem is the parser doesn't found 
> the File['/local_area'] beacuse it's created in the "create_resources", 
> although IMHO it should work (although I don't know the complexity of make 
> this possible)
>

It seems that it is just a matter of correctly writing the dependency. The 
following two forms should work equally:

require "File[/local_area]"

require: File[/local_area]

See 
https://ask.puppetlabs.com/question/3130/trying-to-set-dependencies-with-hiera-and-create_resources/?answer=4362#post-id-4362
 

-- 
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/fb62fea1-2c36-49e4-98f3-7d7aa7827f13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to