Considering the source you have seems to have a version in it already
have you tried it without the version number in the name?
as in
package { "sapnwrfc":
                ensure => 'installed',
                provider => 'gem',
                source => "/export/admin_scripts/sapnwrfc-0.24",
}

On 2 October 2012 06:51, jmadtech <jdi...@jmadtechnologies.com> wrote:
> The gem is there and installed.  I didn't install it by hand, so it did get
> installed by puppet at some point.  I'm assuming it's because the gem source
> file is local so it has no way to verify the file version versus the
> installed version.
>
>
> On Monday, October 1, 2012 4:42:46 PM UTC-4, Pete wrote:
>>
>> Does it actually install?
>> I find if package resources try to install on each run it means they
>> don't get installed correctly.
>>
>> On 28 September 2012 13:22, jmadtech <jdi...@jmadtechnologies.com> wrote:
>> > Hey all,
>> >
>> > I'm not sure if there's a real issue or if I'm doing something
>> > incorrectly.
>> >
>> > I have a custom compiled gem that I'm installing via:
>> >
>> > package { "sapnwrfc-0.24":
>> >                 ensure => 'installed',
>> >                 provider => 'gem',
>> >                 source => "/export/admin_scripts/sapnwrfc-0.24",
>> > }
>> >
>> > On first run, it installs correctly.  A 'gem list' shows it as:
>> >
>> > sapnwrfc (0.24 x86_64-linux)
>> >
>> > However, every subsequent checkin with the master results in:
>> >
>> > Thu Sep 27 20:07:34 -0700 2012 Puppet (notice): Starting Puppet client
>> > version 2.7.19
>> > Thu Sep 27 20:07:49 -0700 2012
>> > /Stage[main]/my_app/Package[sapnwrfc-0.24]/ensure (notice): created
>> > Thu Sep 27 20:07:53 -0700 2012 Puppet (notice): Finished catalog run in
>> > 12.90 seconds
>> >
>> > I've tried changing the ensure from 'installed' to '0.24', '0.24
>> > x86_64-linux', etc. to no avail... it keeps registering a change.
>> >
>> > what am I doing wrong?
>> >
>> > Thanks in advance!
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Puppet Users" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/puppet-users/-/I_o9G1NySfUJ.
>> > To post to this group, send email to puppet...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > puppet-users...@googlegroups.com.
>> > 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 view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/2-aZE0n23ewJ.
>
> To post to this group, send email to puppet-users@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.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to