Saltstack Official Galera Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

checks_clustercheck_spec.rb 411B

12345678910
  1. describe file('/etc/xinetd.d/mysql_clustercheck') do
  2. it('should exist')
  3. its('content') { should match /server.*\/usr\/local\/bin\/mysql_clustercheck/ }
  4. its('content') { should match /server_args.*clustercheck password available_when_donor=1 \/dev\/null available_when_readonly=1/ }
  5. end
  6. describe file('/usr/local/bin/mysql_clustercheck') do
  7. it('should exist')
  8. it('should be_executable')
  9. end