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

Fully-qualified path to 'test' executable #90

Merged
merged 2 commits into from Sep 4, 2015

Conversation

drewhemm
Copy link
Contributor

@drewhemm drewhemm commented Sep 4, 2015

No description provided.

@@ -2,7 +2,7 @@
exec { 'supervisor::update':
command => '/usr/bin/supervisorctl update',
logoutput => on_failure,
onlyif => "test -f ${supervisor::unix_server_file}",
onlyif => "/usr/bin/test -f ${supervisor::unix_server_file}",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would probably be better as:

onlyif => "/usr/bin/env test -f ${supervisor::unix_server_file}",

@plathrop
Copy link
Owner

plathrop commented Sep 4, 2015

👍 could be improved, but happy with it as-is too. Let me know if you want me to merge as-is or if you want to update it.

@drewhemm
Copy link
Contributor Author

drewhemm commented Sep 4, 2015

I've made the change you suggested and it works fine!

@plathrop
Copy link
Owner

plathrop commented Sep 4, 2015

Awesome.

Merging.

plathrop added a commit that referenced this pull request Sep 4, 2015
Fully-qualified path to 'test' executable
@plathrop plathrop merged commit 3e548e7 into plathrop:master Sep 4, 2015
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