Archive | Configuration Management RSS feed for this section

Re-generate Nagios_service target-files

Some time ago I ran into the the problem that when having a Puppet configuration like this Nagios_service <<| |>> { target => "${baseconfigdir}/${conf_file_srvs}", } which is about collecting all stored configurations of type nagios_service, this works pretty well when executed for the first time. However, every subsequent Puppet run will not regenerate the target […]

Read full story Comments { 0 }

Synchronizing configuration files with Puppet and Subversion

The concrete reason for writing this post was a particular problem we had when we set up a new Linux cluster for hosting our Subversion and Maven repositories. For Maven, we have Nexus to manage the repository and artifacts, for Subversion we have Collabnet Subversion. The challenge for both was to keep their configuration files […]

Read full story Comments { 0 }

Removing Hosts from Stored Configurations

Once a host which has been integrated into Puppet along with stored configurations is removed again from Puppet, it has to be removed from the MySQL database which holds the data of the stored configurations as well. There’s no automatic deletion. This is not a big issue, but it might be interesting for those not […]

Read full story Comments { 0 }

Recognize Puppet Managed Files – Part 1

On Puppet managed systems it might be interesting and sometimes even important to know, if a file is managed by Puppet, because manual changes will be overridden next time Puppet executes. There are some exceptions from this behavior, e.g. files below /var/spool/cron still allow manual changes. In any case, it would be nice to know […]

Read full story Comments { 0 }

Monitoring Puppet – Part 3

Ever been concerned about the health of your Puppet agents? You know they are executing, but you don’t know if execution is successful? I’d like to show how to achieve this by monitoring the syslog of the Puppet machines. In case any errors occur during Puppet’s execution, the appropriate error messages will be logged to […]

Read full story Comments { 0 }