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 optional arguments to sensu_check provider. Set sane defaults. #43

Merged
merged 5 commits into from Mar 9, 2013
Merged

Add optional arguments to sensu_check provider. Set sane defaults. #43

merged 5 commits into from Mar 9, 2013

Conversation

phobos182
Copy link

First run of a new sensu check will not set all arguments due to them being missing on the 'create' method. The next run they will be added as optional parameters.

Changed this to check for 'undef' in the create method. If found, it will set them on the first run.

Changed the sensu_check manifest to have Aggregate / Standalone default to undef.

jamtur01 added a commit that referenced this pull request Mar 9, 2013
Add optional arguments to sensu_check provider. Set sane defaults.
@jamtur01 jamtur01 merged commit d623b7a into sensu:master Mar 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants