aboutsummaryrefslogtreecommitdiff
path: root/files/patches/puppet-stack-level-trusty.patch
blob: 3521dd99c82d576d393b641caff13496b957ccce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- resource.rb.orig    2015-10-19 17:19:13.500193213 -0200
+++ 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.