nagios: Fixed starting nagios service if stopped.
This commit is contained in:
parent
91a63240bd
commit
9c2f621ef9
1 changed files with 4 additions and 3 deletions
|
@ -84,9 +84,10 @@ class nagios::server::manual inherits nagios::common {
|
|||
}
|
||||
|
||||
service { "nagios":
|
||||
name => $service,
|
||||
ensure => running,
|
||||
enable => true,
|
||||
name => $service,
|
||||
ensure => running,
|
||||
enable => true,
|
||||
hasstatus => true,
|
||||
}
|
||||
|
||||
apache::configfile { "nagios.conf":
|
||||
|
|
Loading…
Add table
Reference in a new issue