From 79406c94730a346d269e792751ddd7ca8b3a4da1 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 17 May 2008 11:07:44 +0000 Subject: added a first readme version, made munin stuff optional --- README | 22 ++++++++++++++++++++++ manifests/init.pp | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..120e06d --- /dev/null +++ b/README @@ -0,0 +1,22 @@ +puppet module apache +==================== + +written by immerda project group +admin+puppet(at)immerda.ch + +adapted by Puzzle ITC +haerry+puppet(at)puzzle.ch + +original idea by David Schmitt + + +License: GPLv3 + +################################### + +This module tries to manage apache on different distros in a +similar manner. a few additional directories have to be +created as well some configuration files have to be deployed +to fit this schema. + +Vhosts can be added diff --git a/manifests/init.pp b/manifests/init.pp index 240ffaf..da2fb96 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -17,6 +17,9 @@ class apache { if $selinux { include apache::selinux } + if $use_munin { + include apache::status + } } class apache::base { @@ -59,7 +62,6 @@ class apache::base { require => Package[apache], content => template('apache/default/default_index.erb'), } - include apache::status } ### distro specific stuff -- cgit v1.2.3