forked from vvaldez/astapor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request redhat-openstack#25 from GregSutcliffe/master
Parameterize trystack classes, remove old globals from JSON, style cleanup
- Loading branch information
Showing
5 changed files
with
142 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,29 +8,6 @@ | |
"name": "proxy1", | ||
"host": "https://foreman_hostname:8443" | ||
}, | ||
"globals": { | ||
"admin_email": "EDIT ME: EG [email protected]", | ||
"admin_password": "CHANGEME", | ||
"controller_node_public": "EDIT ME: EG 10.100.0.2", | ||
"fixed_network_range": "EDIT ME: EG 10.100.10.0/24", | ||
"floating_network_range": "EDIT ME: EG 8.21.28.128/25", | ||
"pacemaker_pub_floating_ip": "EDIT ME: EG 10.100.10.0/24", | ||
"pacemaker_priv_floating_ip": "EDIT ME: EG 8.21.28.128/25", | ||
"glance_db_password": "CHANGEME", | ||
"glance_user_password": "CHANGEME", | ||
"horizon_secret_key": "secret", | ||
"keystone_admin_token": "secret", | ||
"keystone_db_password": "CHANGEME", | ||
"keystone_password": "CHANGEME", | ||
"mysql_root_password": "CHANGEME", | ||
"nova_db_password": "CHANGEME", | ||
"nova_user_password": "CHANGEME", | ||
"cinder_db_password": "CHANGEME", | ||
"cinder_user_password": "CHANGEME", | ||
"private_interface": "EDIT ME: em1", | ||
"public_interface": "EDIT ME: em2", | ||
"verbose": "true" | ||
}, | ||
"hostgroups": { | ||
"OpenStack Controller": { | ||
"environment": "production", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
class trystack::params { | ||
$verbose = 'true' | ||
|
||
# Passwords are currently changed to decent strings by sed | ||
# during the setup process. This will move to the Foreman API v2 | ||
# at some point. | ||
$admin_password = 'CHANGEME' | ||
$cinder_db_password = 'CHANGEME' | ||
$cinder_user_password = 'CHANGEME' | ||
$glance_db_password = 'CHANGEME' | ||
$glance_user_password = 'CHANGEME' | ||
$horizon_secret_key = 'CHANGEME' | ||
$keystone_admin_token = 'CHANGEME' | ||
$keystone_db_password = 'CHANGEME' | ||
$mysql_root_password = 'CHANGEME' | ||
$nova_db_password = 'CHANGEME' | ||
$nova_user_password = 'CHANGEME' | ||
|
||
# Networking | ||
$private_interface = 'eth1' | ||
$public_interface = 'eth0' | ||
$fixed_network_range = inline_template("<%= scope.lookupvar('::network_${private_interface}') + '/' + scope.lookupvar('::netmask_${private_interface}') %>") | ||
$floating_network_range = inline_template("<%= scope.lookupvar('::network_${public_interface}') + '/' + scope.lookupvar('::netmask_${public_interface}') %>") | ||
$pacemaker_priv_floating_ip = inline_template("<%= scope.lookupvar('::ipaddress_${private_interface}') %>") | ||
$pacemaker_pub_floating_ip = inline_template("<%= scope.lookupvar('::ipaddress_${public_interface}') %>") | ||
|
||
# Logs | ||
$admin_email = "admin@${::domain}" | ||
} |