Skip to content

A ruby script you can add to your build process for Puppet modules that will base your .fixtures.yml on a centralized Puppetfile repository.

License

Notifications You must be signed in to change notification settings

joshsouza/puppet_fixture_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Puppet Fixture Helper

A ruby script you can add to your build process for Puppet modules that will base your .fixtures.yml on a centralized Puppetfile repository.

Can be added to a Rakefile with something like:

desc 'Prepare fixtures'
  RSpec::Core::RakeTask.new(:fixtures) do |t|
  t.pattern = 'spec/fixture_helper.rb'
  t.rspec_opts = ['--color']
end

This is designed to support the ideal r10k workflow which utilizes a single repository for managing your module environments. It does actually check out the puppetfile repo locally, which might not be fully necessary, and the '.puppetfile' directory should be added to your '.gitignore', but beyond that it's pretty simple.

About

A ruby script you can add to your build process for Puppet modules that will base your .fixtures.yml on a centralized Puppetfile repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages