Tag Archives | Puppet

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 }

Recognize Puppet Managed Files – Part 2

In the first part I’ve described the basic usage and the installation with Puppet of Chris Jones’ TangledStrings plugin for vim. You may want to refer to this post before; it’s found here: Recognize Puppet Managed Files – Part 1. Now this article is about a different way of installing the plugin with Puppet. The […]

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 }