<commit_before>require 'spec_helper'

describe 'zabbix::sender' do
  let :node do
    'agent.example.com'
  end
  on_supported_os.each do |os, facts|
    context "on #{os} " do
      let(:facts) do
        facts
      end
      context 'with all defaults' do
        it { should contain_class('zabbix::sender') }
        it { should compile.with_all_deps }
        # Make sure package will be installed, service running and ensure of directory.
        it { should contain_package('zabbix-sender').with_ensure('present') }<commit_msg>mock is_pe fact in sender spec tests<commit_after>require 'spec_helper'

describe 'zabbix::sender' do
  let :node do
    'agent.example.com'
  end
  on_supported_os.each do |os, facts|
    context "on #{os} " do
      let(:facts) do
        facts.merge(
          is_pe: false
        )
      end
      context 'with all defaults' do
        it { should contain_class('zabbix::sender') }
        it { should compile.with_all_deps }
        # Make sure package will be installed, service running and ensure of directory.
        it { should contain_package('zabbix-sender').with_ensure('present') }
{'fraction_non_alphanumeric': 0.09902740937223696, 'fraction_numerical': 0.0, 'mean_word_length': 2.7859531772575252, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4710358', 'n_tokens_mistral': 344, 'n_tokens_neox': 339, 'n_words': 104}