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

use instance debug instead of Puppet.debug #1052

Merged
merged 1 commit into from
May 23, 2022

Conversation

jhoblitt
Copy link
Contributor

The instance method prepends resource information to the debug message.

Example of Puppet.debug:

Debug: Searching for hostgroup with name dev and title dev

Example of instance #debug:

Debug: Foreman_hostgroup[dev](provider=rest_v3): Making get request to ...

@jhoblitt
Copy link
Contributor Author

/CC @alexjfisher

@jhoblitt
Copy link
Contributor Author

The acceptance test failures don't appear to be related to this PR.

The instance method prepends resource information to the debug message.

Example of Puppet.debug:

    Debug: Searching for hostgroup with name dev and title dev

Example of instance #debug:

    Debug: Foreman_hostgroup[dev](provider=rest_v3): Making get request to ...
@jhoblitt
Copy link
Contributor Author

Rebased on current master.

@alexjfisher
Copy link
Contributor

Thanks, I didn't know this.

@ehelms ehelms merged commit e636ecf into theforeman:master May 23, 2022
@jhoblitt jhoblitt deleted the feature/type_debug branch May 24, 2022 16:47
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.

5 participants