diff --git a/lib/puppet/type/zabbix_application.rb b/lib/puppet/type/zabbix_application.rb index 9d48a8fd7..7bc78e024 100644 --- a/lib/puppet/type/zabbix_application.rb +++ b/lib/puppet/type/zabbix_application.rb @@ -1,3 +1,4 @@ +$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),"..","..")) require 'puppet/util/zabbix' Puppet::Type.newtype(:zabbix_application) do @@ -34,4 +35,3 @@ Puppet::Util::Zabbix.add_zabbix_type_methods(self) end - diff --git a/lib/puppet/type/zabbix_hostgroup.rb b/lib/puppet/type/zabbix_hostgroup.rb index e86e3893c..7cf9b228c 100644 --- a/lib/puppet/type/zabbix_hostgroup.rb +++ b/lib/puppet/type/zabbix_hostgroup.rb @@ -1,3 +1,4 @@ +$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),"..","..")) require 'puppet/util/zabbix' Puppet::Type.newtype(:zabbix_hostgroup) do diff --git a/lib/puppet/type/zabbix_template_host.rb b/lib/puppet/type/zabbix_template_host.rb index c920d1a76..af25f0e7f 100644 --- a/lib/puppet/type/zabbix_template_host.rb +++ b/lib/puppet/type/zabbix_template_host.rb @@ -1,3 +1,4 @@ +$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),"..","..")) require 'puppet/util/zabbix' Puppet::Type.newtype(:zabbix_template_host) do diff --git a/lib/puppet/type/zabbix_userparameters.rb b/lib/puppet/type/zabbix_userparameters.rb index 60a5503f1..294c9f283 100644 --- a/lib/puppet/type/zabbix_userparameters.rb +++ b/lib/puppet/type/zabbix_userparameters.rb @@ -1,3 +1,4 @@ +$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),"..","..")) Puppet::Type.newtype(:zabbix_userparameters) do ensurable do defaultvalues