Ask Your Question

how to stop websphere service from puppet ,i want to verify the status before i stop the service.

asked 2016-12-21 04:24:29 -0600

surya gravatar image

I an trying to stop a websphere jvm using exec resource ,but before that i want to verify the status using and run only if am getting grep value as stopped. i am able to achive first part but failing to validate condition.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-12-21 12:06:57 -0600

lupin gravatar image

The exec resource has unless and onlyif parameters that you can give a try.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-12-21 04:24:29 -0600

Seen: 30 times

Last updated: Dec 21 '16