From 20344f769266963892069a376402e648bd78a34e Mon Sep 17 00:00:00 2001 From: Scott Frazer Date: Thu, 18 Jul 2019 15:18:38 -0500 Subject: [PATCH] Add savedsearches.conf to files we can manage --- lib/puppet/provider/ini_setting/splunk.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/puppet/provider/ini_setting/splunk.rb b/lib/puppet/provider/ini_setting/splunk.rb index 4bc542f1..04c802fe 100644 --- a/lib/puppet/provider/ini_setting/splunk.rb +++ b/lib/puppet/provider/ini_setting/splunk.rb @@ -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