On Tue, 30 Aug 2011 09:44:59 -0400
Nan Liu wrote:

Hi Nan,

> No, files in the manifests directory are not accesible through source
> => puppet:///... The manifests directory is intended to be
> inaccessible to the agent since it contains files that should be
> compiled on the master. 

thanks. now it's clear. What I request is impossible.

> Any reason, you intend to give the agent
> access to the manifests directory instead of using the files
> directory?

No, I simply thought that could be easy to manage files if they are
stored under each subdirectory. Anyway, I'll create a similar
manifests tree under files directory.

> MODULE_PATH
> |-module_name
>        |-files
>                |-bar
>                       |-baz
>        |-manifests
>                |-foo.pp
>                |-bar
>                        |-bar.pp
> 
> So for the agent to retrieve files/bar/baz:
> source => "${module_name}/bar/baz"

Yep, that's how we current work.

Thanks for your reply.
 
> Thanks,
> Nan
Cheers,
Arnau

-- 
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