Tech

Puppet Syntax Highlighting

To get nicely formatted Puppet code in your blog like the following: class test1 { file => "/tmp/test": ensure => present, owner => "chris", require => Package["test1"], } } 1) Install the WP-GeSHi-Highlight plugin in your word press 2) Find Read more…

By chris, ago
Tech

Puppet source file trick

The source parameter in the file type can take an array and will match on the first file present. I find this useful for overriding configs for specific hosts without having to change any puppet code. Puppet will search first Read more…

By chris, ago