Issue #5814 has been updated by Nigel Kersten.

Assignee changed from Stefan Schulte to Max Martin

So can this be closed then Max?
----------------------------------------
Bug #5814: cron_spec.rb should work when cron is not installed
https://projects.puppetlabs.com/issues/5814

Author: Stefan Schulte
Status: Available In Testing Branch
Priority: Normal
Assignee: Max Martin
Category: cron
Target version: Statler
Affected Puppet version: 
Keywords: 
Branch: https://github.com/stschulte/puppet/tree/ticket/2.6.x/5814


If you don't have cron installed the specs for the cron type will fail. Sample:

    1) Puppet::Type::Cron it should accept an :environment that looks like a 
path
       Failure/Error: @cron = Puppet::Type.type(:cron).new( :name => "foo" )
       Puppet::DevError:
         Could not find a default provider for cron
       # ./spec/../lib/puppet/type.rb:1363:in `defaultprovider'
       # ./spec/../lib/puppet/type.rb:1473:in `default'
       # ./spec/../lib/puppet/type.rb:520:in `set_default'
       # ./spec/../lib/puppet/type.rb:1734:in `initialize'
       # ./spec/unit/type/cron_spec.rb:7:in `new'
       # ./spec/unit/type/cron_spec.rb:7

The tests for the type should be independent of any provider because they dont 
test any provider features.


-- 
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.

Reply via email to