Re: [Puppet Users] Re: could not retrieve information from environment

Jeff McCune
Thu, 24 May 2012 20:09:35 -0000

On Thu, May 24, 2012 at 12:35 PM, Matt F <mfan2006@gmail.com> wrote:

> Do I _have_ to use a module? I''m starting out with the very
basics. All I
> want to do is copy a single file. would this work with a class instead of a
> module? I''m starting to read your "Pro Puppet" book...
and on pg 20 modules
> are described as "an ADVANCED, portable..." keyword ADVANCED.


Hrm, we probably shouldn''t have described modules as advanced.
They''re
fundamental.

They''re also fairly lightweight.  You can just just take any class and
put
it inside of a manifest file that conforms to the conventions of module
organization and presto!  It''s a module.

The same thing applies with a static file.  You just put the file in the
right directory and presto!  It''s inside of a module.

-Jeff