1 # Example using apache to serve keystone
3 # To be sure everything is working, run:
4 # $ export OS_USERNAME=admin
5 # $ export OS_PASSWORD=ChangeMe
6 # $ export OS_TENANT_NAME=openstack
7 # $ export OS_AUTH_URL=http://keystone.local/keystone/main/v2.0
10 # +-------------+----------------------------------------------+
11 # | Property | Value |
12 # +-------------+----------------------------------------------+
13 # | adminURL | http://keystone.local:80/keystone/admin/v2.0 |
14 # | id | 4f0f55f6789d4c73a53c51f991559b72 |
15 # | internalURL | http://keystone.local:80/keystone/main/v2.0 |
16 # | publicURL | http://keystone.local:80/keystone/main/v2.0 |
17 # | region | RegionOne |
18 # +-------------+----------------------------------------------+
21 Exec { logoutput => 'on_failure' }
23 class { '::mysql::server': }
24 class { '::keystone::db::mysql':
25 password => 'keystone',
30 database_connection => 'mysql://keystone_admin:keystone@127.0.0.1/keystone',
31 catalog_type => 'sql',
32 admin_token => 'admin_token',
35 class { '::keystone::cron::token_flush': }
36 class { '::keystone::roles::admin':
37 email => 'test@puppetlabs.com',
38 password => 'ChangeMe',
40 class { '::keystone::endpoint':
41 public_url => "https://${::fqdn}:443/main/",
42 admin_url => "https://${::fqdn}:443/admin/",
45 keystone_config { 'ssl/enable': ensure => absent }
48 class { '::keystone::wsgi::apache':
52 public_path => '/main/',
53 admin_path => '/admin/'