problem/regression update cfengine 3.18 to 3.20
thierry thunot <[email protected]>
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <[email protected]> |
problem update cfengine 3.18 to 3.20
Hello everyone,
I tell you my problem
I have a cfengine installation that works in multi environment with this
structure:
promise.cf
regles_controle_acces.cf
def.json
and multi environment directory
everything works perfectly with 3.18
when upgrading to 3.20 either at client level or at server and client
level, I get this error
the error is :
....
error: Bundle 'regles_controle_acces' listed in the bundlesequence is
not a defined bundle
error: Fatal CFEngine error: Errors in promise bundles: could not verify
bundlesequence
....
Part of my file promises.cf
....
body common control
# @brief Control options common to all agents
{
bundlesequence => {
# Common bundle first (Best Practice)
inventory_control,
@(inventory.bundles),
def,
@(cfengine_enterprise_hub_ha.classification_bundles),
# Custom classification
@(def.bundlesequence_classification),
# autorun system
services_autorun,
@(services_autorun.bundles),
# Agent bundle
cfe_internal_management, # See
cfe_internal/CFE_cfengine.cf
main,
@(cfengine_enterprise_hub_ha.management_bundles),
@(def.bundlesequence_end),
#Configuration multi-environnements
"regles_controle_acces",
"environnements",
"env_main",
........
};
inputs => {
# User policy init, for example for defining
custom promise types:
"services/init.cf",
# File definition for global variables and classes
@(cfengine_controls.def_inputs),
# Inventory policy
@(inventory.inputs),
# CFEngine internal policy for the management of CFEngine
itself
@(cfe_internal_inputs.inputs),
# Control body for all CFEngine robot agents
@(cfengine_controls.inputs),
# COPBL/Custom libraries. Eventually this should use
wildcards.
@(cfengine_stdlib.inputs),
# autorun system
@(services_autorun.inputs),
"services/main.cf",
#Multi-environnements
"regles_controle_acces.cf",
"env_$(environnements.groupe)/env_promises.cf",
@(environnements.cf_files),
.........
};
Part of my file regles_controle_acces.cf :
bundle server regles_controle_acces
{
vars:
"clef_acceptees_dir_personnalisation" slist =>
getvalues("def.dir_personnalisation_acces[admit_ips]" );
"clef_acceptees_pc_prod_tthunot" slist =>
getvalues("def.env_pc_tthunot_prod_acces[admit_keys]" );
"clef_acceptees_pc_preprod_tthunot" slist =>
getvalues("def.env_pc_tthunot_preprod_acces[admit_keys]" );
......
access:
any::
"$(def.dir_personnalisation[path])"
handle => "$(def.dir_personnalisation[handle])",
shortcut => "$(def.dir_personnalisation[shortcut])",
comment => "$(def.dir_personnalisation[comment])",
admit_ips => { "@(clef_acceptees_dir_personnalisation)"};
"$(def.env_pc_tthunot_preprod_acces[path])"
handle => "$(def.env_pc_tthunot_preprod_acces[handle])",
shortcut => "$(def.env_pc_tthunot_preprod_acces[shortcut])",
comment => "$(def.env_pc_tthunot_preprod_acces[comment])",
admit_keys => { "@(clef_acceptees_pc_preprod_tthunot)"};
.......
}
I repeat everything works fine in 3.18
thanks a lot for your help
--
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/4eb5f5ca-c9b3-4a14-a188-ef211cfa005bn%40googlegroups.com.