]> gitweb.fluxo.info Git - puppet-ikiwiki.git/commitdiff
Adding cgi parameter to ikiwiki::instance
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 3 Oct 2013 17:09:18 +0000 (14:09 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 3 Oct 2013 17:09:18 +0000 (14:09 -0300)
manifests/instance.pp
templates/ikiwiki.setup.erb

index ac44fb2c5bd5e08f445ebded6ed4dc5d927caa8d..a0594651c421bdd36435c37a3ed062816f448dd0 100644 (file)
@@ -10,6 +10,7 @@ define ikiwiki::instance(
   $protocol                  = 'https',
   $owner                     = $name,
   $group                     = $name,
+  $cgi                       = '1',
 ) {
   case $ensure {
     'present': {
index 986eb3a471818e7daf0c0d8a025f4f4dfc6bdd64..75ceb49308539df700c060fca8a47fe622fca032 100644 (file)
@@ -62,7 +62,7 @@ use IkiWiki::Setup::Standard {
        wrappers => [
                {
                        # The cgi wrapper.
-                       cgi => 1,
+                       cgi => <%= cgi %>,
                        wrapper => "<%= scope.lookupvar('ikiwiki::sites_folder') %>/<%= name %>/ikiwiki/ikiwiki.cgi",
                        wrappermode => "06550",
       wrappergroup => "<%= scope.lookupvar('ikiwiki::www_user') %>",