fuel-library/deployment/puppet/glance/manifests/init.pp
Aleksandr Didenko 58e15152c4 Sync glance module from puppetlabs upstream
v4.0.0 cb0daf02d7a991be642e62294912d93b036c6a5a

Implements: blueprint merge-openstack-puppet-modules

Change-Id: I2f5f282a5388644ed092c2c42c358ce07ed99bbf
2014-07-12 00:32:44 +04:00

27 lines
526 B
Puppet

#
# base glacne config.
#
# == parameters
# * package_ensure - ensure state for package.
#
class glance(
$package_ensure = 'present'
) {
include glance::params
file { '/etc/glance/':
ensure => directory,
owner => 'glance',
group => 'root',
mode => '0770',
}
if ( $glance::params::api_package_name == $glance::params::registry_package_name ) {
package { $glance::params::api_package_name :
ensure => $package_ensure,
name => $::glance::params::package_name,
}
}
}