summaryrefslogtreecommitdiffstats
path: root/mcp/config/states
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-08-28 14:50:03 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-08-28 20:23:26 +0400
commit4003dfc1ff62edc587f83aa54cd9eb3fd0347635 (patch)
treedb7c59ebfb5350d519a2bf5a221d2ec01e1ab4fe /mcp/config/states
parent08bb570b39b123c5a5adf70e34e05bb43a6e3387 (diff)
Sync os cacert from proxy to salt master
JIRA: FUEL-274 Change-Id: I2c8161b24cb18a0d1f9dc6fd509ce18af7ea8cf5 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states')
-rwxr-xr-xmcp/config/states/openstack_ha3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha
index 507ca6124..cc4279c8f 100755
--- a/mcp/config/states/openstack_ha
+++ b/mcp/config/states/openstack_ha
@@ -44,3 +44,6 @@ salt -I 'nova:compute' state.sls nova
salt -I 'horizon:server' state.sls horizon
salt -I 'nginx:server' state.sls nginx
+
+salt -C 'I@nginx:server and *01*' cp.push /etc/ssl/certs/10.167.4.80-with-chain.crt upload_path='/os_cacert'
+cd /etc/ssl/certs && ln -s /var/cache/salt/master/minions/prx01.*/files/os_cacert