File: facts_spec.rb

package info (click to toggle)
ruby-rspec-puppet 2.9.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,416 kB
  • sloc: ruby: 6,661; makefile: 6
file content (10 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
require 'spec_helper'

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