forked from UhuruSoftware/puppet-openshift_origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure_origin.pp.node_example
39 lines (31 loc) · 1.48 KB
/
configure_origin.pp.node_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
34
35
36
37
38
39
class { 'openshift_origin' :
# Components to install on this host:
roles => ['node'],
# BIND / named config
# This is the key for updating the OpenShift BIND server
bind_key => '<DNSSEC_BIND_KEY>',
# This is the IP address for OpenShift BIND server - here, the broker.
nameserver_ip_addr => '<BROKER_IP_ADDRESS>',
# 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,
# The FQDNs of the OpenShift component hosts we will need
broker_hostname => '<BROKER_HOSTNAME>.example.com',
msgserver_hostname => '<BROKER_HOSTNAME>.example.com',
node_hostname => '<NODE_HOSTNAME>.example.com',
# NTP Servers for OpenShift hosts to sync time
ntp_servers => ['<NTP_SERVER_FQDN> iburst'],
# To enable installing the Jenkins cartridge:
install_method => 'yum',
jenkins_repo_base => 'http://pkg.jenkins-ci.org/redhat',
# Cartridges to install on Node hosts
install_cartridges => ['php', 'mysql'],
#Enable development mode for more verbose logs
#development_mode => true,
# Set if using an external-facing ethernet device other than eth0
#conf_node_external_eth_dev => 'eth0',
#If using with GDM, or have users with UID 500 or greater, put in this list
#node_unmanaged_users => ['user1'],
}