Skip to content

Instantly share code, notes, and snippets.

@auxesis
Created July 25, 2012 07:44
Show Gist options
  • Save auxesis/3174963 to your computer and use it in GitHub Desktop.
Save auxesis/3174963 to your computer and use it in GitHub Desktop.
no exported resources - how do it then?
node /^mostage-dvmh-sphinx-\d+.cust.bulletproof.net$/ {
movember_sphinx_server { $::fqdn:
collectd_client_report_to => 'mostage-dvmh-mgmt-01.cust.bulletproof.net',
syslog_client_report_to => 'mostage-dvmh-mgmt-01.cust.bulletproof.net',
}
}
node /^mostage-dvmh-slave-\d+.cust.bulletproof.net$/ {
if $::fqdn =~ /slave-02/ {
movember_sphinx_server { $::fqdn:
indexer => true,
frontend_servers => [
'mostage-dvmh-sphinx-01',
'mostage-dvmh-sphinx-02',
'mostage-dvmh-sphinx-03',
'mostage-dvmh-sphinx-04'
]
collectd_client_report_to => 'mostage-dvmh-mgmt-01.cust.bulletproof.net',
syslog_client_report_to => 'mostage-dvmh-mgmt-01.cust.bulletproof.net',
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment