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

(maint) Validate fact_on name parameter #73

Merged
merged 1 commit into from
Oct 9, 2018

Conversation

alexjfisher
Copy link
Contributor

Since #59 fact_on
stopped working with symbols for fact names. (The documentation says it takes a String for name so only worked by chance previously).

In puppet/collectd we had a test that had started failing (easy enough to fix), and some that were being silently skipped. voxpupuli/puppet-collectd#858

@puppetlabs-jenkins
Copy link
Contributor

Can one of the admins verify this patch?

@mchllweeks
Copy link

@alexjfisher In order to get this ready for merging, we'll need these tasks to be done for this PR:

  • add a spec test so that we don't break this functionality in the future
  • pre-pend your ticket ref to your git commit message
  • add a changelog entry to the CHANGELOG file so this will be reported with the release that it's in

Once those are complete, we can run tests and move this towards release. Thx!

@alexjfisher
Copy link
Contributor Author

@mchllweeks I can add a spec test and open a BKR ticket (or could this one liner go in as a ‘maint’ change?), but this project doesn’t appear to have a CHANGELOG.

@mchllweeks
Copy link

@alexjfisher Yes sorry the CHANGELOG is just for beaker and not beaker-puppet. Pre-pending your commit with '(maint)' is also fine.

Since puppetlabs#59 `fact_on`
stopped working with symbols for fact names.
@alexjfisher alexjfisher changed the title Validate fact_on name parameter (maint) Validate fact_on name parameter Oct 9, 2018
@alexjfisher
Copy link
Contributor Author

@mchllweeks Test added and commit prepended with (maint).

@mchllweeks
Copy link

Jenkins test this please

@mchllweeks mchllweeks merged commit 8b9359d into puppetlabs:master Oct 9, 2018
alexjfisher added a commit to alexjfisher/puppet-squid that referenced this pull request Nov 25, 2018
`beaker-puppet` never indended to support symbols passed to the `fact`
function.  See puppetlabs/beaker-puppet#73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants