I'm trying to install/upgrade to a specific version of an RPM with
puppet. I'm getting the following:

Dec 14 17:58:40 papp1 puppetd[8438]:
(//Node[papp1.fr.xxx.com]/Elements::Setup[tfel0]/Package[tf-elements-core-tfel0]/ensure)
change from 1.0-1.tf to 14.3-0.tf failed: Could not update: Failed to
update to version 14.3-0.tf, got version 1.0-1.tf instead at
/etc/puppet/modules/elements/manifests/init.pp:31

My manifest at line 31 has:

    package {
        "tf-elements-core-${name}":
            ensure => "14.3-0.tf";
    }

The puppet documentation implies I can put a version number where I
have it. I currently have version 1.0-1 of the RPM installed.

papp1 ~:# rpm -qa | grep tf-elements-core
tf-elements-core-tfel0-1.0-1.tf

I haven't tried it yet, as it's ugly, but might this work?

    package {
        "tf-elements-core-${name}-14.3-0.tf":
            ensure => installed;
    }

I prefer the first though.

Doug.

--

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.


Reply via email to