Skip to content
Snippets Groups Projects
Commit f27cab5b authored by Issey Llambias's avatar Issey Llambias
Browse files

Add enable, hasstatus and restart command to postfix service in postfix.pp classe.

parent 1b4bd5d3
Branches
Tags
No related merge requests found
...@@ -72,6 +72,9 @@ class postfix { ...@@ -72,6 +72,9 @@ class postfix {
service { "postfix": service { "postfix":
ensure => running, ensure => running,
enable => true,
hasstatus => true,
restart => "/etc/init.d/postfix reload",
require => Package["postfix"], require => Package["postfix"],
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment