|
Josh Cooper |
at Oct 12, 2012 at 7:41 pm
|
⇧ |
| |
Hi Ellison,
On Fri, Oct 12, 2012 at 11:19 AM, Ellison Marks wrote: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 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/-/2sz8cFo8EEgJ.To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en. 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#packageThere 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 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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.