Puppet: System Administration Automated

Support

Ticket #586 (new enhancement)

Opened 2 years ago

Last modified 9 months ago

Unit test data should be locally overridable

Reported by: luke Assigned to: luke
Priority: normal Milestone: unplanned
Component: testing Version:
Severity: normal Keywords:
Cc: Triage Stage: Needs design decision
Attached Patches: None Complexity: Easy

Description

As the tests get more complicated, we're adding more test data, but a lot of the test data only works on specific hosts (e.g., different machines run different services that are testable).

We need to have decent default data in the test/data/ directory, preferably in yaml, but it should be locally overridable so that if someone wants to test a different service or package, they can.

David Schmitt proposed /etc/puppet/test.conf.yaml; I'd probably prefer s/.conf//, but otherwise am ok with that. Note that tests will need to work as both root and a normal user.

Change History

04/24/08 07:44:39 changed by luke

  • component changed from tests to testing.