aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" ]: