Permalink
Browse files

postfix: added a couple of missing deps

  • Loading branch information...
1 parent ca0e551 commit dfc16f3a462756387fbb07f0097337ad7e9978b1 @mfournier mfournier committed Jul 21, 2009
Showing with 5 additions and 1 deletion.
  1. +3 −1 manifests/definitions/hash.pp
  2. +1 −0 manifests/definitions/transport.pp
  3. +1 −0 manifests/definitions/virtual.pp
@@ -3,6 +3,7 @@
ensure => $ensure,
mode => 600,
seltype => "postfix_etc_t",
+ require => Package["postfix"],
}
file {"${name}.db":
@@ -16,6 +17,7 @@
command => "postmap ${name}",
#creates => "${name}.db", # this prevents postmap from being run !
subscribe => File["${name}"],
- refreshonly => true
+ refreshonly => true,
+ require => Package["postfix"],
}
}
@@ -4,5 +4,6 @@
file => "/etc/postfix/transport",
line => "${name} ${destination}",
notify => Exec["generate /etc/postfix/transport.db"],
+ require => Package["postfix"],
}
}
@@ -4,5 +4,6 @@
file => "/etc/postfix/virtual",
line => "${name} ${destination}",
notify => Exec["generate /etc/postfix/virtual.db"],
+ require => Package["postfix"],
}
}

0 comments on commit dfc16f3

Please sign in to comment.