Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add (un)silence_nagios and command actions to the nagios module #2272

Merged
merged 1 commit into from Mar 11, 2013

Conversation

skvidal
Copy link
Contributor

@skvidal skvidal commented Mar 2, 2013

also fix a typo with the check_mode check

this just adds a raw command action, changes the default requirements for running an action and fixes up the notification formatting for the above.

also fix a typo with the check_mode check
@skvidal
Copy link
Contributor Author

skvidal commented Mar 2, 2013

I'd also like to loop @tbielawa into this for review since he wrote the original one.

@tbielawa
Copy link
Contributor

tbielawa commented Mar 2, 2013

Will check this out this weekend.

@tbielawa
Copy link
Contributor

tbielawa commented Mar 2, 2013

Doc string says command is required: true but AnsibleModule says command=dict(required=False, default=None),

@tbielawa
Copy link
Contributor

tbielawa commented Mar 2, 2013

I can confirm that silence_nagios and unsilence_nagios work as advertised!

@tbielawa
Copy link
Contributor

tbielawa commented Mar 2, 2013

I can confirm that the command action works as advertised.

+1 once the documentation typo is corrected.

@mpdehaan
Copy link
Contributor

mpdehaan commented Mar 2, 2013

is there a pull request to fix the docs?

On Sat, Mar 2, 2013 at 3:36 PM, tbielawa notifications@github.com wrote:

I can confirm that the command action works as advertised.

+1 once the documentation typo is corrected.


Reply to this email directly or view it on GitHubhttps://github.com//pull/2272#issuecomment-14335188
.

@skvidal
Copy link
Contributor Author

skvidal commented Mar 4, 2013

command is required if action=command.

it can't be required in the command dict() b/c it is not required in EVERY case.

Same as host is not required for silence_nagios but it is for every other action.

How should this be fixed?

@mpdehaan
Copy link
Contributor

mpdehaan commented Mar 4, 2013

Is there actually a problem? I'm deferring to you guys here :)

@mpdehaan
Copy link
Contributor

cricket.

@skvidal @tbielawa -- you guys agree this is good to merge or is something still outstanding?

Thanks!

@tbielawa
Copy link
Contributor

Ship it
On Mar 10, 2013 6:39 PM, "Michael DeHaan" notifications@github.com wrote:

cricket.

@skvidal https://github.com/skvidal @tbielawahttps://github.com/tbielawa-- you guys agree this is good to merge or is something still outstanding?

Thanks!


Reply to this email directly or view it on GitHubhttps://github.com//pull/2272#issuecomment-14691076
.

mpdehaan added a commit that referenced this pull request Mar 11, 2013
add (un)silence_nagios and command actions to the nagios module
@mpdehaan mpdehaan merged commit 8c212ac into ansible:devel Mar 11, 2013
@mpdehaan
Copy link
Contributor

go-go-gadget-merge-button

merged, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants