puppet-openstacklib/examples/virtual_packages.pp
Takashi Kajinami 62439012bd Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: If81712ed2129684d887668f6320e88a206fdad4b
2023-03-01 16:50:04 +09:00

12 lines
239 B
Puppet

Exec { logoutput => 'on_failure' }
include openstacklib::defaults
if $facts['os']['family'] == 'RedHat' {
# Virtual package name, present in @base.
package { 'perl(Net::HTTP)':
ensure => present,
tag => 'openstack',
}
}