Gary Larizza 405b3e9026 Fix for a2mod
This dummy provider will fix an issue where a2mod is to
be installed in the current puppet run, yet it can't be found.
2011-07-15 15:28:46 -07:00

12 lines
357 B
Ruby

Puppet::Type.type(:a2mod).provide :modfix do
desc "Dummy provider for A2mod.
Fake nil resources when there is no crontab binary available. Allows
puppetd to run on a bootstrapped machine before a Cron package has been
installed. Workaround for: http://projects.puppetlabs.com/issues/2384
"
def self.instances
[]
end
end