Skip to content

Commit

Permalink
Merge pull request #4 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 committed Feb 13, 2017
2 parents 670e8eb + 60d0312 commit 3153b2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/puppet/provider/mounttab/augeas.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
require File.dirname(__FILE__) + '/../../../augeasproviders/mounttab/fstab'
require File.dirname(__FILE__) + '/../../../augeasproviders/mounttab/vfstab'

raise("Missing augeasproviders_core dependency") if Puppet::Type.type(:augeasprovider).nil?
Puppet::Type.type(:mounttab).provide(:augeas, :parent => Puppet::Type.type(:augeasprovider).provider(:default)) do
desc "Uses Augeas API to update the /etc/(v)fstab file"

Expand Down

0 comments on commit 3153b2e

Please sign in to comment.