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 your geshi directory

find /usr -name systemverilog.php

3) Down load the puppet.php syntax file to the same directory


4) To use add the following tag before your puppet code
<pre lang=”puppet”>
and close with

Categories: Tech