puppet-glance/manifests/init.pp
2012-10-31 16:03:06 -07:00

25 lines
433 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',
require => Package['glance']
}
package { 'glance':
name => $::glance::params::package_name,
ensure => $package_ensure,
}
}