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 #10775: Run agent in rudder-setup install instead of inventory #303

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/rudder-setup/setup-agent.sh
Expand Up @@ -43,7 +43,7 @@ setup_agent() {
echo "${SERVER}" > /var/rudder/cfengine-community/policy_server.dat
if is_version_valid "${RUDDER_VERSION}" "[3.0 *]"
then
rudder agent inventory
rudder agent run
else
cf-agent -K -D force_inventory -b doInventory
fi
Expand Down Expand Up @@ -71,7 +71,7 @@ setup_relay() {

if is_version_valid "${RUDDER_VERSION}" "[3.0 *]"; then
${PM_INSTALL} rudder-server-relay
rudder agent inventory
rudder agent run
else
setup_relay_old
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/rudder-setup/setup-plugins.sh
Expand Up @@ -15,7 +15,7 @@ install_windows_plugin() {
cd server
if type rudder >/dev/null 2>&1
then
rudder agent inventory
rudder agent run
else
/var/rudder/cfengine-community/bin/cf-agent -KC -D force_inventory
fi
Expand Down