Skip to content

Commit

Permalink
Fix for a2mod
Browse files Browse the repository at this point in the history
This dummy provider will fix an issue where a2mod is to
be installed in the current puppet run, yet it can't be found.
  • Loading branch information
Gary Larizza committed Jul 15, 2011
1 parent 57b9048 commit 405b3e9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/puppet/provider/a2mod/modfix.rb
@@ -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

0 comments on commit 405b3e9

Please sign in to comment.