]> gitweb.fluxo.info Git - puppet-ikiwiki.git/commitdiff
Example update
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 12 Apr 2013 00:35:34 +0000 (21:35 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 12 Apr 2013 00:35:34 +0000 (21:35 -0300)
README
manifests/init.pp

diff --git a/README b/README
index ff7040393358c7b35aa3e889e0963612277627c6..df88f37666e9bb763f5d877ce0570a0a9056da02 100644 (file)
--- 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":
index 08e4815b1107530413acd35294d660e4a7b63c7f..6fa41672ecb795d2a7a13148a456280de7312d04 100644 (file)
@@ -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" ]: