Skip to content

Commit

Permalink
Add savedsearches.conf to files we can manage
Browse files Browse the repository at this point in the history
  • Loading branch information
bsg-sfrazer committed Jul 18, 2019
1 parent a594a66 commit 20344f7
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 20344f7

Please sign in to comment.