Clayton O'Neill 81f5841260 Fix typo
Change-Id: I7aa1918c481e842bc7d555f87dda7eb78b003483
2015-01-07 08:00:59 -05:00

27 lines
526 B
Puppet

#
# base glance 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,
}
}
}