Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ability to see puppet debug log via env #587

Merged
merged 1 commit into from
Sep 11, 2019

Conversation

foxxx0
Copy link
Member

@foxxx0 foxxx0 commented Sep 11, 2019

This makes debugging rspec tests a little easier by providing the
ability to capture the puppet debug log on stdout.
In order to use it, simply do:

DEBUG=true bundle exec rspec spec/classes/my_class_spec.rb

This makes debugging rspec tests a little easier by providing the
ability to capture the puppet debug log on stdout.
In order to use it, simply do:
```bash
DEBUG=true bundle exec rspec spec/classes/my_class_spec.rb
```
@bastelfreak bastelfreak merged commit 91d46a9 into voxpupuli:master Sep 11, 2019
@ekohl
Copy link
Member

ekohl commented Sep 11, 2019

I'm wondering if this belongs in https://github.com/puppetlabs/puppetlabs_spec_helper so everyone can enjoy this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants