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

Reply via email to