Adding this for informational purposes.
This problem was related to the one I posted in another thread. The fix is
below.
Blank the file.
# cp /dev/null /var/lib/puppet/state/state.yaml
Run the agent.
# /opt/puppet/bin/puppet agent --test
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/ensure: audit change:
newly-recorded value file
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/content: audit change:
newly-recorded value {md5}e08b47228d3d97a3dbe2004d821500b2
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/target: audit change:
newly-recorded value notlink
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/owner: audit change:
newly-recorded value 0
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/group: audit change:
newly-recorded value 3
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/mode: audit change:
newly-recorded value 644
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/type: audit change:
newly-recorded value file
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/seluser: audit change:
newly-recorded value
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/selrole: audit change:
newly-recorded value
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/seltype: audit change:
newly-recorded value
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/selrange: audit change:
newly-recorded value
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/*ctime*: audit change:
newly-recorded value Thu Jul 24 03:10:00 -0700 2014
notice: /Stage[main]/Solaris/File[/etc/logadm.conf]/*mtime*: audit change:
newly-recorded value Thu Jul 24 03:10:00 -0700 2014
Lun.
On Wed, Jul 23, 2014 at 3:44 PM, Lunixer <[email protected]> wrote:
> Greetings,
>
> I have an entry for a file in a puppet manifest that checks file
> properties.
>
> /etc/puppet/modules/Linux/manifests/init.pp
> file {"/etc/ld.so.conf": mode=>"644", owner=>"root", group=>"root",
> checksum=>"md5", audit=>all; }
>
> An admin patched the server and several file checksums changed. Now the
> puppet client keeps sending messages like the one below.
>
> Tue Jul 22 20:25:15 -0700 2014
> /Stage[main]/Linux/File[/etc/ld.so.conf]/ctime (notice): audit change:
> previously recorded value Wed Aug 21 14:52:17 -0700 2013 has been changed
> to Tue Jul 22 20:25:10 -0700 2014
>
> I was just given this task to solve but don't have much puppet knowledge.
> I could not find much information by searching the web except for some bug
> related threads.
> Could you advice me how to fix that?
>
>
> --
>
> thanks,
> [ Lunixer ]
>
--
thanks,
[ Lunixer ]
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/CACZbbm5G-TWV%3D1oB6q_tT2kvivnh7X13uYyZ%3Dnuu37nZDMisYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.