puppet-glance/manifests/init.pp
Logan McNaughton 86868bd15c Fix some puppet lint warnings.
Puppet-lint likes the ensure's to come first.

Change-Id: I9ecd8213c140e51769258c03038082fb98a2bd34
2013-08-09 16:44:47 +00: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':
ensure => $package_ensure,
name => $::glance::params::package_name,
}
}