Skip to content

Ensure validate functions use Puppet 4 deprecation#654

Merged
DavidS merged 1 commit intopuppetlabs:masterfrom
HelenCampbell:puppet4Dep
Sep 21, 2016
Merged

Ensure validate functions use Puppet 4 deprecation#654
DavidS merged 1 commit intopuppetlabs:masterfrom
HelenCampbell:puppet4Dep

Conversation

@HelenCampbell
Copy link
Copy Markdown
Contributor

No description provided.

@HelenCampbell HelenCampbell force-pushed the puppet4Dep branch 5 times, most recently from 463fd5d to e6a926d Compare September 20, 2016 17:17
@DavidS DavidS merged commit e94beb5 into puppetlabs:master Sep 21, 2016
@alexjfisher
Copy link
Copy Markdown
Collaborator

@DavidS @HelenCampbell Since this PR was merged, builds have started failing.

eg https://travis-ci.org/voxpupuli/puppet-rundeck/jobs/161638419#L1281

 Evaluation Error: Error while evaluating a Function Call, {} is not a boolean.  It looks to be a Hash at /home/travis/build/voxpupuli/puppet-rundeck/spec/fixtures/modules/rundeck/manifests/init.pp:241:3 on node testing-worker-linux-docker-66f4fd71-3499-linux-1.prod.travis-ci.org

Thing is, line 241 of init.pp is a call to validate_hash, not validate_bool. Wrong code is being run somehow??

@HelenCampbell
Copy link
Copy Markdown
Contributor Author

@alexjfisher Thank you for catching this. Since I've looked in to it I'm not sure the solution is simple. I've created a PR to revert and I'll create a ticket to look in to this. Thanks again.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants