Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Looking for ideas on people's config Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19114,19117#msg-19117
###################### bundle common gclass { classes: "b1" or => { "unxxhd01", "sterlz01" }; } body common control { b1:: bundlesequence => { "test" }; inputs => { "cfengine_stdlib.cf" }; } bundle common agent { classes: "all" expression => "any"; } bundle agent test { classes: "rand" dist => { "2", "3", "5" }; reports: rand_2:: "There is a 2 in 10 chance of classs rand_2 being defined"; rand_3:: "There is a 3 in 10 chance of classs rand_3 being defined"; rand_5:: "There is a 5 in 10 chance of classs rand_5 being defined"; } cf3 Loaded persistent memory cf3 *********************************************************** cf3 -> No policy server (hub) watch yet registered cf3 Setting policy server requires version Nova or above cf3 > Verifying the syntax of the inputs... cf3 > Parsing file ./promises.cf cf3 Initiate variable convergence... cf3 -> Checking common class promises... cf3 ?> defining additional global class b1 cf3 -> Checking common class promises... ... cf3 -> Bundlesequence => {'test'} cf3 cf3 ***************************************************************** cf3 BUNDLE test cf3 ***************************************************************** cf3 cf3 cf3 ========================================================= cf3 classes in bundle test (1) cf3 ========================================================= cf3 cf3 Extended process options are only available with Cfengine Nova or above cf3 cf3 + Private classes augmented: cf3 + rand_5 cf3 + rand cf3 cf3 - Private classes diminished: _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine