diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2010-11-10 14:34:31 +0000 |
---|---|---|
committer | Dexter Morgan <dmorgan@mageia.org> | 2010-11-10 14:34:31 +0000 |
commit | 925fe078ff9025fc97a5af31a4aea9c7ab4f52c9 (patch) | |
tree | 9318fb8d103544100b05ac43606b05d3a92b65f3 /modules/sympa/manifests | |
parent | 7f46ba75254d6dc9729230551a9810cbdd9a7dd2 (diff) | |
download | puppet-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.pp | 20 |
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") + } + +} + |