Skip to content
Snippets Groups Projects
Commit 0aa7ed58 authored by Alessandro Costantini's avatar Alessandro Costantini
Browse files

openrc refactored

parent c09bec05
No related branches found
No related tags found
2 merge requests!31Mitaka,!30Dev roadtomitaka
......@@ -3,11 +3,23 @@ class iaas::profile::auth_file (
$admin_password = 'admin',
$admin_tenant = 'admin',
$region = undef,
$region = $iaas::params::os_region,
$endpoint_hostname = undef,
#VIP1
$endpoint_main = $iaas::params::main_address,
#VIP2
$endpoint_admin = $iaas::params::admin_address,
) {
if $endpoint_admin == '' {
$endpoint_hostname = $endpoint_main
}else{
$endpoint_hostname = $endpoint_admin
}
class { 'iaas::resources::auth_file':
admin_tenant => $admin_tenant,
admin_password => $admin_password,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment