Skip to content

Commit

Permalink
increase parent path
Browse files Browse the repository at this point in the history
  • Loading branch information
jlambert121 committed Jan 19, 2014
1 parent 6f9a0db commit f2f5c60
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_check/json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
begin
require 'puppet_x/sensu/to_type'
rescue LoadError => e
libdir = Pathname.new(__FILE__).parent.parent.parent
libdir = Pathname.new(__FILE__).parent.parent.parent.parent
require File.join(libdir, 'puppet_x/sensu/to_type')
end

Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_client_config/json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
begin
require 'puppet_x/sensu/to_type'
rescue LoadError => e
libdir = Pathname.new(__FILE__).parent.parent.parent
libdir = Pathname.new(__FILE__).parent.parent.parent.parent
require File.join(libdir, 'puppet_x/sensu/to_type')
end

Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_filter/json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
begin
require 'puppet_x/sensu/to_type'
rescue LoadError => e
libdir = Pathname.new(__FILE__).parent.parent.parent
libdir = Pathname.new(__FILE__).parent.parent.parent.parent
require File.join(libdir, 'puppet_x/sensu/to_type')
end

Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/type/sensu_check.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
begin
require 'puppet_x/sensu/to_type'
rescue LoadError => e
libdir = Pathname.new(__FILE__).parent.parent.parent
libdir = Pathname.new(__FILE__).parent.parent.parent.parent
require File.join(libdir, 'puppet_x/sensu/to_type')
end
Puppet::Type.newtype(:sensu_check) do
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/type/sensu_client_config.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
begin
require 'puppet_x/sensu/to_type'
rescue LoadError => e
libdir = Pathname.new(__FILE__).parent.parent.parent
libdir = Pathname.new(__FILE__).parent.parent.parent.parent
require File.join(libdir, 'puppet_x/sensu/to_type')
end
Puppet::Type.newtype(:sensu_client_config) do
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/type/sensu_filter.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
begin
require 'puppet_x/sensu/to_type'
rescue LoadError => e
libdir = Pathname.new(__FILE__).parent.parent.parent
libdir = Pathname.new(__FILE__).parent.parent.parent.parent
require File.join(libdir, 'puppet_x/sensu/to_type')
end
Puppet::Type.newtype(:sensu_filter) do
Expand Down

0 comments on commit f2f5c60

Please sign in to comment.