Le 08/02/2010 12:53, Frédéric LE FOLL a écrit : > Hello, > > I have a "Body type mismatch" when I want to use package_method > "update". It happens when promises also contain a "bundle agent update" > and a "body agent update". > > The connection between the bundles names and valid package_method values > (add,delete,reinstall,update,patch,verify) is not clear to me. > > It can be reproduced with package_method "add" too : just try to append > the lines below to unit_package_zipper.cf <http://unit_package_zipper.cf> : > > bundle agent add > { > reports: > dummy:: > "Hello"; > } > > body agent add > { > expireafter => "30"; > } > > (not even necessary to include bundle "add" in bundlesequence). > > Any suggestion ?
Hi, It looks like you may need unique names for body and bundle items, even if they are of the same type... Regards, Jonathan -- -------------------------------------------------------------- Jonathan Clarke - jonat...@phillipoux.net -------------------------------------------------------------- Ldap Synchronization Connector (LSC) - http://lsc-project.org -------------------------------------------------------------- _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine