puppet-openstacklib/examples/virtual_packages.pp
Sofer Athlan-Guyot 8cf821dc2f Default file for all. Use it for virtual package.
This file is to be included by all puppet modules.

First feature is to make sure that allow_virtual is set to true for all
openstack modules.  It's set to false for puppet 3.6.1 to
4.0.0 [1]

[1] https://docs.puppet.com/puppet/3.6/reference/release_notes.html#puppet-361

Change-Id: I9d0a10d48124ee71ea80134ceef96436c8ee196e
Closes-Bug: 1599113
Related-Bug: 1597753
Depends-On: I2699eaa3a10589c9a0c680bb1de489994fe01b67
2016-07-06 15:24:37 +02:00

12 lines
230 B
Puppet

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