Douglas Garstang wrote: > Silviu, > > My system is aware of both the -1 and -2 releases in the repo. > > This is before running puppet... > > papp1 ~:# yum list tf-elements-core-tfel0-14.3-1.tf > [ stuff removed ] > Available Packages > tf-elements-core-tfel0.noarch > 14.3-1.tf > > papp1 ~:# yum list tf-elements-core-tfel0-14.3-2.tf > [ stuff removed ] > Available Packages > tf-elements-core-tfel0.noarch > 14.3-2.tf > > My manifest has: > > package { > "tf-elements-core-14.3-1.tf": > ensure => "${release}"; > } > > and here's what puppet logs when it barfs: > > debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -q > tf-elements-core-tfel0 --nosignature --nodigest --qf %{NAME} > %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH} > ' > debug: > //Node[papp1.fr.twofish.com]/Elements::Setup[tfel0]/Package[tf-elements-core-tfel0]: > Changing ensure > debug: > //Node[papp1.fr.twofish.com]/Elements::Setup[tfel0]/Package[tf-elements-core-tfel0]: > 1 change(s) > debug: Package[tf-elements-core-tfel0](provider=yum): Ensuring => 14.3-1.tf >
> debug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -d > 0 -e 0 -y install tf-elements-core-tfel0-14.3-1.tf' > debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -q > tf-elements-core-tfel0 --nosignature --nodigest --qf %{NAME} > %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH} > Here puppet tells you what it is doing. This output leads me to believe that "/usr/bin/yum -d 0 -e 0 -y install tf-elements-core-tfel0-14.3-1.tf" ends with an error, but I might be wrong considering the fact that I haven't ever used yum, and I have failed to use rpm (back when I was a newbie using redhat). Try switching the versions again and run these two commands puppet used, adding a "&& echo Return code OK" for each just to be sure that the return value is ok and see what you get. SIDENOTE: this is a way of debugging something that isn't working in puppet :-) execs or anything else. Silviu -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.