File: facts_spec.rb

package info (click to toggle)
ruby-rspec-puppet 4.0.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,444 kB
  • sloc: ruby: 6,377; makefile: 6
file content (12 lines) | stat: -rw-r--r-- 540 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

require 'spec_helper'

describe 'facts.acme.com' do
  it { is_expected.to contain_file('environment').with_path('rp_env') }
  it { is_expected.to contain_file('clientversion').with_path(Puppet::PUPPETVERSION) }
  it { is_expected.to contain_file('fqdn').with_path('facts.acme.com') }
  it { is_expected.to contain_file('hostname').with_path('facts') }
  it { is_expected.to contain_file('domain').with_path('acme.com') }
  it { is_expected.to contain_file('clientcert').with_path('cert facts.acme.com') }
end