aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ssmtp/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ssmtp/manifests/init.pp')
-rw-r--r--modules/ssmtp/manifests/init.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/ssmtp/manifests/init.pp b/modules/ssmtp/manifests/init.pp
new file mode 100644
index 00000000..922a451e
--- /dev/null
+++ b/modules/ssmtp/manifests/init.pp
@@ -0,0 +1,13 @@
+class ssmtp {
+ package { ssmtp:
+ ensure => installed,
+ }
+
+ file { "ssmtp.conf":
+ path => "/etc/ssmtp/ssmtp.conf",
+ owner => root,
+ group => root,
+ mode => 644,
+ content => template("ssmtp/ssmtp.conf")
+ }
+}