Forum: Cfengine Help Subject: Re: Cfengine Help: Hard classes vs defined classes ? Author: jean_luc Link to topic: https://cfengine.com/forum/read.php?3,21346,21348#msg-21348
Unfortunatelly it doesn't work either. And if I do: masterfiles # cf-agent -Dcentral_system -f ./p2.cf -I -K Bundle "update" listed in the bundlesequence is not a defined bundle Bundle "garbage_collection" listed in the bundlesequence is not a defined bundle Bundle "main" listed in the bundlesequence is not a defined bundle Bundle "cfengine" listed in the bundlesequence is not a defined bundle Fatal cfengine error: Errors in promise bundles cf-agent was not able to get confirmation of promises from cf-promises, so going to failsafe So - cf-promises generates error and not cf-agent ! but if I change to hard class like "linux_x86_64_2_6_28_hardened_r9v4" it works. What is even worse - if I change configuration like this: linux_x86_64_2_6_28_hardened_r9v4|ubuntu_sample:: inputs => { "update.cf", "site.cf", "cfengine_stdlib.cf", "my_libs.cf", "populate_keys_ssh.cf", "tmp_cleaner.cf" }; central_system:: inputs => { "update.cf", "site.cf", "cfengine_stdlib.cf", "my_libs.cf", "populate_keys_ssh.cf", "hosts/central_systems/promises.cf" }; Then i get: masterfiles # cf-agent -Dcentral_system -f ./p2.cf -I -K community>:./p2.cf:72,20: Redefinition of input list (broken promise), near token '}' I looks like spell checking doesn't see defined classes but the agent sees it. I guess this is my lack of knowledge - sorry for this :-) Brgds, Paul _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine