Forum: CFEngine Help Subject: Install "ntp" == "Try to install ntp.*!" Author: jblaine Link to topic: https://cfengine.com/forum/read.php?3,23598,23598#msg-23598
Who knew such a simple thing could be made so complex? I asked for the "ntp" package to be installed. CFEngine 3.2.0 is doing no such thing. If anyone has a clue and cares to share, I'd love to hear it. [ REDACTED 20 minutes of pounding on keyboard about this toolkit (not tool) ] bundle agent system_ntp_install { vars: redhat|centos:: "packagelist" slist => { "ntp" }; classes: any.!sunos_5_10:: "valid"; packages: valid.redhat|centos:: "$(packagelist)" package_policy => "add", package_method => yum, package_select => ">=", package_version => "0.1", handle => "ntp_package_installed"; cf3> -> Package version specified explicitly in promise body cf3> -> Looking for (ntp,*,*) cf3> No installed packages matched (ntp,*,*) cf3> -> Looking for (ntp,0.1,*) cf3> No installed packages matched (ntp,0.1,*) cf3> Checking if package (ntp,0.1,*) is at the desired state (installed=0,matched=0) cf3> -> Package promises to refer to itself as "ntp.*" to the manager cf3> !! Package name contians '*' -- perhaps a missing attribute (name/version/arch) should be specified cf3> -> Package version seems to match criteria cf3> -> Schedule package for addition cf3> -> Package (ntp.*,any,any) found cf3> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cf3> Offering these package-promise suggestions to the managers cf3> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cf3> -> Deletion schedule... cf3> -> Addition schedule... cf3> Execute scheduled package addition cf3> Command prefix: /usr/bin/yum -y install cf3> Executing /usr/bin/yum -y install ntp.* ... cf3> Q:yum -y install ntp.* ...:Loaded plugins: fastestmirror cf3> Q:yum -y install ntp.* ...:Loading mirror speeds from cached hostfile cf3> Q:yum -y install ntp.* ...: * base: ftp.wallawalla.edu cf3> Q:yum -y install ntp.* ...: * epel: mirror.cs.princeton.edu cf3> Q:yum -y install ntp.* ...: * extras: ftp.wallawalla.edu cf3> Q:yum -y install ntp.* ...: * updates: mirror.nandomedia.com cf3> Q:yum -y install ntp.* ...:Setting up Install Process cf3> Q:yum -y install ntp.* ...:No package ntp.conf available. cf3> Q:yum -y install ntp.* ...:No package ntp.conf.cf-before-edit available. cf3> Q:yum -y install ntp.* ...:No package ntp.conf.cfsaved available. cf3> Q:yum -y install ntp.* ...:No package ntp.conf.rpmsave available. cf3> Q:yum -y install ntp.* ...:No package ntp.drift available. cf3> Q:yum -y install ntp.* ...:No package ntp.drift.TEMP available. cf3> Q:yum -y install ntp.* ...:Nothing to do cf3> Q:yum -y install ntp.* ...: cf3> -> Finished command related to promiser "ntp" -- succeeded cf3> Bulk package schedule execution ok for ntp.* (outcome cannot be promised by cf-agent) _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine