On Wed, Jan 30, 2013 at 9:55 AM, jim <stra...@gmail.com> wrote:

> Hello all,
>
> I have some questions about the download puppet modules from puppetforge:
>
> I'll take puppetlabs-dism as an example, once its installed its located:
>
> /etc/puppetlabs/puppet/modules/dism
>
> Can this be renamed to something else ?
>
> Also if for example, I had a folder tree under modules e.g.
>
> /etc/puppetlabs/puppet/modules/windows
> |
> |- manifests
> |--base.pp
> |--networking.pp
>
> Can I move the DISM module folder under my windows folder ?
>

This particular module is just a type/provider with no puppet manifest so
you can move the lib dir to another module.


> then I assume i'd call it by windows::dism?
>

No, the resource is still called dism, because it's the name of the type
and moving the lib dir won't change this.

https://github.com/puppetlabs/puppetlabs-dism/blob/master/lib/puppet/type/dism.rb#L1

 You can write your own custom define resource called windows::dism which
wraps the native dism resource. This is typically done if you need
environment defaults.

HTH,

Nan

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to