To puppet apply a class:
bundle exec puppet apply \
--modulepath=spec/fixtures/modules \
--hiera_config=spec/fixtures/hiera/hiera.yml manifests/init.pp
To test a Hiera lookup:
bundle exec puppet lookup \
--hiera_config=spec/fixtures/hiera/hiera.yaml foo
To run the tests:
bundle exec rake spec_prep
bundle exec rake spec_alone