I have encountered a repeatable and odd problem. If I run the following manifest snippet yumrepo over writes the rpmfusion-free-updates.repo file after the RPM is installed: yumrepo{rpmfusion-free-updates: priority =>10, enable =>1, gpgcheck =>0, require => Exec["rpmfusion"], } exec{rpmfusion: command =>"/bin/rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm", creates => "/etc/yum.repos.d/rpmfusion-free-updates.repo", before => Yumerepo[rpmfusion-free-updates] # redundant in theory but I am reaching, } . This from the logs of the first case where puppet has run exec and install the RPM: notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Exec[rpmfusion]/returns: executed successfully info: create new repo rpmfusion-free-updates-debuginfo in file /etc/yum.repos.d/rpmfusion-free-updates-debuginfo.repo << snip>> info: create new repo rpmfusion-free-updates-source in file /etc/yum.repos.d/rpmfusion-free-updates-source.repo <<snip> info: create new repo rpmfusion-free-updates in file /etc/yum.repos.d/rpmfusion-free-updates.repo <<snip>> Each snip contains the 5 same lines: notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-source]/enabled: defined ''enabled'' as ''1'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-source]/gpgcheck: defined ''gpgcheck'' as ''1'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-source]/enablegroups: defined ''enablegroups'' as ''1'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-source]/failovermethod: defined ''failovermethod'' as ''priority'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-source]/priority: defined ''priority'' as ''10'' If I run the exec command manually and then run puppet everything works as expected. Exec see thatt it has already run and yumrepo properly manages the rpmfusion-free-updates.repo file. From the log: notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-debuginfo]/enabled: enabled changed ''0'' to ''1'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-debuginfo]/enablegroups: defined ''enablegroups'' as ''1'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-debuginfo]/failovermethod: defined ''failovermethod'' as ''priority'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-debuginfo]/priority: defined ''priority'' as ''10'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-source]/enabled: enabled changed ''0'' to ''1'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-source]/enablegroups: defined ''enablegroups'' as ''1'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-source]/failovermethod: defined ''failovermethod'' as ''priority'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates-source]/priority: defined ''priority'' as ''10'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates]/enablegroups: defined ''enablegroups'' as ''1'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates]/failovermethod: defined ''failovermethod'' as ''priority'' notice: //Node[workstation]/multimedia::totem/multimedia::totem-xine/yum::rpmfusion-updates/Yumrepo[rpmfusion-free-updates]/priority: defined ''priority'' as ''10'' Everything looks like I would expect. I am wondering If i have some kind of race condition, or there is something odd about hte way Yumrepo and the exec are interacting. I am using puppet 0.24.8 on both client and server. evan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---