aboutsummaryrefslogtreecommitdiff
path: root/files/patches/trusty/puppet-stack-level.patch
blob: 1d112f77ddf44809672b9d41bd29993eada03c77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- /usr/lib/ruby/vendor_ruby/puppet/rails/resource.rb.orig     2015-10-19 17:19:13.500193213 -0200
+++ /usr/lib/ruby/vendor_ruby/puppet/rails/resource.rb  2015-10-19 17:19:58.972194943 -0200
@@ -84,7 +84,11 @@
   end
 
   def [](param)
-    super || parameter(param)
+    if param == 'id'
+      super
+    else
+      super || parameter(param)
+    end
   end
 
   # Make sure this resource is equivalent to the provided Parser resource.