Entries Tagged with ‘run shell command’

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…)

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…)