Issue #8706 has been reported by Jeff McCune.
----------------------------------------
Bug #8706: Fix CloPro Faces API method signature problems
https://projects.puppetlabs.com/issues/8706
Author: Jeff McCune
Status: Unreviewed
Priority: Normal
Assignee: Jeff McCune
Category: cloudpack
Target version: 0.6.0rc2
Keywords: cloudpack cloudprovisioner clopro
Branch:
# Overview #
In 2.7.x there are a number of spec test failures related to option handling.
<pre>
Failures:
1) Puppet::Face[:node, v0.0.1] option validation (node-group) should call
dashboard_classify if a node_group is specif
ied
Failure/Error: subject.classify('server', @options)
Mocha::ExpectationError:
unexpected invocation: Puppet::CloudPack.dashboard_classify('server',
{:node_group => 'webserver', :extra => {}})
unsatisfied expectations:
- expected exactly once, not yet invoked:
Puppet::CloudPack.dashboard_classify('server', {:node_group => 'webserv
er'})
# /Users/jeff/src/modules/cloud-provisioner/lib/puppet/cloudpack.rb:312:in
`classify'
# ./../lib/puppet/face/node/classify.rb:18:in `classify implementation,
required on Ruby 1.8'
#
/Users/jeff/src/puppet/lib/puppet/interface/action.rb+eval[wrapper]:203:in
`__send__'
#
/Users/jeff/src/puppet/lib/puppet/interface/action.rb+eval[wrapper]:203:in
`classify'
# ./unit/puppet/face/node/classify_spec.rb:20
2) Puppet::Face[:node, v0.0.1] option validation (security-group) should
split group names into an array
Failure/Error: @options[:group].should == %w[ A B C D E ]
expected: ["A", "B", "C", "D", "E"]
got: "A:B:C:D:E" (using ==)
Diff:
@@ -1,2 +1,2 @@
-["A", "B", "C", "D", "E"]
+A:B:C:D:E
# ./unit/puppet/face/node/create_spec.rb:86
3) Puppet::Face[:node, v0.0.1] option validation (security-group) should
split group names into an array
Failure/Error: @options[:group].should == %w[ A B C D E ]
expected: ["A", "B", "C", "D", "E"]
got: "A:B:C:D:E" (using ==)
Diff:
@@ -1,2 +1,2 @@
-["A", "B", "C", "D", "E"]
+A:B:C:D:E
# ./unit/puppet/face/node/create_spec.rb:100
Finished in 4.86 seconds
90 examples, 3 failures, 7 pending
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.