diff --git a/sendmail/manifests/init.pp b/sendmail/manifests/init.pp index 83479b0..1bf514d 100644 --- a/sendmail/manifests/init.pp +++ b/sendmail/manifests/init.pp @@ -28,6 +28,10 @@ class sendmail::common { mode => "0644", notify => Service["sendmail"], } + $ostype = "linux" + } + "openbsd": { + $ostype = "openbsd" } } @@ -164,7 +168,6 @@ class sendmail::server inherits sendmail::common { File["/etc/sysconfig/sendmail"] { content => "DAEMON=yes\nQUEUE=1h\n", } - $ostype = "linux" # For Sendmail's OSTYPE macro } default: { fail("sendmail::server not supported in '${::operatingsystem}'")