Skip to content

Commit

Permalink
Merge pull request #3 from igalic/core_dep
Browse files Browse the repository at this point in the history
Raise exception on missing augeasproviders_core
  • Loading branch information
domcleal authored Feb 13, 2017
2 parents 6b70535 + 2449426 commit 5077905
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/puppet/provider/pg_hba/augeas.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Alternative Augeas-based provider for pg_hba type

raise("Missing augeasproviders_core dependency") if Puppet::Type.type(:augeasprovider).nil?
Puppet::Type.type(:pg_hba).provide(:augeas, :parent => Puppet::Type.type(:augeasprovider).provider(:default)) do
desc "Uses Augeas API to update pg_hba settings"

Expand Down

0 comments on commit 5077905

Please sign in to comment.