diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-11 21:35:34 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-11 21:35:34 -0300 |
commit | deb0f9d2bb3efb6addfec6fa9f051abc9bd215ee (patch) | |
tree | 10c2d1c50cf308102f1bf27a62ef3e436c827791 | |
parent | 86cd3ef1cccaa40f3aeb214d3a52050be97827b2 (diff) | |
download | puppet-ikiwiki-deb0f9d2bb3efb6addfec6fa9f051abc9bd215ee.tar.gz puppet-ikiwiki-deb0f9d2bb3efb6addfec6fa9f051abc9bd215ee.tar.bz2 |
Example update
-rw-r--r-- | README | 7 | ||||
-rw-r--r-- | manifests/init.pp | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -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" ]: |