[SystemConfig] Changing to putHieraData

* setHieraValue is replaced on putHieraData
   when change project config repo

Change-Id: Iab5b3a97fa7c2273a22406b020bf4c69cbd50084
This commit is contained in:
Nikolay Mahotkin 2016-07-07 16:34:45 +03:00 committed by Alexey Khivin
parent e6a356892a
commit f26c1ab992
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ Methods:
#
_switchProjectConfig:
Body:
- $.instance.setHieraValue( 'project_config_repo', $.getProjectConfigRepo())
- $.instance.putHieraData({'project_config_repo' => $.getProjectConfigRepo()})
_createLdapConfiguration:
Body:

View File

@ -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')