- defaults: | - defaults: | ||||
user: nobody | user: nobody | ||||
server: '/usr/local/bin/clustercheck {{ clustercheck.get('user', 'clustercheck') }} {{ clustercheck.get('password', 'clustercheck') }} {{ clustercheck.get('available_when_donor', 0) }} {{ clustercheck.get('available_when_readonly', 0) }}' | server: '/usr/local/bin/clustercheck {{ clustercheck.get('user', 'clustercheck') }} {{ clustercheck.get('password', 'clustercheck') }} {{ clustercheck.get('available_when_donor', 0) }} {{ clustercheck.get('available_when_readonly', 0) }}' | ||||
port: clustercheck.get('port', 9200) | |||||
port: {{ clustercheck.get('port', 9200) }} | |||||
flags: REUSE | flags: REUSE | ||||
per_source: UNLIMITED | per_source: UNLIMITED | ||||
- require: | - require: |
describe file('/etc/xinetd.d/mysql_clustercheck_9200') do | |||||
describe file('/etc/xinetd.d/mysql_clustercheck.conf') do | |||||
it('should exist') | it('should exist') | ||||
its('content') { should match /clustercheck password clustercheck 1 1/ } | its('content') { should match /clustercheck password clustercheck 1 1/ } | ||||
end | end |