Permalink
Browse files

Adding the ability to specify https for the public endpoint

  • Loading branch information...
1 parent 124b881 commit 68f7aecfeb85c5e875bdee2aef7118c4424c408f @derekhiggins derekhiggins committed Nov 21, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 manifests/keystone/auth.pp
@@ -25,7 +25,8 @@
$internal_address = '127.0.0.1',
$port = '9292',
$region = 'RegionOne',
- $tenant = 'services'
+ $tenant = 'services',
+ $public_protocol = 'http'
) {
Keystone_user_role["${auth_name}@${tenant}"] ~> Service <| name == 'glance-registry' |>
@@ -49,7 +50,7 @@
if $configure_endpoint {
keystone_endpoint { "${region}/$auth_name":
ensure => present,
- public_url => "http://${public_address}:${port}/v1",
+ public_url => "${public_protocol}://${public_address}:${port}/v1",
admin_url => "http://${admin_address}:${port}/v1",
internal_url => "http://${internal_address}:${port}/v1",
}

0 comments on commit 68f7aec

Please sign in to comment.