Closed nikolavp closed 11 years ago
This exec
resource should probably depend on the package indeed.
If you don't need to typecheck your lenses, then it's even easier to not use augeas::lens
at all, since the augeas
type now supports pluginsync. Just drop your lens in lib/augeas/lenses
in the module your choice, and it will get synced even before the catalog is run.
Cool, didn't know about this. It might be a good idea to document that this is obsolete if we are using pluginsync(wasn't obvious to me)
Best, Nikola
I think it's documented in Puppet itself (the pluginsync part). That said, I keep using augeas::lens
because typechecking your lenses is a really good idea… if you deploy broken/incompatible lenses, Augeas might just get very angry ;-)
Hi,
I am struggling with the fact that you are checking the custom augeas in your module. This is giving me problem as I am not sure why but puppet want to execute this command before applying the augeas class.
I tried many things like
putting a require Class['augeas'] but they didn't work. I am always getting
This is an ubuntu server with puppet 3. It seems the problem is that puppet is trying to execute the resource before there is an augparse command.
Please provide a way to not check the custom lens(I just commented out the section and it worked)