deb-murano/devstack
Felipe Monteiro fb1a2d5bbe Remove murano default policy.json
This commit removes the murano default policy.json file from
etc/murano and references to it in murano's devstack plugin.
(References to the policy.json in muranodashboard remain
the same).

This commit specifically:
  - removes the default policy.json
  - removes references to it in devstack plugin
  - adds base rules to murano.common.policies.__init__ because
    they are the last rules to be included
  - updates base admin_api rule to is_admin:True from
    is_admin:1 (because the latter was causing issues)
  - updates Murano policy documentation

Partially Implements: blueprint policy-in-code
Depends-On: Ia372983d2bd1010cd19f04061f3276ed16e9c1c9
Change-Id: I1a8581a559e4333a74d56a5bdce7e6d1f117907d
2017-06-16 03:07:49 +00:00
..
files Import packages from murano-apps in Devstack 2015-10-22 19:58:43 +02:00
plugin.sh Remove murano default policy.json 2017-06-16 03:07:49 +00:00
README.rst Remove heat as enable_service in devstack 2017-02-02 22:36:33 +08:00
settings Remove murano default policy.json 2017-06-16 03:07:49 +00:00

Enabling in Devstack

  1. Download DevStack:

    git clone https://git.openstack.org/openstack-dev/devstack
    cd devstack
  2. Edit local.conf to enable murano and heat devstack plugin:

    > cat local.conf
    [[local|localrc]]
    enable_plugin murano git://git.openstack.org/openstack/murano
    
    #Enable heat plugin
    enable_plugin heat https://git.openstack.org/openstack/heat
  3. If you want Murano Cloud Foundry Broker API service enabled, add the following line to local.conf:

    enable_service murano-cfapi
  4. If you want to use Glare Artifact Repository as a storage for packages, add the following line to local.conf:

    enable_service g-glare

    For more information on how to use Glare Artifact Repository, see glare_usage.

  5. (Optional) To import Murano packages when DevStack is up, define an ordered list of packages FQDNs in local.conf. Make sure to list all package dependencies. These packages will by default be imported from the murano-apps git repository.

    Example:

    MURANO_APPS=com.example.apache.Tomcat,org.openstack.Rally

    You can also use the variables MURANO_APPS_REPO and MURANO_APPS_BRANCH to configure the git repository which will be used as the source for the imported packages.

  6. Install DevStack:

    ./stack.sh