Skip to content

Commit

Permalink
Merge pull request #7 from bsg-sfrazer/master
Browse files Browse the repository at this point in the history
Add savedsearches.conf to files we can manage
  • Loading branch information
bsg-sfrazer authored Jul 18, 2019
2 parents 5761a99 + 20344f7 commit eea45d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/puppet/provider/ini_setting/splunk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class << self
end

def self.file_path
# raise Puppet::Error, 'file_path must be set with splunkenterprise_config or splunkforwarder_config type before provider can be used' if @file_path.nil?
# raise Puppet::Error, 'Child provider class does not support a file_name method' unless respond_to?(:file_name)
raise Puppet::Error, 'file_path must be set with splunkenterprise_config or splunkforwarder_config type before provider can be used' if @file_path.nil?
raise Puppet::Error, 'Child provider class does not support a file_name method' unless respond_to?(:file_name)
@file_path
end

Expand Down

0 comments on commit eea45d7

Please sign in to comment.