Forum: CFEngine Help Subject: How to Building bundlesequence? Author: marc Link to topic: https://cfengine.com/forum/read.php?3,22882,22882#msg-22882
Hi(again) How do I build a bundlesequence, based on promises. E.g. if I want something like this: bundle common g { any:: "default_bundle_seq" slist => {"g_host","g_classes","g","update","server_state"}; redhat:: "rhel_bundle" slist => {"rhel_1","rhel_2"}; mail_servers:: "mailserver_bundle" slist => {"mail_1","mail_2"}; any:: "bundles_2_load" slist => {@(default_bundle_seq),@(rhel_bundle),@(mailserver_bundle)}; } body common control { bundlesequence => { "@(g.bundle_2_load)" }; } This will not work. Because if it is not a redhat server, it will try to load bundle "@(rhel_bundle)". Obvious there is no bundle "@(rhel_bundle)". There must be a easy way to do this. I just can't see it :-( _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine