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:
parent
57b904839b
commit
405b3e9026
12
lib/puppet/provider/a2mod/modfix.rb
Normal file
12
lib/puppet/provider/a2mod/modfix.rb
Normal 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
|
Loading…
Reference in New Issue
Block a user