aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2010-11-10 14:34:31 +0000
committerDexter Morgan <dmorgan@mageia.org>2010-11-10 14:34:31 +0000
commit925fe078ff9025fc97a5af31a4aea9c7ab4f52c9 (patch)
tree9318fb8d103544100b05ac43606b05d3a92b65f3 /modules/sympa/manifests
parent7f46ba75254d6dc9729230551a9810cbdd9a7dd2 (diff)
downloadpuppet-925fe078ff9025fc97a5af31a4aea9c7ab4f52c9.tar
puppet-925fe078ff9025fc97a5af31a4aea9c7ab4f52c9.tar.gz
puppet-925fe078ff9025fc97a5af31a4aea9c7ab4f52c9.tar.bz2
puppet-925fe078ff9025fc97a5af31a4aea9c7ab4f52c9.tar.xz
puppet-925fe078ff9025fc97a5af31a4aea9c7ab4f52c9.zip
First commit for sympa module
Diffstat (limited to 'modules/sympa/manifests')
-rw-r--r--modules/sympa/manifests/init.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp
new file mode 100644
index 00000000..5534b862
--- /dev/null
+++ b/modules/sympa/manifests/init.pp
@@ -0,0 +1,20 @@
+class sympa {
+
+ $package_list = ['sympa', 'sympa-www']
+
+ package { $package_list:
+ ensure => installed;
+ }
+
+ $password = extlookup("sympa_password")
+
+ file { '/etc/sympa/sympa.conf':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 644,
+ content => template("sympa/sympa.conf")
+ }
+
+}
+