[icinga-checkins] icinga.org: chef-icinga2/master: Fix bug using wrong arg in env resource

git at icinga.org git at icinga.org
Sat Jul 16 19:49:35 CEST 2016


Module: chef-icinga2
Branch: master
Commit: 7bf050d13f19377026e3454799cf333804f2a69e
URL:    https://git.icinga.org/?p=chef-icinga2.git;a=commit;h=7bf050d13f19377026e3454799cf333804f2a69e

Author: Thomas Peitz <thomas.peitz at invision.de>
Date:   Thu Jun 16 11:19:20 2016 +0200

Fix bug using wrong arg in env resource

---

 libraries/resource_environment.rb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/resource_environment.rb b/libraries/resource_environment.rb
index 533df2f..edfb4bb 100644
--- a/libraries/resource_environment.rb
+++ b/libraries/resource_environment.rb
@@ -415,7 +415,7 @@ class Chef
 
       def zone_parent(arg = nil)
         set_or_return(
-          :log_duration, arg,
+          :zone_parent, arg,
           :kind_of => String,
           :default => nil
         )



More information about the icinga-checkins mailing list