Skip to content

Instantly share code, notes, and snippets.

@Zordrak
Created June 23, 2014 10:09
Show Gist options
  • Save Zordrak/5397156e2a90cfeb2a5f to your computer and use it in GitHub Desktop.
Save Zordrak/5397156e2a90cfeb2a5f to your computer and use it in GitHub Desktop.
node default {
}
node '1.customer1.com' {
class {
'deployment_server':
apache_clubs => [ 'thing1', 'thing2' ],
ec_url => 'cheapthing1.customer1.com',
sc_url => 'thing2.customer1.com',
app_server_ip => 'REDACTED',
node_short_name => 'REDACTED',
proxy_preserve_host => 'On',
proxy_error_override => 'On',
}
}
node '2.customer1.com' {
class {
'deployment_server':
apache_clubs => [ 'thing1', 'thing2' ],
ec_url => 'cheapthing1.customer1.com',
sc_url => 'thing2.customer1.com',
app_server_ip => 'REDACTED',
node_short_name => 'REDACTED',
proxy_preserve_host => 'On',
proxy_error_override => 'On',
}
}
node 'a1.customer1.com' {
class {
'deployment_server':
tomcat_clubs => [ 'thing1', 'thing2' ],
ec_url => 'cheapthing1.customer1.com',
sc_url => 'thing2.customer1.com',
db_ip => 'REDACTED',
liquibase_pw => 'REDACTED',
web_pw => 'REDACTED',
node_short_name => 'REDACTED',
use_cdn => 'true',
}
}
node 'a2.customer1.com' {
class {
'deployment_server':
tomcat_clubs => [ 'thing1', 'thing2' ],
ec_url => 'cheapthing1.customer1.com',
sc_url => 'thing2.customer1.com',
db_ip => 'REDACTED',
liquibase_pw => 'REDACTED',
web_pw => 'REDACTED',
node_short_name => 'REDACTED',
use_cdn => 'true',
}
}
node 'ad1.customer1.com' {
class {
'deployment_server':
apache_clubs => [ 'admin' ],
tomcat_clubs => [ 'admin' ],
ca_url => 'ca.customer1.com',
db_ip => 'REDACTED',
liquibase_pw => 'REDACTED',
admin_pw => 'REDACTED',
ssl_cert => 'customer1.com-wildcard-cert-2017',
ssl_key => 'customer1.com-wildcard-key',
ssl_chain => 'RapidSSL_CA_bundle.pem',
app_server_ip => '127.0.0.1',
node_short_name => 'ad1',
proxy_preserve_host => 'On',
proxy_error_override => 'On',
internal_allow_list => {
'Loopback4' => '127.0.0.1/32',
'Loopback6' => '::1',
REDACTED
}
}
}
node 'w-preprod.demo.us.org' {
class {
'deployment_server':
apache_clubs => [ 'thing1', 'thing2' ],
ec_url => 'ec-preprod.demo.us.org',
sc_url => 'sc-preprod.demo.us.org',
app_server_ip => 'REDACTED',
node_short_name => 'w-preprod',
proxy_preserve_host => 'On',
proxy_error_override => 'On',
internal_allow_list => {
'Loopback4' => '127.0.0.1/32',
'Loopback6' => '::1',
REDACTED
}
}
}
node 'a-preprod.demo.us.org' {
class {
'deployment_server':
tomcat_clubs => [ 'thing1', 'thing2' ],
ec_url => 'ec-preprod.demo.us.org',
sc_url => 'sc-preprod.demo.us.org',
db_ip => 'REDACTED',
liquibase_pw => 'REDACTED',
web_pw => 'REDACTED',
node_short_name => 'a-preprod',
use_cdn => 'true',
}
}
node 'ad-preprod.demo.us.org' {
class {
'deployment_server':
apache_clubs => [ 'admin' ],
tomcat_clubs => [ 'admin' ],
ca_url => 'ca-preprod.demo.us.org',
db_ip => 'REDACTED',
liquibase_pw => 'REDACTED',
admin_pw => 'REDACTED',
ssl_cert => 'wildcard.demo.us.org.crt',
ssl_key => 'wildcard.demo.us.org.key',
ssl_ca => 'wildcard.demo.us.org.intermediate.crt',
app_server_ip => '127.0.0.1',
node_short_name => 'ad-preprod',
proxy_preserve_host => 'On',
proxy_error_override => 'On',
internal_allow_list => {
'Loopback4' => '127.0.0.1/32',
'Loopback6' => '::1',
REDACTED
}
}
}
node 'staging.allfiled.local' {
class {
'deployment_server':
apache_clubs => [ 'thing1', 'thing2', 'admin' ],
tomcat_clubs => [ 'thing1', 'thing2', 'admin' ],
ec_url => 'thing1-staging.demo.us.org',
sc_url => 'thing2-staging.demo.us.org',
ca_url => 'thing3-staging.demo.us.org',
db_ip => '127.0.0.1',
liquibase_pw => 'REDACTED',
web_pw => 'REDACTED',
admin_pw => 'REDACTED',
ssl_cert => 'wildcard.demo.us.org.crt',
ssl_key => 'wildcard.demo.us.org.key',
ssl_ca => 'wildcard.demo.us.org.intermediate.crt',
app_server_ip => '127.0.0.1',
node_short_name => 'clubs7-staging',
proxy_preserve_host => 'On',
proxy_error_override => 'Off',
use_cdn => 'false',
internal_allow_list => {
'Loopback4' => '127.0.0.1/32',
'Loopback6' => '::1',
REDACTED'
}
}
}
node 'devtest.allfiled.local' {
class {
'deployment_server':
apache_clubs => [ 'thing1', 'thing2', 'admin' ],
tomcat_clubs => [ 'thing1', 'thing2', 'admin' ],
ec_url => 'thing1-devtest.demo.us.org',
sc_url => 'thing2-devtest.demo.us.org',
ca_url => 'thing3-devtest.demo.us.org',
db_ip => '127.0.0.1',
liquibase_pw => 'REDACTED',
web_pw => 'REDACTED',
admin_pw => 'REDACTED',
ssl_cert => 'wildcard.demo.us.org.crt',
ssl_key => 'wildcard.demo.us.org.key',
ssl_ca => 'wildcard.demo.us.org.intermediate.crt',
app_server_ip => '127.0.0.1',
node_short_name => 'clubs7-devtest',
proxy_preserve_host => 'On',
proxy_error_override => 'Off',
use_cdn => 'false',
internal_allow_list => {
'Loopback4' => '127.0.0.1/32',
'Loopback6' => '::1',
REDACTED
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment