Puppet Class: openstack::profile::horizon

Defined in:
manifests/profile/horizon.pp

Overview

Profile to install the horizon web service



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/profile/horizon.pp', line 2

class openstack::profile::horizon {
  class { '::horizon':
    fqdn            => [ '127.0.0.1', hiera('openstack::controller::address::api'), $::fqdn ],
    secret_key      => hiera('openstack::horizon::secret_key'),
    cache_server_ip => hiera('openstack::controller::address::management'),

  }

  openstack::resources::firewall { 'Apache (Horizon)': port => '80' }
  openstack::resources::firewall { 'Apache SSL (Horizon)': port => '443' }

  if $::selinux and str2bool($::selinux) != false {
    selboolean{'httpd_can_network_connect':
      value      => on,
      persistent => true,
    }
  }

}