aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp13
1 files changed, 12 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 81c3a91..9111a5b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -121,8 +121,19 @@ class postfix(
include postfix::virtual_regexp
}
+ group { 'postfix':
+ ensure => present,
+ }
+
+ user { 'postfix':
+ ensure => present,
+ gid => 'postfix',
+ require => Group['postfix'],
+ }
+
package { 'postfix':
- ensure => installed,
+ ensure => installed,
+ require => [ Group['postfix'], User['postfix'], ],
}
if !defined(Package['mailx']) {