aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-11 21:35:34 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-11 21:35:34 -0300
commitdeb0f9d2bb3efb6addfec6fa9f051abc9bd215ee (patch)
tree10c2d1c50cf308102f1bf27a62ef3e436c827791
parent86cd3ef1cccaa40f3aeb214d3a52050be97827b2 (diff)
downloadpuppet-ikiwiki-deb0f9d2bb3efb6addfec6fa9f051abc9bd215ee.tar.gz
puppet-ikiwiki-deb0f9d2bb3efb6addfec6fa9f051abc9bd215ee.tar.bz2
Example update
-rw-r--r--README7
-rw-r--r--manifests/init.pp2
2 files changed, 7 insertions, 2 deletions
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" ]: