Skip to content

Instantly share code, notes, and snippets.

@rafalf
Created February 17, 2015 15:04
Show Gist options
  • Save rafalf/78b860c0dd939fc325b1 to your computer and use it in GitHub Desktop.
Save rafalf/78b860c0dd939fc325b1 to your computer and use it in GitHub Desktop.
puppet: executing manifests conditioned by $envtype facter (system env variable: FACTER_envtype)
if $envtype == 'distributed_prod'
{
include app_config
include install_newrelic_server
include dns_suffix_prod
include install_sts_prod
include grant_cert_perm_prod
include task_windows_time
}
elsif $envtype == 'distributed_test'
{
include app_config
include install_newrelic_server
include install_cloudberrys3
include install_sts12
include grant_cert_perm
include task_windows_time
}
elsif $envtype == 'collapsed'
{
include app_config
include install_newrelic_server
include install_collapsed
include install_cloudberrys3
include install_sts12
include grant_cert_perm
include task_windows_time
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment