Fix remove actions for glance puppet resources
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
parent
bf52473652
commit
ca9cbd0a0a
@ -1,9 +1,11 @@
|
|||||||
$resource = hiera($::resource_name)
|
$resource = hiera($::resource_name)
|
||||||
|
|
||||||
class {'glance::api':
|
include glance::params
|
||||||
enabled => false,
|
|
||||||
}
|
|
||||||
|
|
||||||
class {'glance':
|
class {'glance':
|
||||||
package_ensure => 'absent'
|
package_ensure => 'absent',
|
||||||
|
}
|
||||||
|
|
||||||
|
package { [$glance::params::api_package_name, $::glance::params::package_name] :
|
||||||
|
ensure => 'absent',
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
$resource = hiera($::resource_name)
|
$resource = hiera($::resource_name)
|
||||||
|
|
||||||
class {'glance::registry':
|
class {'glance::registry':
|
||||||
enabled => false,
|
enabled => false,
|
||||||
package_ensure => 'absent',
|
package_ensure => 'absent',
|
||||||
|
keystone_password => 'not important as removed'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user