Answering my own question here. As it turns out, the source parameter
does work as I was expecting it to, but only in puppet versions 0.24.5
and greater. I was trying with 0.24.4.

On Dec 24, 1:00 pm, byron appelt <byron.app...@gmail.com> wrote:
> I am trying to use the package class to manage agemand I need to
> specify thesource. I tried doing the following:
>
> package { "gateway_install_support":
>     ensure => installed,
>     provider =>gem,
>    source=> "http://gems.ublip.com:8808";,
>     require => Exec["ruby setup.rb"]
>   }
>
> but this causes the error:
>
> err: //Node[byron-dev.numerexfast.com]/base_gateway/Package
> [gateway_install_support]/ensure: change from absent to present
> failed: Execution of '/usr/bin/geminstall 
> --include-dependencieshttp://gems.ublip.com:8808'returned 512: ERROR:  could 
> not findgemhttp://gems.ublip.com:8808locally or in a repository
>
> Which looks like it is trying to use thesourceparameter as thegem
> name.

--

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