The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Refactor #13692

Update puppetlabs_spec_helper to use new puppet core spec helper API

Added by Chris Price about 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:04/09/2012
Priority:UrgentDue date:
Assignee:Chris Price% Done:


Target version:2.7.14
Affected Puppet version: Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


It sounds like we are going to start using puppetlabs_spec_helper as a bridge between external projects (stdlib, grayskull, etc.) and puppet core. The goal here is to try to standardize on a simple API for test initialization / teardown, which will be compatible across multiple versions of puppet core so that external projects do not need to bother with the implementation details of setting up puppet for testing.

To this end: puppetlabs_spec_helper needs to be tweaked to call the new before/after API methods described in ticket #13595 (plus #13690, #13691).

Related issues

Blocks Puppet - Bug #13595: initialize_everything_for_tests couples modules to specif... Closed 04/02/2012 04/11/2012
Blocked by Puppet - Refactor #13691: Update puppet master for spec_helper compatibility with e... Closed 04/09/2012
Blocked by Puppet - Refactor #13690: Update puppet 2.7.x for spec_helper compatibility with ex... Closed 04/09/2012
Blocks Standard Library - Refactor #13693: Modify stdlib spec_helper to use puppetlabs_spec_helper Merged - Pending Release 04/09/2012
Blocks Puppet - Feature #13695: documentation for spec compatibility between external pro... Closed 04/09/2012


#1 Updated by Chris Price about 4 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Branch set to

#2 Updated by Chris Price about 4 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

#3 Updated by Moses Mendoza over 3 years ago

Can this ticket be updated?

#4 Updated by Chris Price over 3 years ago

  • Status changed from Merged - Pending Release to Closed

Also available in: Atom PDF