On Dec 11, 2010, at 11:59 PM, Olivier Le Cam wrote:

> Hi -
> 
> On 12/12/10 05:01, Ben wrote:
>>> Is there a way when installing a package like this :
>>> 
>>> package { "rubygems":
>>> ensure => installed,
>>> }
>>> 
>>> to pass -t parameter to apt-get in order to use a specific apt
>>> source ? EG : apt-get install -t lenny-backports rubygems
>>> 
>>> Ideally I would not use exec ...
> 
> I myself use exec... Another workaround is to specify the version of the 
> package. For example:
> 
> package { "varnish":
>       ensure => "2.1.5639-1~svn",
> }
> 

What do you use as the "unless"?

-- 
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.

Reply via email to