blob: e434f6891ae9bd625201f156443d241c53534982 [file] [log] [blame]
{% set server = salt['grains.filter_by']({
'Arch': {
'pkgs': ['statsd'],
'service': 'statsd',
'config_prefix': '/etc/statsd/',
'service_location': '/etc/init.d/statsd',
'source': 'https://github.com/etsy/statsd.git',
'config': "".join(('/etc/statsd/','localConfig.js'),),
},
'Debian': {
'pkgs': ['statsd'],
'service': 'statsd',
'config_prefix': '/etc/statsd/',
'service_location': '/etc/init.d/statsd',
'source': 'https://github.com/etsy/statsd.git',
'config': "".join(('/etc/statsd/','localConfig.js'),),
},
'RedHat': {
'pkgs': ['statsd'],
'service': 'statsd',
'config_prefix': '/etc/statsd/conf.d/',
'service_location': '/etc/init.d/statsd',
'source': 'https://github.com/etsy/statsd.git',
'config': "".join(('/etc/statsd/','localConfig.js'),),
}
}, merge=salt['pillar.get']('statsd:server')) %}