On Mon, Aug 29, 2011 at 8:23 AM, Arnau Bria <[email protected]> wrote:

> Hi all,
>
> Puppet's module organization looks like:
>
> MODULE_PATH
> |-module_name
>        |-files
>        |-manifests
>                |-foo.pp
>                |-bar
>                        |-bar.pp
>
>
> And module autoloading will find bar.pp if I define it as
>
> module_name::bar::bar
>
> My question is: is there a similar behaviour for file serving? May I
> create a file dir under bar directory and serve files from there?
>

Yes.

$module_name/files/foo/bar/baz

is

puppet:///modules/$module_name/foo/bar/baz




>
> I don't find find refenreces to such behaviour at
> http://docs.puppetlabs.com/guides/modules.html ... and my test don't
> work.
>
> TIA,
> Arnau
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>


-- 
Nigel Kersten
Product Manager, Puppet Labs

*Join us for **PuppetConf *
<http://www.bit.ly/puppetconfsig>
Sept 22/23 Portland, Oregon, USA.
*
*

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

Reply via email to