<commit_before>describe 'chef-push-jobs package' do
  it 'should be installed' do
    expect(file '/opt/push-jobs-client/bin/pushy-client').to exist
    expect(file '/opt/push-jobs-client/bin/pushy-service-manager').to exist
  end
end

describe file('/etc/chef/push-jobs-client.rb') do
  it { should be_file }
  it { should be_owned_by 'root' }
  its('group') { should eq 'root' }
  its('mode') { should cmp 0644 }
  its('content') { should match /whitelist\({"chef-client"=>"chef-client"}\)/ }
  its('content') { should match /LC_ALL='en_US.UTF-8'/ }
  its('content') { should match /allow_unencrypted true/ }
end

if ( os[:family] == 'centos' && os[:release].to_i > 6 ||
<<<<<<< Updated upstream
     os[:family] == 'debian' && os[:release].to_i > 7 ||
     os[:family] == 'ubuntu' )
=======
     os[:family] == 'debian' && os[:release].to_i > 7 )
>>>>>>> Stashed changes
  describe service('chef-push-jobs-client') do
    it { should be_enabled }
    it { should be_running }
  end
else
  describe command('sv status chef-push-jobs-client') do
    its('stdout') { should match /run: chef-push-jobs-client|want up/ }
  end
end<commit_msg>Remove merge artifact<commit_after>describe 'chef-push-jobs package' do
  it 'should be installed' do
    expect(file '/opt/push-jobs-client/bin/pushy-client').to exist
    expect(file '/opt/push-jobs-client/bin/pushy-service-manager').to exist
  end
end

describe file('/etc/chef/push-jobs-client.rb') do
  it { should be_file }
  it { should be_owned_by 'root' }
  its('group') { should eq 'root' }
  its('mode') { should cmp 0644 }
  its('content') { should match /whitelist\({"chef-client"=>"chef-client"}\)/ }
  its('content') { should match /LC_ALL='en_US.UTF-8'/ }
  its('content') { should match /allow_unencrypted true/ }
end

if ( os[:family] == 'centos' && os[:release].to_i > 6 ||
     os[:family] == 'debian' && os[:release].to_i > 7 ||
     os[:family] == 'ubuntu' )
  describe service('chef-push-jobs-client') do
    it { should be_enabled }
    it { should be_running }
  end
else
  describe command('sv status chef-push-jobs-client') do
    its('stdout') { should match /run: chef-push-jobs-client|want up/ }
  end
end
{'fraction_non_alphanumeric': 0.1811494252873563, 'fraction_numerical': 0.006896551724137931, 'mean_word_length': 3.6495726495726495, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2963567', 'n_tokens_mistral': 804, 'n_tokens_neox': 766, 'n_words': 177}