Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Deploy heat APIs over httpd
Browse files Browse the repository at this point in the history
Change-Id: I355ab252fd421db6c15e8ecdde90427077b1c785
Depends-On: I85e116bec524ba37e96c5761346084ab149601cc
Depends-On: Id988e8d286761550da4849c0695f5f5a37116a11
Depends-On: I253f46f5ad943971dd9ea6995591c72a36953bdb
  • Loading branch information
JAORMX committed Feb 28, 2017
1 parent 6ba1176 commit 882103e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 2 additions & 3 deletions elements/puppet-stack-config/puppet-stack-config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -459,16 +459,15 @@
'clients/endpoint_type': value => 'internal',
}
include ::heat::api
include ::heat::wsgi::apache_api
include ::heat::api_cfn
include ::heat::wsgi::apache_api_cfn
include ::heat::engine
include ::heat::keystone::domain
include ::heat::cron::purge_deleted
include ::heat::cors

# We're creating the admin role and heat domain user in puppet and need
# to make sure they are done in order.
include ::keystone::roles::admin
Service['httpd'] -> Class['::keystone::roles::admin'] -> Class['::heat::keystone::domain']

nova_config {
'DEFAULT/sync_power_state_interval': value => hiera('nova_sync_power_state_interval');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,16 @@ heat::keystone::domain::domain_name: 'heat_stack'
heat::keystone::domain::domain_password: {{UNDERCLOUD_HEAT_STACK_DOMAIN_ADMIN_PASSWORD}}
heat::api::bind_host: {{LOCAL_IP}}
heat::api::workers: "%{::os_workers}"
heat::api::service_name: 'httpd'
heat::api_cfn::bind_host: {{LOCAL_IP}}
heat::api_cfn::workers: "%{::os_workers}"
heat::api_cfn::service_name: 'httpd'
heat::wsgi::apache_api::ssl: false
heat::wsgi::apache_api::bind_host: {{LOCAL_IP}}
heat::wsgi::apache_api::workers: "%{hiera('heat::api::workers')}"
heat::wsgi::apache_api_cfn::ssl: false
heat::wsgi::apache_api_cfn::bind_host: {{LOCAL_IP}}
heat::wsgi::apache_api_cfn::workers: "%{hiera('heat::api_cfn::workers')}"
heat::database_connection: mysql+pymysql://heat:{{UNDERCLOUD_HEAT_PASSWORD}}@{{LOCAL_IP}}/heat
heat_dsn: mysql+pymysql://heat:{{UNDERCLOUD_HEAT_PASSWORD}}@{{LOCAL_IP}}/heat
heat::rpc_response_timeout: 600
Expand Down

0 comments on commit 882103e

Please sign in to comment.