aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-10-03 15:01:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-10-03 15:01:35 -0300
commitc2bb38ff5ad51794a7c53b6c11478022c0670677 (patch)
treed6cd4d23387265fb307bfc6d18cd7278eb8f83b1 /manifests
parent6872c12233cda9e6e58dceedbb118ea30c655c63 (diff)
downloadpuppet-ikiwiki-c2bb38ff5ad51794a7c53b6c11478022c0670677.tar.gz
puppet-ikiwiki-c2bb38ff5ad51794a7c53b6c11478022c0670677.tar.bz2
Adding discussion parameter and search support
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp6
-rw-r--r--manifests/instance.pp1
2 files changed, 7 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 6fa4167..8cef10e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -8,6 +8,12 @@ class ikiwiki(
ensure => installed,
}
+ # Search support
+ # http://ikiwiki.info/plugins/search/
+ package { [ 'libsearch-xapian-perl', 'libdigest-sha-perl', 'libhtml-scrubber-perl' ]:
+ ensure => present,
+ }
+
file { "/usr/local/sbin/ikiwiki-deploy":
ensure => present,
content => template('ikiwiki/deploy.sh.erb'),
diff --git a/manifests/instance.pp b/manifests/instance.pp
index a059465..c38084f 100644
--- a/manifests/instance.pp
+++ b/manifests/instance.pp
@@ -11,6 +11,7 @@ define ikiwiki::instance(
$owner = $name,
$group = $name,
$cgi = '1',
+ $discussion = '1',
) {
case $ensure {
'present': {