Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Won't Do
-
None
-
None
-
None
-
Platform OS
-
2
-
Reviewed
Description
Coming from a discussion at https://groups.google.com/forum/#!msg/puppet-users/-N3z97DR63c/CMFZu4Uw7JYJ :
I'm sending a refresh event to a class containing this declaration.....
service { ['Sentinel RMS License Manager', 'Micro Focus XDB Server for ETD 2.2', 'Micro Focus CES daemon']:
|
ensure => 'running',
|
enable => 'true',
|
}
|
This results in the follow Windows error embedded in the puppet debug output.....
Error: /Stage[main]/somewhere::Init2/Service[Sentinel RMS License Manager]: Cannot stop Sentinel RMS License Manager, error was: Execution of 'C:/Windows/system32/net.exe stop Sentinel RMS License Manager' returned 4294967295: The following services are dependent on the Sentinel RMS License Manager service.
|
Stopping the Sentinel RMS License Manager service will also stop these services.
|
|
Micro Focus CES daemon
|
|
Do you want to continue this operation? (Y/N) [N]:
|
No valid response was provided.
|
i.e. To refresh the License Manager, I also need to refresh "Micro Focus CES daemon"
I suppose chaining each service in turn ensure => stopped, then chaining each again ensure => running would do the trick. Bit messy however.