Changing openstackclient commands

Change-Id: I5ff295133ee2aec1ee00e68f3e5761cb2513d2ff
Depends-On: I828047a4dae3452e4817eb8963474522883ae088
This commit is contained in:
Andrey 2016-07-22 18:04:02 +00:00
parent b7de689bad
commit 0155e7d9ae
2 changed files with 1 additions and 18 deletions

View File

@ -1,11 +0,0 @@
#!/bin/bash
export OS_PROJECT_DOMAIN_NAME=default
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_NAME=admin
export OS_USERNAME={{ openstack_user_name }}
export OS_PASSWORD={{ openstack_user_password }}
export OS_AUTH_URL=http://keystone:{{ keystone_public_port }}/v3
export OS_IDENTITY_API_VERSION=3
openstack project create service

View File

@ -49,10 +49,8 @@ service:
command: daemon.sh
post:
- name: keystone-create-project
files:
- create-project.sh
type: single
command: /opt/ccp/bin/create-project.sh
command: openstack project create service
files:
keystone-conf:
@ -61,7 +59,3 @@ files:
wsgi-keystone-conf:
path: /etc/apache2/conf-enabled/wsgi-keystone.conf
content: wsgi-keystone.conf.j2
create-project.sh:
path: /opt/ccp/bin/create-project.sh
content: create-project.sh.j2
perm: "0755"