Clone
 

r. tyler croy <tyler@monkeypox.org> in Infrastructure-puppet

Introduce Vagrant+Serverspec based support for writing integration tests

This changeset introduces the machinery necessary to run a proper set of

serverspec tests for a conceptual 'role' in the ASF Puppet infrastructure (e.g.

"base ubuntu", "base centos", <specific-node>).

    • -1
    • +0
    /modules/rootbin_asf/files/bin/qfixq.pl
    • -1
    • +0
    /modules/rootbin_asf/files/bin/qmail/qfixq.pl
    • -0
    • +8
    /spec/server/base_ubuntu/emergency_access_spec.rb
    • -0
    • +17
    /spec/server/spec_helper.rb
Refactor the orthrus module to reduce the amount of duplicated resource declarations

    • -26
    • +17
    /modules/orthrus/manifests/init.pp
    • -2
    • +10
    /spec/classes/orthrus/orthrus_spec.rb
Add the machinery necessary to run rspec-puppet tests against these modules

This is largely cribbed from jenkins-infra RSpec tooling which can be found in

<https://github.com/jenkins-infra/jenkins-infra/spec>

For more information about how to use rspec-puppet see: <http://rspec-puppet.com/>

    • -0
    • +23
    /spec/classes/orthrus/orthrus_spec.rb
    • -0
    • +21
    /spec/spec_helper.rb