This file is indexed.

/usr/share/puppet/modules.available/puppet-community-mcollective/spec/defines/mcollective__user__setting_spec.rb is in puppet-module-puppet-community-mcollective 0.6.2-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
require 'spec_helper'

describe 'mcollective::user::setting' do
  context 'nagios:some_setting' do
    let(:title) { 'nagios:some_setting' }
    let(:params) { { 'username' => 'nagios', 'value' => 'pie', :setting => 'some_setting' } }
    it { should contain_mcollective__setting('mcollective::user::setting nagios:some_setting') }
    it { should contain_mcollective__setting('mcollective::user::setting nagios:some_setting').with_setting('some_setting') }
    it { should contain_mcollective__setting('mcollective::user::setting nagios:some_setting').with_value('pie') }
    it { should contain_mcollective__setting('mcollective::user::setting nagios:some_setting').with_target('mcollective::user nagios') }
  end
end