diff options
author | drebs <drebs@riseup.net> | 2010-01-26 11:03:59 -0200 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2010-01-26 11:03:59 -0200 |
commit | 047f247fc9683adee57ee3aefdfdc472d9131b46 (patch) | |
tree | 66bc48595914583ab080fc949e3e8fe7e9b10286 /manifests | |
download | puppet-pmwiki-047f247fc9683adee57ee3aefdfdc472d9131b46.tar.gz puppet-pmwiki-047f247fc9683adee57ee3aefdfdc472d9131b46.tar.bz2 |
Initial commit.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp new file mode 100644 index 0000000..eec5e96 --- /dev/null +++ b/manifests/init.pp @@ -0,0 +1,15 @@ +class pmwiki { + + case $apache_www_folder { + '': { fail("you need to define \$apache_www_folder for pmwiki module") } + } + + file { "/usr/local/sbin/pmwiki": + ensure => present, + content => template('pmwiki/pmwiki.sh.erb'), + owner => root, + group => root, + mode => 755, + } + +} |