summaryrefslogtreecommitdiffstats
path: root/mcp/config/states
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/config/states')
-rwxr-xr-xmcp/config/states/networks2
-rwxr-xr-xmcp/config/states/openstack32
2 files changed, 18 insertions, 16 deletions
diff --git a/mcp/config/states/networks b/mcp/config/states/networks
index 10f71c213..acb039e2a 100755
--- a/mcp/config/states/networks
+++ b/mcp/config/states/networks
@@ -1,3 +1,3 @@
-salt 'ctl01*' cmd.run ". /root/keystonercv3; openstack compute service list; openstack network agent list; openstack stack list; openstack volume list"
+salt 'ctl01*' cmd.run ". /root/keystonercv3; openstack compute service list; openstack network agent list; openstack stack list; openstack volume service list"
salt 'ctl01*' cmd.run ". /root/keystonercv3; openstack network create --share --external --provider-network-type flat --provider-physical-network physnet1 floating_net"
salt 'ctl01*' cmd.run ". /root/keystonercv3; openstack subnet create --gateway 10.16.0.1 --no-dhcp --allocation-pool start=10.16.0.130,end=10.16.0.254 --network floating_net --subnet-range 10.16.0.0/24 floating_subnet"
diff --git a/mcp/config/states/openstack b/mcp/config/states/openstack
index 3a15c2e51..1946af553 100755
--- a/mcp/config/states/openstack
+++ b/mcp/config/states/openstack
@@ -1,20 +1,22 @@
-salt -C 'I@rabbitmq:server' state.sls rabbitmq
-salt -C 'I@rabbitmq:server' cmd.run "rabbitmqctl status"
+salt -I 'rabbitmq:server' state.sls rabbitmq
+salt -I 'rabbitmq:server' cmd.run "rabbitmqctl status"
-salt -C 'I@mysql:server' state.sls mysql
-salt -C 'I@memcached:server' state.sls memcached
+salt -I 'mysql:server' state.sls mysql
+salt -I 'memcached:server' state.sls memcached
-salt -C 'I@keystone:server' state.sls keystone.server
-salt -C 'I@keystone:server' service.restart apache2
-salt -C 'I@keystone:server' state.sls keystone.client
-salt -C 'I@keystone:server' cmd.run ". /root/keystonercv3; openstack service list"
+salt -I 'keystone:server' state.sls keystone.server
+salt -I 'keystone:server' service.restart apache2
+salt -I 'keystone:server' state.sls keystone.client
+salt -I 'keystone:server' cmd.run ". /root/keystonercv3; openstack service list"
-salt -C 'I@glance:server' state.sls glance
-salt -C 'I@nova:controller' state.sls nova
-salt -C 'I@heat:server' state.sls heat
-salt -C 'I@cinder:controller' state.sls cinder
+salt -I 'glance:server' state.sls glance
+salt -I 'nova:controller' state.sls nova
+salt -I 'heat:server' state.sls heat
-salt -C 'I@neutron:server' state.sls neutron
-salt -C 'I@neutron:gateway' state.sls neutron
+salt -I 'cinder:controller' state.sls cinder
+salt -I 'cinder:volume' state.sls cinder
-salt -C 'I@nova:compute' state.sls nova
+salt -I 'neutron:server' state.sls neutron
+salt -I 'neutron:gateway' state.sls neutron
+
+salt -I 'nova:compute' state.sls nova