Forum: CFEngine Help Subject: CFEngine 2.2 - shellcommand dependent on rpm successful install Author: peridot121 Link to topic: https://cfengine.com/forum/read.php?3,23545,23545#msg-23545
Hi, I need to run a shellcommand after an rpm is successfully installed. I have packages before shellcommands in the actionsequence. It seems to not work reliably. Sometimes it will run the command after the rpm is installed and sometimes it won't. Does this define a class if the rpm is already installed or after a successful install? Thanks for any help! The relevant configs: control: AddInstallable = ( rpminstalled ) packages: any:: rpm-name action=install define=rpminstalled shellcommands: rpminstalled:: "/usr/local/bin/somecommand.sh" useshell=true _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine