Fix remove actions for glance puppet resources

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
Bogdan Dobrelya 2015-07-28 14:15:18 +02:00
parent bf52473652
commit ca9cbd0a0a
2 changed files with 9 additions and 6 deletions

View File

@ -1,9 +1,11 @@
$resource = hiera($::resource_name)
class {'glance::api':
enabled => false,
}
include glance::params
class {'glance':
package_ensure => 'absent'
package_ensure => 'absent',
}
package { [$glance::params::api_package_name, $::glance::params::package_name] :
ensure => 'absent',
}

View File

@ -1,6 +1,7 @@
$resource = hiera($::resource_name)
class {'glance::registry':
enabled => false,
package_ensure => 'absent',
enabled => false,
package_ensure => 'absent',
keystone_password => 'not important as removed'
}