Do not define service resource when service management is disabled
Change-Id: Ia99f99aef9d2f77dd7e57d3256de879267a4da01
This commit is contained in:
parent
538f6d5237
commit
8fcf75c906
@ -77,14 +77,14 @@ define trove::generic_service(
|
||||
} else {
|
||||
$service_ensure = 'stopped'
|
||||
}
|
||||
}
|
||||
|
||||
service { $trove_title:
|
||||
ensure => $service_ensure,
|
||||
name => $service_name,
|
||||
enable => $enabled,
|
||||
hasstatus => true,
|
||||
tag => 'trove-service',
|
||||
service { $trove_title:
|
||||
ensure => $service_ensure,
|
||||
name => $service_name,
|
||||
enable => $enabled,
|
||||
hasstatus => true,
|
||||
tag => 'trove-service',
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user