Forum: CFEngine Help Subject: bootstrapping Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,23528,23528#msg-23528
I've been experimenting with bootstrapping on the latest 3.2.0. There are some assumptions made by this process. I'm wording how others handle this. This process assumes that inputs reside exactly here: /var/cfengine/masterfiles/failsafe.cf /var/cfengine/masterfiles/promises.cf In fact if you run the bootstrap a recursive copy of /var/cfengine/masterfiles to the client's /var/cfengine/inputs directory occurs. Alas most masterfiles I see have more complicated masterfiles trees such that inputs is not at the top level. In my example I have this: /var/cfengine/masterfiles/config/trunk/inputs /var/cfengine/masterfiles/config/trunk/mail/ /var/cfengine/masterfiles/config/trunk/modules/ ... The bootstrap turns /var/cfengine/inputs into /var/cfengine/inputs/config/. I tried coping failsafe.cf to the top of masterfiles. Then I run into the cf_promises_validated logic. Since that file was copied in the first bootstrap run any further fail safe runs will do nothing because this file is up to date. So my bootstrapping fails unless I manually intervene by deleting cf_promises_validated. I am curious to hear what other people have done with bootstrapping. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine