Displaying 1 result from an estimated 1 matches for "ensure_pkg".
2013 Jun 08
4
Using yum provider to install local RPM
...- I want yum to resolve dependencies for me.
- I need to install a custom-packaged version of collectd (v5, since
EPEL only has v4, and we''ve made some customizations).
Here''s a code snippet:
> package { ''collectd'':
> ensure => $ensure_pkg,
> source => $localInstallPath,
> #provider => rpm,
> }
If I use provider == rpm, it works fine assuming I already have the
dependencies installed. But I won''t, on new machines. Of course I could
install those using other puppet modules,...