Puppet Class: profile::openstack::base::keystone::apache

Defined in:
modules/profile/manifests/openstack/base/keystone/apache.pp

Overview

Parameters:

  • version (String) (defaults to: lookup('profile::openstack::base::version'))
  • admin_bind_port (Stdlib::Port) (defaults to: lookup('profile::openstack::base::admin_bind_port'))
  • public_bind_port (Stdlib::Port) (defaults to: lookup('profile::openstack::base::public_bind_port'))


1
2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'modules/profile/manifests/openstack/base/keystone/apache.pp', line 1

class profile::openstack::base::keystone::apache(
    String $version = lookup('profile::openstack::base::version'),
    Stdlib::Port $admin_bind_port = lookup('profile::openstack::base::admin_bind_port'),
    Stdlib::Port $public_bind_port = lookup('profile::openstack::base::public_bind_port'),
) {
    class { '::httpd':
        modules => ['wsgi'],
    }

    httpd::site { 'wsgi-keystone':
        ensure  => 'present',
        content => template("openstack/${version}/keystone/apache.conf.erb"),
    }
}