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.
This commit is contained in:
Gary Larizza 2011-07-15 15:28:46 -07:00
parent 57b904839b
commit 405b3e9026
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
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