Revision e8917aa3
Added by Dominic Cleal about 8 years ago
manifests/compute/rackspace.pp | ||
---|---|---|
# = Foreman Rackspace compute resource support
|
||
#
|
||
# Provides support for Rackspace compute resources
|
||
class foreman::compute::rackspace {
|
||
include ::foreman::compute::foreman_compute
|
||
#
|
||
# === Parameters:
|
||
#
|
||
# $version:: Package version to install, defaults to installed
|
||
#
|
||
# $package:: Package name to install, use foreman-compute on Foreman 1.11 or older
|
||
#
|
||
class foreman::compute::rackspace($package = 'foreman-rackspace', $version = 'installed') {
|
||
if $package == 'foreman-compute' {
|
||
include ::foreman::compute::foreman_compute
|
||
} else {
|
||
package { $package:
|
||
ensure => $version,
|
||
tag => [ 'foreman-compute', ],
|
||
}
|
||
}
|
||
}
|
Also available in: Unified diff
Change openstack/rackspace compute resource packages
foreman-openstack/rackspace subpackages are provided on Foreman 1.12,
per ticket #14368. Compatibility with 1.11 and older is provided through
the $package parameter.
closes GH-422