Issue #2475 has been reported by seph seph.
----------------------------------------
Bug #2475: cron types fail hard when cron isn't installed
http://projects.reductivelabs.com/issues/2475
Author: seph seph
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Unknown
Affected version: 0.24.8
Keywords:
On ubuntu, using 0.24.8 from the debian packages.
If I have a cron type defined, but no cron installed, puppet dies with the
fatal error
<pre>
err: Could not create puppet cron test: Could not find a default provider for
cron
Could not find a default provider for cron
</pre>
This prevents puppet from installing cron, and instead requires me to
pre-install it.
r...@puppet-test:~# cat /var/tmp/puppet-cron.pp
package{ "cron":
ensure => "latest",
}
service { "cron":
ensure => "running",
require => Package["cron"];
}
Cron {
require => [ Package["cron"], Service["cron"] ],
}
cron {"puppet cron test":
command => "echo test",
hour => 0,
user => "root",
}
r...@puppet-test:~# puppet --version
0.24.8
r...@puppet-test:~# puppet -v /var/tmp/puppet-cron.pp
info: Loading fact acpi_available
info: Loading fact interfaces
info: Loading fact virtual
sh: Syntax error: Bad fd number
sh: Syntax error: Bad fd number
err: Could not create puppet cron test: Could not find a default provider for
cron
Could not find a default provider for cron
--
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---