From e2a049e037cd2a309f98dc9bab36ab263a6d5c99 Mon Sep 17 00:00:00 2001 From: Bogdan Dobrelya Date: Tue, 21 Jul 2015 13:58:41 +0200 Subject: [PATCH] Fix undeploy and resource_name ref at cinder api Signed-off-by: Bogdan Dobrelya --- resources/cinder_api_puppet/actions/remove.pp | 3 ++- resources/cinder_api_puppet/actions/run.pp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/cinder_api_puppet/actions/remove.pp b/resources/cinder_api_puppet/actions/remove.pp index 35303039..f533cb1a 100644 --- a/resources/cinder_api_puppet/actions/remove.pp +++ b/resources/cinder_api_puppet/actions/remove.pp @@ -1,6 +1,7 @@ class {'cinder::api': enabled => false, - package_ensure => 'absent' + package_ensure => 'absent', + keystone_password => 'not important as removed', } include cinder::params diff --git a/resources/cinder_api_puppet/actions/run.pp b/resources/cinder_api_puppet/actions/run.pp index 0226e15c..a5e2eb1a 100644 --- a/resources/cinder_api_puppet/actions/run.pp +++ b/resources/cinder_api_puppet/actions/run.pp @@ -1,4 +1,4 @@ -$resource = hiera('{{ resource_name }}') +$resource = hiera($::resource_name) $ip = $resource['input']['ip']['value']