mirror of
				https://github.com/saltstack-formulas/users-formula.git
				synced 2025-10-31 04:41:34 +01:00 
			
		
		
		
	* Based on `ssf-formula` (v0.3.0) - https://github.com/myii/ssf-formula/pull/5 * Unable to use `pillar.example` directly for testing - Used it as a basis for `test/salt/pillar/default.sls` - Brought useful changes back to `pillar.example` * Fix: avoid `users/googleauth.sls` for `RedHat` & `Suse` * Close #203
		
			
				
	
	
		
			11 lines
		
	
	
		
			283 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			283 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| control 'users configuration' do
 | |
|   title 'should match desired lines'
 | |
| 
 | |
|   describe file('/custom/buser') do
 | |
|     its('type') { should eq :directory }
 | |
|     it { should be_owned_by 'buser' }
 | |
|     it { should be_grouped_into 'primarygroup' }
 | |
|     its('mode') { should cmp '0750' }
 | |
|   end
 | |
| end
 |