From 4003dfc1ff62edc587f83aa54cd9eb3fd0347635 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Mon, 28 Aug 2017 14:50:03 +0400 Subject: Sync os cacert from proxy to salt master JIRA: FUEL-274 Change-Id: I2c8161b24cb18a0d1f9dc6fd509ce18af7ea8cf5 Signed-off-by: Michael Polenchuk --- mcp/config/states/openstack_ha | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mcp/config/states') 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 -- cgit 1.2.3-korg