Forum: Cfengine Help
Subject: What does --bootstrap do?
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,21707,21707#msg-21707

I'm looking at the cf-agent output (in the community edition), and there's both 
--bootstrap and --policy-server options.  The --help description doesn't give 
me a real solid grasp of what those options *actually* do, and I've had poor 
luck finding an explanation.  I mean, I know what the word "bootstrap" means, 
and I see some examples (mostly Nova) saying to use them -  but what do they 
actually *do*?

My "new client" setup is a script that installs the cfengine package 
appropriate to the architecture.  The script also put in place a basic 
failsafe.cf which has the information neccesary to download the "real" config 
from a policy server, and also has the trustkeys option set in the copy.  I 
then just run cf-agent -IK three times; the first one trusts the key and gets 
the current config, and the second run uses the newly-downloaded config to 
bring teh config up to speed (there are things downloaded in the production 
config which aren't in the "initial" failsafe), and the third run is 
essentially the first "real" run with the final config in place.

I'm hoping that a better understanding of what the --bootstrap and 
--policy-server options do can help me better assess if there's anything I can 
be doing to further simplify the install process.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to