<commit_before>require 'spec_helper_acceptance'

describe 'icinga2 class' do

  describe 'with API, IDO mysql and pgsql' do
    let(:pp) do
      <<-MANIFEST
        case $::osfamily {
          'redhat': {
            package { 'epel-release': }
          } # RedHat
        }
        class { 'icinga2':
          manage_repo => true,
          constants   => {
            'TicketSalt' => 'topsecret4ticketid',
          },
        }
        include mysql::server
        include mysql::client
        mysql::db { 'icinga2':
          user     => 'icinga2',
          password => '<PASSWORD>',
          host     => 'localhost',<commit_msg>add acceptance test for rhel8<commit_after>require 'spec_helper_acceptance'

describe 'icinga2 class' do

  describe 'with API, IDO mysql and pgsql' do
    let(:pp) do
      <<-MANIFEST
        if $facts['os']['name'] == 'centos' and Integer($facts['os']['release']['major']) < 8 {
            package { 'epel-release': }
        }
        class { 'icinga2':
          manage_repo => true,
          constants   => {
            'TicketSalt' => 'topsecret4ticketid',
          },
        }
        include mysql::server
        include mysql::client
        mysql::db { 'icinga2':
          user     => 'icinga2',
          password => '<PASSWORD>',
          host     => 'localhost',
{'fraction_non_alphanumeric': 0.13574660633484162, 'fraction_numerical': 0.00904977375565611, 'mean_word_length': 1.7878151260504203, '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': '2203926', 'n_tokens_mistral': 397, 'n_tokens_neox': 389, 'n_words': 89}