```$git_env = $::server_facts[environment] if (($...
# puppet-enterprise
t
Copy code
$git_env = $::server_facts[environment]
 if (($git_env == 'development') or ($git_env == 'dev_puppet')) {
    $activation_key = 'centosdevkey'
  }
  elsif ($git_env == 'test') {
    $activation_key = 'centostestkey'
  }
  elsif ($git_env == 'acceptance') {
    $activation_key = 'centosacpkey'
  }
  elsif ($git_env == 'production') {
    $activation_key = 'centosprdkey'
  }