require_relative './spec_helper'

describe service('rsyslog') do
  it { should be_running }
end

describe package('rsyslog-relp') do
  it { should be_installed }
end

require_relative './spec_helper'

describe service('rsyslog') do
  it { should be_running }
end

describe package('rsyslog-relp') do
  it { should be_installed }
end

describe file('/etc/rsyslog.d/49-remote.conf') do
  its(:content) { should match /'*.* :omrelp:10.0.0.45:20514\n'*.* :omrelp:10.1.1.33:20514;RSYSLOG_SyslogProtocol23Format/ }
end

Test relp so we don't break break it again
Test relp so we don't break break it again
