Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iaas-ha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OCP-TOOLS
iaas-ha
Commits
7fc6cfdf
Commit
7fc6cfdf
authored
9 years ago
by
Alessandro Costantini
Browse files
Options
Downloads
Patches
Plain Diff
second vip added; main_address and admin_address modified; identity_uri added
parent
e6104732
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!23
Dev
,
!17
Dev osvip2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
manifests/profile/heat.pp
+29
-19
29 additions, 19 deletions
manifests/profile/heat.pp
with
29 additions
and
19 deletions
manifests/profile/heat.pp
+
29
−
19
View file @
7fc6cfdf
...
...
@@ -2,14 +2,21 @@ class iaas::profile::heat (
$password
=
hiera
(
'iaas::profile::heat::password'
,
undef
),
$encryption_key
=
hiera
(
'iaas::profile::heat::encryption_key'
,
undef
),
$public_interface
=
hiera
(
'iaas::public_interface'
,
undef
),
$admin_interface
=
hiera
(
'iaas::admin_interface'
,
undef
),
##verbose, debug
$verbose
=
hiera
(
'iaas::verbose'
,
undef
),
$debug
=
hiera
(
'iaas::debug'
,
undef
),
$region
=
hiera
(
'iaas::region'
,
undef
),
$endpoint
=
hiera
(
'iaas::role::endpoint::main_address'
,
undef
),
#VIP1
$endpoint_main
=
hiera
(
'iaas::main_address'
,
undef
),
#VIP2
$endpoint_admin
=
hiera
(
'iaas::admin_address'
,
undef
),
##rhosts
$endpoint
=
hiera
(
'iaas::main_address'
,
undef
),
$rhosts
=
hiera
(
'iaas::profile::rabbitmq::rhosts'
,
undef
),
$rabbitmq_user
=
hiera
(
'iaas::profile::rabbitmq::user'
,
undef
),
$rabbitmq_password
=
hiera
(
'iaas::profile::rabbitmq::password'
,
undef
),
...
...
@@ -21,16 +28,16 @@ class iaas::profile::heat (
class
{
'::heat::keystone::auth'
:
password
=>
$password
,
public_address
=>
$endpoint
,
admin_address
=>
$endpoint
,
internal_address
=>
$endpoint
,
public_address
=>
$endpoint
_main
,
admin_address
=>
$endpoint
_admin
,
internal_address
=>
$endpoint
_admin
,
region
=>
$region
,
}
class
{
'::heat::keystone::auth_cfn'
:
password
=>
$password
,
public_address
=>
$endpoint
,
admin_address
=>
$endpoint
,
internal_address
=>
$endpoint
,
public_address
=>
$endpoint
_main
,
admin_address
=>
$endpoint
_admin
,
internal_address
=>
$endpoint
_admin
,
region
=>
$region
,
}
...
...
@@ -39,39 +46,38 @@ class iaas::profile::heat (
verbose
=>
$verbose
,
debug
=>
$debug
,
database_connection
=>
$iaas::resources::connectors::heat
,
##rabbit_hosts - uncomment as needed
# rabbit_host => $endpoint,
rpc_backend
=>
"rabbit"
,
rabbit_hosts
=>
$rhosts
,
rabbit_userid
=>
$rabbitmq_user
,
rabbit_password
=>
$rabbitmq_password
,
auth_uri
=>
"http://
${endpoint}
:5000/v2.0"
,
auth_uri
=>
"http://
${endpoint
_main
}
:5000/v2.0"
,
##Identity_uri - planed to be implemented#
# identity_uri => "http://${endpoint}:35357",
keystone_host
=>
$endpoint
,
# identity_uri => "http://${endpoint
_admin
}:35357",
keystone_host
=>
$endpoint
_admin
,
keystone_password
=>
$password
,
mysql_module
=>
'2.3'
,
database_idle_timeout
=>
3600
,
# region_name => $region,
keystone_ec2_uri
=>
"http://
${endpoint}
:5000/v2.0"
,
keystone_ec2_uri
=>
"http://
${endpoint
_main
}
:5000/v2.0"
,
}
class
{
'::heat::api'
:
bind_host
=>
$::facts
[
"ipaddress_
${
public
_interface}
"
],
bind_host
=>
$::facts
[
"ipaddress_
${
admin
_interface}
"
],
}
class
{
'::heat::api_cfn'
:
bind_host
=>
$::facts
[
"ipaddress_
${
public
_interface}
"
],
bind_host
=>
$::facts
[
"ipaddress_
${
admin
_interface}
"
],
}
class
{
'::heat::api_cloudwatch'
:
bind_host
=>
$::facts
[
"ipaddress_
${
public
_interface}
"
],
bind_host
=>
$::facts
[
"ipaddress_
${
admin
_interface}
"
],
}
class
{
'::heat::engine'
:
auth_encryption_key
=>
$encryption_key
,
heat_metadata_server_url
=>
"http://
${endpoint}
:8000"
,
heat_waitcondition_server_url
=>
"http://
${endpoint}
:8000/v1/waitcondition"
,
heat_watch_server_url
=>
"http://
${endpoint}
:8003"
,
heat_metadata_server_url
=>
"http://
${endpoint
_main
}
:8000"
,
heat_waitcondition_server_url
=>
"http://
${endpoint
_main
}
:8000/v1/waitcondition"
,
heat_watch_server_url
=>
"http://
${endpoint
_main
}
:8003"
,
}
file
{
"/usr/bin/heat-keystone-setup-domain"
:
...
...
@@ -82,7 +88,7 @@ class iaas::profile::heat (
}
->
class
{
'heat::keystone::domain'
:
auth_url
=>
"http://
${endpoint}
:35357/v2.0"
,
auth_url
=>
"http://
${endpoint
_admin
}
:35357/v2.0"
,
keystone_admin
=>
"heat"
,
keystone_password
=>
$password
,
keystone_tenant
=>
"services"
,
...
...
@@ -91,4 +97,8 @@ class iaas::profile::heat (
domain_password
=>
'heat_admin'
,
}
heat_config
{
'keystone_authtoken/identity_uri'
:
value
=>
"http://
${endpoint_admin}
:35357"
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment