forked from openshift/puppet-openshift_origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure_origin.pp.broker_example
33 lines (28 loc) · 1.37 KB
/
configure_origin.pp.broker_example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
class { 'openshift_origin' :
# Components to install on this host:
roles => ['broker','nameserver','msgserver','datastore'],
# BIND / named config
# This is the key for updating the OpenShift BIND server
bind_key => '<DNSSEC_BIND_KEY>',
# The domain under which applications should be created.
domain => 'example.com',
# Apps would be named <app>-<namespace>.example.com
# This also creates hostnames for local components under our domain
register_host_with_nameserver => true,
# Forward requests for other domains (to Google by default)
conf_nameserver_upstream_dns => ['<UPSTREAM_DNS_IP>'],
# NTP Servers for OpenShift hosts to sync time
ntp_servers => ['<NTP_SERVER_FQDN> iburst'],
# The FQDNs of the OpenShift component hosts
broker_hostname => '<BROKER_HOSTNAME>.example.com',
nameserver_hostname => '<BROKER_HOSTNAME>.example.com',
datastore_hostname => '<BROKER_HOSTNAME>.example.com',
msgserver_hostname => '<BROKER_HOSTNAME>.example.com',
# Auth OpenShift users created with htpasswd tool in /etc/openshift/htpasswd
broker_auth_plugin => 'htpasswd',
# Username and password for initial openshift user
openshift_user1 => 'openshift',
openshift_password1 => 'password',
#Enable development mode for more verbose logs
development_mode => true,
}