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

Fixes #3997 - Add backup of /etc/{init.d,default}/rudder-agent in preinst and restore action in check-rudder-agent cron file #137

Merged
merged 2 commits into from
Oct 5, 2013
Merged

Fixes #3997 - Add backup of /etc/{init.d,default}/rudder-agent in preinst and restore action in check-rudder-agent cron file #137

merged 2 commits into from
Oct 5, 2013

Conversation

nperron
Copy link
Contributor

@nperron nperron commented Oct 4, 2013

Fixes #3997 - Add backup of /etc/{init.d,default}/rudder-agent in preinst and restore action in check-rudder-agent cron file

See http://www.rudder-project.org/redmine/issues/3997

Nicolas Perron added 2 commits October 4, 2013 23:31
…er-agent in preinst and restore action in check-rudder-agent cron file"

This reverts commit 63978b9.
…inst and restore action in check-rudder-agent cron file
@jooooooon
Copy link
Member

I don't understand, why are you removing cron from this? Please explain.

@nperron
Copy link
Contributor Author

nperron commented Oct 4, 2013

I don't understand, why are you removing cron from this? Please explain.

As explained in http://www.rudder-project.org/redmine/issues/3995#note-8, on branch 2.4 the cron file is not yet /etc/cron.d/rudder-agent but /etc/crontab. Then, the preinst of rudder-agent and the script check-rudder-agent will fail

@jooooooon
Copy link
Member

OK, but there is absolutely no mention of this in http://www.rudder-project.org/redmine/issues/3997, which is what this PR is linked against. How do you expect me to figure this out? Please explain yourself.

This PR is OK for me then, but make sure to do a change against 2.6+ for the cron.d file.

nperron pushed a commit that referenced this pull request Oct 5, 2013
…ng_init_and_default_of_rudder_agent

Fixes #3997 - Add backup of /etc/{init.d,default}/rudder-agent in preinst and restore action in check-rudder-agent cron file
@nperron nperron merged commit 796dc68 into Normation:branches/rudder/2.4 Oct 5, 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
2 participants