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

append_env_path always triggered a state change #147

Open
cywjackson opened this issue Apr 28, 2016 · 1 comment
Open

append_env_path always triggered a state change #147

cywjackson opened this issue Apr 28, 2016 · 1 comment

Comments

@cywjackson
Copy link

i love the append_env_path feature , because it allows us no need to handle PATH via other obscure ways.
but using this feature always trigger the state change of the resource, because it always got executed. That's not good because we also like to use the notification feature on ark to notify the service that should be restarted (on change).

but we can't always be restarting the service especially when there is no change. this property should only be triggered the action when there is a change.

@cheeseplus
Copy link

Couldn't you just have an if condition after the property checking if the binary is already in the path? I think we could probably make that better but this should be solvable in your wrapper cookbook.

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

No branches or pull requests

4 participants