Project

General

Profile

Actions

Bug #16318

closed

At install agents are not printing anymore the mandatory configuration to do

Added by Félix DALLIDET over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Before 6.0 we had this which was printed when no policy_server was given:

   echo "********************************************************************************" 
-  echo "rudder-agent has been installed (not started). This host can be a Rudder node." 
-  echo "To get started, configure your Rudder server's hostname and launch the agent:" 
-  echo "# echo 'rudder.server' > ${CFE_DIR}/policy_server.dat" 
-  echo "# rudder agent start" 
-  echo "This node will then appear in the Rudder web interface under 'Accept new nodes'." 
+  echo "rudder-agent has been updated, but was not started as it is disabled." 
+  echo "To enable and start Rudder agent:" 
+  echo "# rudder agent enable -s" 
   echo "********************************************************************************" 

Now, the first part should be done by rudder agent check. BUT, we are putting "rudder" as policy server earlier in the script. So when the rudder agent check is run,
there is ALWAYS a policy server define and the message is never prompted.

Actions

Also available in: Atom PDF