Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Package install_options
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ellison Marks  
View profile  
 More options Oct 12 2012, 2:19 pm
From: Ellison Marks <gty...@gmail.com>
Date: Fri, 12 Oct 2012 11:19:25 -0700 (PDT)
Local: Fri, Oct 12 2012 2:19 pm
Subject: Package install_options

Now that the install_options parameter can be applied to all package
providers, does anyone have advice on the best way to specify options to
yum?

For example, considering the common pattern of leaving a repo disabled most
of the time, if I wanted to pass

--enablerepo=epel

to yum, would I set

install_options => ['--enablerepo=epel']

or

install_options => [{'--enablerepo' => 'epel'}]

or

install_options => {'--enablerepo' => 'epel'}

or something completely different?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Josh Cooper  
View profile  
 More options Oct 12 2012, 3:10 pm
From: Josh Cooper <j...@puppetlabs.com>
Date: Fri, 12 Oct 2012 12:10:07 -0700
Local: Fri, Oct 12 2012 3:10 pm
Subject: Re: [Puppet Users] Package install_options
Hi Ellison,

While install_options (and uninstall_options) are part of the package
type, only the msi/windows package provider supports them currently.
See http://docs.puppetlabs.com/references/latest/type.html#package

There are some tickets for updating other package providers to support
those options, but AFAIK, that has not been implemented yet.

Josh

--
Josh Cooper
Developer, Puppet Labs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ellison Marks  
View profile  
 More options Oct 12 2012, 3:18 pm
From: Ellison Marks <gty...@gmail.com>
Date: Fri, 12 Oct 2012 12:18:44 -0700 (PDT)
Local: Fri, Oct 12 2012 3:18 pm
Subject: Re: [Puppet Users] Package install_options

Oh, my mistake. I was looking at the breaking changes and saw

"Previously, the package resource’s install_options parameter was only used
by the MSI package provider"

and assumed it meant all providers were given that option, but looking at
the chart in the type reference, it's only msi, sun and windows. Thanks for
the clarification.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »