On Sun, Nov 30, 2008 at 7:22 PM, James Turnbull <[EMAIL PROTECTED]> wrote: > > Nigel > > The new "computer" types tests are a little broken:
Are you still getting these errors James? Was it due to me including ruby-debug? I just tested on an Ubuntu install and it seems to be working fine. # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 8.04.1 Release: 8.04 Codename: hardy # ./spec/unit/type/computer.rb ............. Finished in 0.028797 seconds 13 examples, 0 failures I'm getting other errors in Puppet::Parser::Functions and Puppet::Node::Catalog from your jamtur01/0.24.x branch that don't seem related though. > > 1) > Puppet::DevError in 'Puppet::Type::Computer when checking computer objects > should be able to create a instance' > Could not find a default provider for computer > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1737:in `defaultprovider' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1880:in `default' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:651:in `setdefaults' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:140:in `eachattr' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:135:in `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:135:in `eachattr' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:641:in `setdefaults' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:2342:in `initialize' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1131:in `new' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1131:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:30: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 2) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects > should have a en_address property' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 3) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects > should have documentation for its en_address property' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 4) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects > should accept :absent as a value' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 5) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects > should have a ip_address property' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 6) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects > should have documentation for its ip_address property' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 7) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects > should accept :absent as a value' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 8) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects > should have a name parameter' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 9) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects > should have documentation for its name parameter' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 10) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects > default values should be nil for en_address' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 11) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects > default values should be nil for ip_address' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 12) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects when > managing the ensure property should support a :present value' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > 13) > Puppet::Error in 'Puppet::Type::Computer when checking computer objects when > managing the ensure property should support an :absent value' > Computer[puppetcomputertest] is already being managed > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/lib/puppet/type.rb:1123:in `create' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/unit/type/computer.rb:13: > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in > `run' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `each' > /usr/share/tomcat5.5/.hudson/jobs/Puppet - 0.24.x > Stable/workspace/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in > `run' > > > > -- > Author of: > * Pulling Strings with Puppet > (http://www.amazon.com/gp/product/1590599780/) > * Pro Nagios 2.0 > (http://www.amazon.com/gp/product/1590596099/) > * Hardening Linux > (http://www.amazon.com/gp/product/1590594444/) > > > > > > -- Nigel Kersten Systems Administrator Tech Lead - MacOps --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---