Merge pull request #15 from TatyankaLeontovich/add_conf
Symlink placement apache conf
diff --git a/nova/controller.sls b/nova/controller.sls
index 556a42e..c212413 100644
--- a/nova/controller.sls
+++ b/nova/controller.sls
@@ -98,6 +98,11 @@
- pkg: nova_controller_packages
- pkg: nova_placement_package
+placement_config:
+ file.symlink:
+ - name: /etc/apache2/sites-enabled/nova-placement-api.conf
+ - target: /etc/apache2/sites-available/nova-placement-api.conf
+
nova_cell_create:
cmd.run:
- name: 'su -s /bin/sh -c "nova-manage cell_v2 create_cell --name=cell1 --verbose" nova'