Ask Your Question
0

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 -0500

surya gravatar image

I an trying to stop a websphere jvm using exec resource ,but before that i want to verify the status using serversetatus.sh 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
1

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

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

Stats

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

Seen: 12 times

Last updated: Dec 21 '16