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

[dev.icinga.com #12775] Api feature unit tests fail for windows #115

Closed
icinga-migration opened this issue Sep 23, 2016 · 2 comments
Closed
Labels
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12775

Created by bsheqa on 2016-09-23 11:45:51 +00:00

Assignee: lbetz
Status: Resolved (closed on 2016-09-26 15:41:30 +00:00)
Target Version: v0.5.0
Last Update: 2016-09-26 15:41:30 +00:00 (in Redmine)


rspec -c spec/classes/api_spec.rb

[...]

Puppet::PreformattedError:
       Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Duplicate declaration: Concat[C:/ProgramData/icinga2/etc/icinga2/zones.conf] is already declared; cannot redeclare at /Users/bsheqa/git/icinga/puppet-icinga2-rewrite/spec/fixtures/modules/icinga2/manifests/object.pp:67:3 at /Users/bsheqa/git/icinga/puppet-icinga2-rewrite/spec/fixtures/modules/icinga2/manifests/object/zone.pp:80 on node
@icinga-migration
Copy link
Author

Updated by lbetz on 2016-09-26 11:09:33 +00:00

  • Status changed from New to Assigned
  • Assigned to set to lbetz
  • Done % changed from 0 to 100

Replace ensure_resource Funktion in object.pp against an if condition. Reason can be found in https://tickets.puppetlabs.com/browse/PUP-6422. Function defined_with_params out of the stdlib is fixed but not tagged, yet. Current version at this time is 4.12.0.

Also raised concat module dependency to 2.0.1. The older 1.x Stack hasn't high performance enough for many concat resources.

@icinga-migration
Copy link
Author

Updated by lbetz on 2016-09-26 15:41:30 +00:00

  • Status changed from Assigned to Resolved

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

No branches or pull requests

1 participant