On Monday, January 20, 2014 8:25:18 AM UTC-6, Muhammad Yousuf Khan wrote: > > hello guys, > > i am new to puppet and few days back have installed motd module for > testing this is my first module working great however i just see too many > change messages since the day motd module has installed. > this is what i see in all the messages > this message showed up as CHANGE in every agent run. on both puppet server > and puppet client. > notice content changed '{md5}2efaxxxxxxxxxxb992815fe4852f6912' to > '{md5}9f5xxxxxxxxxxxx0436d1a3836baa8b' > /Stage[main]/Motd/File[/etc/motd]/content > /etc/puppetlabs/puppet/modules/motd/manifests/init.pp > > i have made some changes in below init.pp file. > /etc/puppetlabs/puppet/modules/motd/manifests/init.pp > > do you guys think all those change event logs are fine? > >
Probably not. You don't seem to grasp what Felix is trying to tell you: the log shows Puppet modifying one of the manifest files that describe to it the target state of your nodes. That's surely not the responsibility of a motd module, and it would be a highly suspect behavior in *any* module. I have never heard a good use case for Puppet managing its own manifests, and if there is one then it is by no means something a Puppet newbie should be playing with. The only file a well-made motd module should manage is /etc/motd. As for frequency of change messages, you will get such messages in the log every time Puppet changes something. If it changes a given file every run, then you will get such messages every run. One of the traps that folks sometimes fall into is putting a dynamic modification timestamp in managed file content. That causes the file to be modified on every run, if only to update the timestamp. If you post you 'motd' class then we will have something concrete to talk about. 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/74e16f8e-c58b-4168-ae9a-76ec8f7da310%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.