14 lines
		
	
	
		
			217 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			217 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
control 'salt services' do
 | 
						|
  title 'should be running'
 | 
						|
 | 
						|
  %w(
 | 
						|
    salt-master
 | 
						|
    salt-minion
 | 
						|
  ).each do |p|
 | 
						|
    describe service(p) do
 | 
						|
      it { should be_enabled }
 | 
						|
      it { should be_running }
 | 
						|
    end
 | 
						|
  end
 | 
						|
end
 |