mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-12-02 23:07:09 +01:00
3bcdc902dc
* 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
|