637f986252
This patch removes File resources which should be delivered by packaging tools. These resources (files, directories, modes, users, and group attributes) could be in conflict with different OS packaging systems which isn't a desired result. Co-Authored-By: Ivan Berezovskiy <iberezovskiy@mirantis.com> Closes-Bug: #1458915 Change-Id: I02fe8cc99dcd56e16ac66136a0da244a1eeb630b
28 lines
658 B
Puppet
28 lines
658 B
Puppet
# == class: glance
|
|
#
|
|
# base glance config.
|
|
#
|
|
# === parameters:
|
|
#
|
|
# [*package_ensure*]
|
|
# (Optional) Ensure state for package. On Ubuntu this setting
|
|
# is ignored since Ubuntu has separate API and registry packages.
|
|
# Defaults to 'present'
|
|
#
|
|
class glance(
|
|
$package_ensure = 'present'
|
|
) {
|
|
|
|
include ::glance::params
|
|
|
|
if ( $glance::params::api_package_name == $glance::params::registry_package_name ) {
|
|
package { $::glance::params::api_package_name :
|
|
ensure => $package_ensure,
|
|
name => $::glance::params::api_package_name,
|
|
tag => ['openstack', 'glance-package'],
|
|
}
|
|
}
|
|
|
|
include '::openstacklib::openstackclient'
|
|
}
|