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 #8805: Copy initial-ncf in rudder agent reset #82

Conversation

peckpeck
Copy link
Member

@peckpeck peckpeck commented Aug 3, 2016

# - restore initial ncf
rm -rf /var/rudder/ncf/common/*
rm -rf /var/rudder/ncf/local/*
cp -r /opt/rudder/share/initial-ncf/* /var/rudder/ncf/common/
Copy link
Member

Choose a reason for hiding this comment

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

We'll need to restore a standard ncf.conf file too.

Copy link
Member Author

Choose a reason for hiding this comment

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

isn't the standard ncf.conf already included in the ncf tree/ directory ?

Copy link
Member

Choose a reason for hiding this comment

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

Standard, yes. But standard for use with CFEngine (port 5308, _log_default), not with Rudder. See Normation/rudder-packages#1001.

@Normation-Quality-Assistant

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 31c0785 into Normation:master Aug 4, 2016
@peckpeck peckpeck deleted the bug_8805/copy_initial_ncf_in_rudder_agent_reset branch July 13, 2020 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants