From: Silvio Rhatto Date: Fri, 12 Apr 2013 00:35:34 +0000 (-0300) Subject: Example update X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=deb0f9d2bb3efb6addfec6fa9f051abc9bd215ee;p=puppet-ikiwiki.git Example update --- diff --git a/README b/README index ff70403..df88f37 100644 --- a/README +++ b/README @@ -28,7 +28,12 @@ Usage example ------------- # Declare the ikiwiki class - class { 'ikiwiki': } + class { 'ikiwiki': + www_user => 'www-data', + sites_folder => /var/www, + git_implementation => 'gitolite', + git_folder => '/var/lib/git', + } # Define your website using your http server module of choice. apache::site { "mywiki": diff --git a/manifests/init.pp b/manifests/init.pp index 08e4815..6fa4167 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,7 +1,7 @@ class ikiwiki( + $www_user = 'www-data', $sites_folder = '/var/sites', $git_implementation = 'gitolite', - $www_user = 'www-data', $git_folder = '/var/git/repositories' ) { package { [ "ikiwiki", "po4a" ]: