Entries Tagged with ‘linux mint’

During this blog post, I will show you how to edit the sshd_config file and restart sshd if necessary. For the sake of completeness and since this blog post is part of the comparison series “Cfengine 3 vs. Puppet”, I want to point you to the Cfengine 3 code snippet which does exactly the same. […]

(Continue reading…)

As you might be aware of, I am directly comparing all my previously 18 written Cfengine 3 code snippets with Puppet 2.x/3.x. This time a Puppet manifest will run a very simple shell command, similar to the Cfengine 3 version. Writing the Puppet manifest for running a shell command exec { "start_mysql": command => "/etc/init.d/mysql […]

(Continue reading…)

For this part of my comparison series “Cfengine 3 vs. Puppet” I upgraded my Linux Mint 12 to 13 and switched to Puppet 3.0.2. If you download and try my little code snippets I recommend to use at least Puppet 2.7.14 since this version is able to run the official apt module from Puppetlabs. While […]

(Continue reading…)

Welcome to the next part of my little blog entry series about comparing Cfengine 3 with Puppet. In this issue, we will write a Puppet manifest for mounting a NFS share. You can compare it directly to the Cfengine 3 code snippet if you click here. Writing the Puppet code snippet for mounting a NFS […]

(Continue reading…)

Part three of my little blog series “Cfengine 3 vs Puppet” shows several ways of how new packages can be installed with Puppet. Writing the Puppet manifest for installing new packages # There are multiple possibilities here, 3 of them are shown here # Possibility #1 # package { "slapd": ensure => "installed" } # […]

(Continue reading…)

Today I had more time to have a closer look at Cfengine 3. Since I am still using Cfengine 2 at work due to a company policy, I would like to gain more knowledge about the latest version of the configuration management tool in my spare time. One day I am hopefully able to port […]

(Continue reading…)

Although it is a very bad idea to directly run shell commands with Cfengine 3 (see here why), there might be a few situations where this is still the best attempt, e.g. when performing custom maintenance work which really can not be done by Cfengine 3. Writing the Cfengine 3 code body common control { […]

(Continue reading…)

For some strange reason I still have the motivation to look at the “new” Cfengine 3. While I covered editing files and checking for running services in the last posts, I will try to do some very basic package management with Cfengine 3 today. Writing the script body common control { version => "1.0"; inputs […]

(Continue reading…)