Skip to content

Instantly share code, notes, and snippets.

@btisdall
Last active December 23, 2015 12:59
Show Gist options
  • Save btisdall/6639217 to your computer and use it in GitHub Desktop.
Save btisdall/6639217 to your computer and use it in GitHub Desktop.
node /hub[0-9]+\.example/ {
$hub_service_node = 'hub1.example'
class { 'base': }
class { 'service_a': active_node => $hub_service_node }
class { 'service_b': active_node => $hub_service_node }
class { 'service_c': active_node => 'hub3.example' }
class { 'service_d': active_node => 'hub5.example' }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment