Skip to content

Commit 6767036

Browse files
committed
types and provider parent load paths fixed
1 parent 73cdd35 commit 6767036

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/puppet/type/sensu_check.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
begin
22
require 'puppet_x/sensu/to_type'
33
rescue LoadError => e
4-
libdir = Pathname.new(__FILE__).parent.parent.parent.parent
4+
libdir = Pathname.new(__FILE__).parent.parent.parent
55
require File.join(libdir, 'puppet_x/sensu/to_type')
66
end
77
Puppet::Type.newtype(:sensu_check) do

lib/puppet/type/sensu_client_config.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
begin
22
require 'puppet_x/sensu/to_type'
33
rescue LoadError => e
4-
libdir = Pathname.new(__FILE__).parent.parent.parent.parent
4+
libdir = Pathname.new(__FILE__).parent.parent.parent
55
require File.join(libdir, 'puppet_x/sensu/to_type')
66
end
77
Puppet::Type.newtype(:sensu_client_config) do

lib/puppet/type/sensu_filter.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
begin
22
require 'puppet_x/sensu/to_type'
33
rescue LoadError => e
4-
libdir = Pathname.new(__FILE__).parent.parent.parent.parent
4+
libdir = Pathname.new(__FILE__).parent.parent.parent
55
require File.join(libdir, 'puppet_x/sensu/to_type')
66
end
77
Puppet::Type.newtype(:sensu_filter) do

0 commit comments

Comments
 (0)