On Wednesday, December 9, 2015 at 8:24:41 AM UTC-6, ddn...@gmail.com wrote:

[...]
 

> My question is, how do I separate the *file* and the *mount* resources in 
> a separate manifest inside the same module and have the same effect? Our 
> puppet admins require that defined type declarations do not include 
> resources inside them.
>
>
I have to join the others in expressing confusion over this.  Surely there 
is some sort of misunderstanding here.  I suspect that what your admins 
really want is the widely accepted standard practice that defined type 
*definitions*, such as the one in your mounts.pp, appear in their own 
manifest files, as opposed to appearing inside or alongside class 
definitions in those classes' manifests.  In that case, your code already 
complies.

I don't see how defined types could serve any useful purpose distinct from 
classes' if they are not permitted to contain resource declarations.  If 
your Puppet admins truly are demanding that, then get them some training, 
fast, or else find others who know what they're doing.


John

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1af2ac60-037c-45ac-90a0-94911704056d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to