Avi Miller wrote:
> Hey gang,
>
> I'm using the latest Puppet/Augeas RPMs from EPEL testing:
>
> puppet-0.24.8-1.el5.1
> augeas-0.4.2-1.el5
> augeas-libs-0.4.2-1.el5
>
> I have the following in my Puppet manifest:
>
> augeas { "rpm":
> context => "/etc/logrotate.d/rpm",
> changes => [ "set rule/create/mode 0640",
> "set rule/create/owner root",
> "set rule/create/group root" ],
> }
One augeas nuance that makes it way up into puppet.... all files in
augeas are stored under /files. So.. you should write your command as below:
augeas { "rpm":
context => "/files/etc/logrotate.d/rpm",
changes => [ "set rule/create/mode 0640",
"set rule/create/owner root",
"set rule/create/group root" ],
}
Try that and let me know if it works.
-- bk
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---