diff options
-rw-r--r-- | manifests/ikiwiki/packages.pp | 5 | ||||
-rw-r--r-- | manifests/init.pp | 10 |
2 files changed, 6 insertions, 9 deletions
diff --git a/manifests/ikiwiki/packages.pp b/manifests/ikiwiki/packages.pp new file mode 100644 index 0000000..3669048 --- /dev/null +++ b/manifests/ikiwiki/packages.pp @@ -0,0 +1,5 @@ +class ikiwiki::packages { + package { [ "ikiwiki", "po4a" ]: + ensure => installed, + } +} diff --git a/manifests/init.pp b/manifests/init.pp index 15276de..7831645 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -4,15 +4,7 @@ class ikiwiki( $git_implementation = 'git', $git_folder = '/var/git/repositories' ) { - package { [ "ikiwiki", "po4a" ]: - ensure => installed, - } - - # Search support - # http://ikiwiki.info/plugins/search/ - package { [ 'libsearch-xapian-perl', 'libdigest-sha-perl', 'libhtml-scrubber-perl', 'xapian-omega' ]: - ensure => present, - } + class { [ 'ikiwiki::packages', 'ikiwiki::packages::search' ]: } file { "/usr/local/sbin/ikiwiki-deploy": ensure => present, |