Fix some puppet lint warnings.
Puppet-lint likes the ensure's to come first. Change-Id: I9ecd8213c140e51769258c03038082fb98a2bd34
This commit is contained in:
parent
9a09177d88
commit
86868bd15c
@ -155,8 +155,8 @@ class glance::api(
|
||||
validate_re($pipeline, '^(\w+([+]\w+)*)*$')
|
||||
glance_api_config {
|
||||
'paste_deploy/flavor':
|
||||
ensure => present,
|
||||
value => $pipeline,
|
||||
ensure => present
|
||||
}
|
||||
} else {
|
||||
glance_api_config { 'paste_deploy/flavor': ensure => absent }
|
||||
@ -189,8 +189,8 @@ class glance::api(
|
||||
}
|
||||
|
||||
service { 'glance-api':
|
||||
name => $::glance::params::api_service_name,
|
||||
ensure => $service_ensure,
|
||||
name => $::glance::params::api_service_name,
|
||||
enable => $enabled,
|
||||
hasstatus => true,
|
||||
hasrestart => true,
|
||||
|
@ -11,8 +11,8 @@ class glance::client (
|
||||
include glance::params
|
||||
|
||||
package { 'python-glanceclient':
|
||||
name => $::glance::params::client_package_name,
|
||||
ensure => $ensure,
|
||||
name => $::glance::params::client_package_name,
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ class glance(
|
||||
require => Package['glance']
|
||||
}
|
||||
package { 'glance':
|
||||
name => $::glance::params::package_name,
|
||||
ensure => $package_ensure,
|
||||
name => $::glance::params::package_name,
|
||||
}
|
||||
}
|
||||
|
@ -143,8 +143,8 @@ class glance::registry(
|
||||
validate_re($pipeline, '^(\w+([+]\w+)*)*$')
|
||||
glance_registry_config {
|
||||
'paste_deploy/flavor':
|
||||
ensure => present,
|
||||
value => $pipeline,
|
||||
ensure => present
|
||||
}
|
||||
} else {
|
||||
glance_registry_config { 'paste_deploy/flavor': ensure => absent }
|
||||
@ -181,8 +181,8 @@ class glance::registry(
|
||||
}
|
||||
|
||||
service { 'glance-registry':
|
||||
name => $::glance::params::registry_service_name,
|
||||
ensure => $service_ensure,
|
||||
name => $::glance::params::registry_service_name,
|
||||
enable => $enabled,
|
||||
hasstatus => true,
|
||||
hasrestart => true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user