Skip to content

Commit

Permalink
Merge pull request #181 from ITler/master
Browse files Browse the repository at this point in the history
Make types runnable in puppet 4
  • Loading branch information
dj-wasabi committed Feb 27, 2016
2 parents 9297a27 + 5a4dfc9 commit 8e0af22
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/type/zabbix_application.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),"..",".."))
require 'puppet/util/zabbix'

Puppet::Type.newtype(:zabbix_application) do
Expand Down Expand Up @@ -34,4 +35,3 @@

Puppet::Util::Zabbix.add_zabbix_type_methods(self)
end

1 change: 1 addition & 0 deletions lib/puppet/type/zabbix_hostgroup.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),"..",".."))
require 'puppet/util/zabbix'

Puppet::Type.newtype(:zabbix_hostgroup) do
Expand Down
1 change: 1 addition & 0 deletions lib/puppet/type/zabbix_template_host.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),"..",".."))
require 'puppet/util/zabbix'

Puppet::Type.newtype(:zabbix_template_host) do
Expand Down
1 change: 1 addition & 0 deletions lib/puppet/type/zabbix_userparameters.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),"..",".."))
Puppet::Type.newtype(:zabbix_userparameters) do
ensurable do
defaultvalues
Expand Down

0 comments on commit 8e0af22

Please sign in to comment.