Saltstack Official Users Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011
  1. # frozen_string_literal: true
  2. control 'vimrc is managed' do
  3. title 'formula should manage .vimrc'
  4. describe file('/home/vim_user/.vimrc') do
  5. it { should be_owned_by 'vim_user' }
  6. its('mode') { should cmp '0644' }
  7. its('content') { should match(/syntax on/) }
  8. end
  9. end