aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-19 22:17:13 +0000
committerMichael Scherer <misc@mageia.org>2012-03-19 22:17:13 +0000
commitb201a7db8051b8c8a2a033b4163a5dd0ad1dda08 (patch)
tree99844615ad5f360bd63d1e7b5dd498f510df1c0d
parentbb5299c5d01e12d007dbbfe273b9411111c1ec2c (diff)
downloadpuppet-b201a7db8051b8c8a2a033b4163a5dd0ad1dda08.tar
puppet-b201a7db8051b8c8a2a033b4163a5dd0ad1dda08.tar.gz
puppet-b201a7db8051b8c8a2a033b4163a5dd0ad1dda08.tar.bz2
puppet-b201a7db8051b8c8a2a033b4163a5dd0ad1dda08.tar.xz
puppet-b201a7db8051b8c8a2a033b4163a5dd0ad1dda08.zip
clean the module ssmtp
-rw-r--r--modules/ssmtp/manifests/init.pp12
1 files changed, 3 insertions, 9 deletions
diff --git a/modules/ssmtp/manifests/init.pp b/modules/ssmtp/manifests/init.pp
index 922a451e..fa4b94d2 100644
--- a/modules/ssmtp/manifests/init.pp
+++ b/modules/ssmtp/manifests/init.pp
@@ -1,13 +1,7 @@
class ssmtp {
- package { ssmtp:
- ensure => installed,
- }
+ package { 'ssmtp': }
- file { "ssmtp.conf":
- path => "/etc/ssmtp/ssmtp.conf",
- owner => root,
- group => root,
- mode => 644,
- content => template("ssmtp/ssmtp.conf")
+ file { '/etc/ssmtp/ssmtp.conf':
+ content => template('ssmtp/ssmtp.conf')
}
}