AFAIK, the yum & rpm backends for "package" are versionable, and you should not see the "Provider must have features 'versionable' to set 'ensure' to '9.5.3-1' at" message.
Rayson ================================= Grid Engine / Open Grid Scheduler http://gridscheduler.sourceforge.net/ Scalable Grid Engine Support Program http://www.scalablelogic.com/ On Thu, Dec 1, 2011 at 9:58 PM, Douglas Garstang <[email protected]> wrote: > Sure... > > package { > 'forgerock-openam': > ensure => '9.5.3-1', > before => Class['tomcat::enable']; > } > > Doug. > > > On Thu, Dec 1, 2011 at 6:41 PM, Matthew Black <[email protected]> wrote: >> Can you provide the resource defined in the error message? >> >> On Thu, Dec 1, 2011 at 8:38 PM, Douglas Garstang >> <[email protected]> wrote: >>> Finally got the dependancies sorted out, and on the first run on the >>> client, I am seeing: >>> >>> Dec 1 20:37:35 ip-10-123-21-192 puppet-agent[2562]: Failed to apply >>> catalog: Parameter ensure failed: Provider must have features >>> 'versionable' to set 'ensure' to '9.5.3-1' at >>> /etc/puppet/devmp/modules/openam/manifests/common.pp:9 >>> >>> I thought puppet on OEL was identical to Redhat? Don't see this error on >>> redhat. >>> >>> Doug. >>> >>> On Thu, Dec 1, 2011 at 5:21 PM, Douglas Garstang >>> <[email protected]> wrote: >>>> Rayson, >>>> >>>> Thanks. Having all sorts of issues with that. Our server is running >>>> 2.6.2, which means that the client packages needs to have 2.6.2 or >>>> older, but when I try and install older versions of puppet, I get >>>> dependancy failures.... :( >>>> >>>> Doug. >>>> >>>> On Thu, Dec 1, 2011 at 4:37 PM, Rayson Ho <[email protected]> wrote: >>>>> There are only a few minor differences between RHEL, CentOS, and >>>>> Oracle Linux... so if a package works on RHEL, then it also works on >>>>> Oracle Linux. >>>>> >>>>> IIRC, if you point to the correct repo, you can even update Oracle >>>>> Linux with CentOS repo. Further, Oracle has a public yum for Oracle >>>>> Linux even for users not paying for the "Oracle Unbreakable Linux >>>>> Support" subscription: >>>>> >>>>> http://public-yum.oracle.com/ >>>>> >>>>> BTW, "Puppet Enterprise 2.0" officially supports Oracle Linux: >>>>> >>>>> http://docs.puppetlabs.com/pe/2.0/install_system_requirements.html >>>>> >>>>> Rayson >>>>> >>>>> ================================= >>>>> Grid Engine / Open Grid Scheduler >>>>> http://gridscheduler.sourceforge.net/ >>>>> >>>>> Scalable Grid Engine Support Program >>>>> http://www.scalablelogic.com/ >>>>> >>>>> >>>>> On Thu, Dec 1, 2011 at 7:16 PM, Douglas Garstang >>>>> <[email protected]> wrote: >>>>>> My bad.... had to do a yum clean all. D'oh. >>>>>> >>>>>> On Thu, Dec 1, 2011 at 4:15 PM, Douglas Garstang >>>>>> <[email protected]> wrote: >>>>>>> Gonzalo, >>>>>>> >>>>>>> Nope. Ran: >>>>>>> >>>>>>> rpm -Uvh >>>>>>> http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm >>>>>>> >>>>>>> and got the epel repo. Then I ran: >>>>>>> >>>>>>> $ yum repolist >>>>>>> Loaded plugins: security >>>>>>> http://epel.mirror.freedomvoice.com/5/x86_64/repodata/d7e9a86e48be583371a8d5a3055017b313dd6cc92d57147c6c8ee03b50a0312b-primary.sqlite.bz2: >>>>>>> [Errno 14] HTTP Error 404: Not Found >>>>>>> Trying other mirror. >>>>>>> http://mirror.its.uidaho.edu/pub/epel/5/x86_64/repodata/d7e9a86e48be583371a8d5a3055017b313dd6cc92d57147c6c8ee03b50a0312b-primary.sqlite.bz2: >>>>>>> [Errno 14] HTTP Error 404: Not Found >>>>>>> Trying other mirror. >>>>>>> http://ftp.linux.ncsu.edu/pub/epel/5/x86_64/repodata/d7e9a86e48be583371a8d5a3055017b313dd6cc92d57147c6c8ee03b50a0312b-primary.sqlite.bz2: >>>>>>> [Errno 14] HTTP Error 404: Not Found >>>>>>> Trying other mirror. >>>>>>> http://mirror.us.leaseweb.net/epel/5/x86_64/repodata/d7e9a86e48be583371a8d5a3055017b313dd6cc92d57147c6c8ee03b50a0312b-primary.sqlite.bz2: >>>>>>> [Errno 14] HTTP Error 404: Not Found >>>>>>> Trying other mirror. >>>>>>> epel/primary_db >>>>>>> >>>>>>> | 0 B 00:00 >>>>>>> ftp://mirror.cs.princeton.edu/pub/mirrors/fedora-epel/5/x86_64/repodata/d7e9a86e48be583371a8d5a3055017b313dd6cc92d57147c6c8ee03b50a0312b-primary.sqlite.bz2: >>>>>>> [Errno -3] Error performing checksum >>>>>>> Trying other mirror. >>>>>>> >>>>>>> and so on and so on. Funny.... cuz that long number file >>>>>>> d7e9a86e48be583371a8d5a3055017b313dd6cc92d57147c6c8ee03b50a0312b-primary.sqlite.bz2 >>>>>>> doesn't exist when I look at it with a web browser... >>>>>>> >>>>>>> Doug. >>>>>>> >>>>>>> On Thu, Dec 1, 2011 at 4:09 PM, Gonzalo Servat <[email protected]> >>>>>>> wrote: >>>>>>>> Try the EPEL repo -- http://fedoraproject.org/wiki/EPEL. >>>>>>>> >>>>>>>> - Gonzalo >>>>>>>> >>>>>>>> On Fri, Dec 2, 2011 at 11:07 AM, Douglas Garstang >>>>>>>> <[email protected]> >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> On Thu, Dec 1, 2011 at 4:03 PM, Michael Stahnke >>>>>>>>> <[email protected]> >>>>>>>>> wrote: >>>>>>>>> > Puppet works fine on OEL. You can add yum.puppetlabs.com as a repo >>>>>>>>> > and use the el based stuff. >>>>>>>>> > >>>>>>>>> > rpm -Uvh >>>>>>>>> > http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-1.noarch.rpm >>>>>>>>> > >>>>>>>>> > That should get you going. >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > Mike >>>>>>>>> >>>>>>>>> Mike, >>>>>>>>> >>>>>>>>> Almost.... see below. As I said, there are NO other repo's installed. >>>>>>>>> I guess puppet doesn't provide ruby-augeas... >>>>>>>>> >>>>>>>>> >>>>>>>>> $ yum install puppet >>>>>>>>> Loaded plugins: security >>>>>>>>> Setting up Install Process >>>>>>>>> Resolving Dependencies >>>>>>>>> --> Running transaction check >>>>>>>>> ---> Package puppet.i386 0:2.7.1-1 set to be updated >>>>>>>>> --> Processing Dependency: facter >= 1.5 for package: puppet >>>>>>>>> --> Processing Dependency: ruby-augeas for package: puppet >>>>>>>>> ---> Package puppet.x86_64 0:2.7.1-1 set to be updated >>>>>>>>> --> Processing Dependency: ruby-augeas for package: puppet >>>>>>>>> --> Running transaction check >>>>>>>>> ---> Package facter.i386 0:1.6.0-1 set to be updated >>>>>>>>> ---> Package puppet.i386 0:2.7.1-1 set to be updated >>>>>>>>> --> Processing Dependency: ruby-augeas for package: puppet >>>>>>>>> ---> Package puppet.x86_64 0:2.7.1-1 set to be updated >>>>>>>>> --> Processing Dependency: ruby-augeas for package: puppet >>>>>>>>> --> Finished Dependency Resolution >>>>>>>>> puppet-2.7.1-1.i386 from puppetlabs-products has depsolving problems >>>>>>>>> --> Missing Dependency: ruby-augeas is needed by package >>>>>>>>> puppet-2.7.1-1.i386 (puppetlabs-products) >>>>>>>>> >>>>>>>>> Doug. >>>>>>>>> >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>> Groups >>>>>>>>> "Puppet Users" group. >>>>>>>>> To post to this group, send email to [email protected]. >>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>> [email protected]. >>>>>>>>> For more options, visit this group at >>>>>>>>> http://groups.google.com/group/puppet-users?hl=en. >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups >>>>>>>> "Puppet Users" group. >>>>>>>> To post to this group, send email to [email protected]. >>>>>>>> To unsubscribe from this group, send email to >>>>>>>> [email protected]. >>>>>>>> For more options, visit this group at >>>>>>>> http://groups.google.com/group/puppet-users?hl=en. >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Regards, >>>>>>> >>>>>>> Douglas Garstang >>>>>>> http://www.linkedin.com/in/garstang >>>>>>> Email: [email protected] >>>>>>> Cell: +1-805-340-5627 >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> >>>>>> Douglas Garstang >>>>>> http://www.linkedin.com/in/garstang >>>>>> Email: [email protected] >>>>>> Cell: +1-805-340-5627 >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Puppet Users" group. >>>>>> To post to this group, send email to [email protected]. >>>>>> To unsubscribe from this group, send email to >>>>>> [email protected]. >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/puppet-users?hl=en. >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Rayson >>>>> >>>>> ================================================== >>>>> Open Grid Scheduler - The Official Open Source Grid Engine >>>>> http://gridscheduler.sourceforge.net/ >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google Groups >>>>> "Puppet Users" group. >>>>> To post to this group, send email to [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]. >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/puppet-users?hl=en. >>>>> >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> >>>> Douglas Garstang >>>> http://www.linkedin.com/in/garstang >>>> Email: [email protected] >>>> Cell: +1-805-340-5627 >>> >>> >>> >>> -- >>> Regards, >>> >>> Douglas Garstang >>> http://www.linkedin.com/in/garstang >>> Email: [email protected] >>> Cell: +1-805-340-5627 >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Puppet Users" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/puppet-users?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > > > -- > Regards, > > Douglas Garstang > http://www.linkedin.com/in/garstang > Email: [email protected] > Cell: +1-805-340-5627 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- Rayson ================================================== Open Grid Scheduler - The Official Open Source Grid Engine http://gridscheduler.sourceforge.net/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
