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

Fix dd-agent CLI on Linux #49

Merged
merged 1 commit into from
Sep 17, 2015
Merged

Conversation

elafarge
Copy link
Contributor

The /usr/bin{dd-agent,dogstatsd,dd-forwarder} commands haven't worked
anymore since... a big while. I suspect that this is due to a slight
variation in the behaviour of the extra_package_file between Omnibus 3
and Omnibus 4 but I didn't really have time to dig more into it.

This fix just moves the creation of these files to the postinst script
which fixes the issue in a rather simple way. These same files also get
deleted in the postrm script so that these commands simply don't exist
anymore after removing the agent.

The `/usr/bin/dd-agent command haven't worked
anymore since... a big while. I suspect that this is due to a slight
variation in the behaviour of the `extra_package_file` between Omnibus 3
and Omnibus 4 but didn't really have time to dig more into it.

This fix just moves the creation of this file to the `postinst` script
which fixes the issue in a rather simple way. This same file also get
deleted in the `postrm` script so that the `dd-agent` commands simply
don't exist anymore after removing the agent.
@elafarge elafarge force-pushed the etienne/fix-ddagent-and-consors-cli branch from f6ca883 to 9b9bdcf Compare September 17, 2015 20:43
@talwai
Copy link
Contributor

talwai commented Sep 17, 2015

👍

elafarge added a commit that referenced this pull request Sep 17, 2015
@elafarge elafarge merged commit 773c902 into master Sep 17, 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.

2 participants