From f26c1ab9928a8c18c0b2d4e2d628c59da5ecc5a8 Mon Sep 17 00:00:00 2001 From: Nikolay Mahotkin Date: Thu, 7 Jul 2016 16:34:45 +0300 Subject: [PATCH] [SystemConfig] Changing to putHieraData * setHieraValue is replaced on putHieraData when change project config repo Change-Id: Iab5b3a97fa7c2273a22406b020bf4c69cbd50084 --- murano-apps/Gerrit/package/Classes/Gerrit.yaml | 2 +- murano-apps/SystemConfig/package/Classes/SystemConfig.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/murano-apps/Gerrit/package/Classes/Gerrit.yaml b/murano-apps/Gerrit/package/Classes/Gerrit.yaml index 81b6f14..31954bb 100644 --- a/murano-apps/Gerrit/package/Classes/Gerrit.yaml +++ b/murano-apps/Gerrit/package/Classes/Gerrit.yaml @@ -110,7 +110,7 @@ Methods: # _switchProjectConfig: Body: - - $.instance.setHieraValue( 'project_config_repo', $.getProjectConfigRepo()) + - $.instance.putHieraData({'project_config_repo' => $.getProjectConfigRepo()}) _createLdapConfiguration: Body: diff --git a/murano-apps/SystemConfig/package/Classes/SystemConfig.yaml b/murano-apps/SystemConfig/package/Classes/SystemConfig.yaml index 61aa0d4..5bb7477 100644 --- a/murano-apps/SystemConfig/package/Classes/SystemConfig.yaml +++ b/murano-apps/SystemConfig/package/Classes/SystemConfig.yaml @@ -17,5 +17,5 @@ Methods: - $resources: new(sys:Resources) - $template: $resources.yaml('SystemConfig.template') - $instance.agent.call($template, $resources) - - $instance.setHieraValue( 'project_config_repo', $this.projectConfigRepo) + - $instance.putHieraData({'project_config_repo' => $this.projectConfigRepo}) - $instance.installPuppetModule('reidmv/yamlfile')