diff --git a/manifests/endpoint.pp b/manifests/endpoint.pp index d804f2a35..d5daf3e03 100644 --- a/manifests/endpoint.pp +++ b/manifests/endpoint.pp @@ -25,7 +25,8 @@ class keystone::endpoint( $internal_address = '127.0.0.1', $public_port = '5000', $admin_port = '35357', - $region = 'RegionOne' + $region = 'RegionOne', + $public_protocol = 'http' ) { keystone_service { 'keystone': ensure => present, @@ -34,7 +35,7 @@ class keystone::endpoint( } keystone_endpoint { "${region}/keystone": ensure => present, - public_url => "http://${public_address}:${public_port}/v2.0", + public_url => "${public_protocol}://${public_address}:${public_port}/v2.0", admin_url => "http://${admin_address}:${admin_port}/v2.0", internal_url => "http://${internal_address}:${public_port}/v2.0", region => $region,