Skip to content

Instantly share code, notes, and snippets.

Created November 14, 2013 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7462186 to your computer and use it in GitHub Desktop.
Save anonymous/7462186 to your computer and use it in GitHub Desktop.
class { 'openshift_origin' :
# Components to install on this host:
roles => ['broker','named','activemq','datastore','node'],
# The FQDNs of the OpenShift component hosts; for a single-host
# system, make all values identical.
broker_hostname => 'broker.example.com',
node_hostname => 'broker.example.com',
named_hostname => 'broker.example.com',
datastore_hostname => 'broker.example.com',
activemq_hostname => 'broker.example.com',
# BIND / named config
# This is the key for updating the OpenShift BIND server
bind_key => 'Mczfz277B5ykcPB4mAurZtZMhmXV6g==',
# 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_named => true,
# Forward requests for other domains (to Google by default)
conf_named_upstream_dns => ['8.8.8.8'],
# 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',
# To selected installing cartridge:
install_method => 'yum',
install_cartridges => ['php','haproxy','mariadb'],
#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'],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment