class ikiwiki( $sites_folder = '/var/sites', $git_implementation = 'gitolite', $www_user = 'www-data' ) { package { [ "ikiwiki", "po4a" ]: ensure => installed, } file { "/usr/local/sbin/ikiwiki-deploy": ensure => present, content => template('ikiwiki/deploy.sh.erb'), owner => root, group => root, mode => 755, } file { "/usr/local/sbin/ikiwiki-refresh": ensure => present, content => template('ikiwiki/refresh.sh.erb'), owner => root, group => root, mode => 755, } }