aboutsummaryrefslogtreecommitdiff
path: root/files/patches/trusty/puppet-stack-level.patch
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-10-01 15:02:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-10-01 15:02:47 -0300
commitc212514035cffd38acbfac1413064937b28685b6 (patch)
treea043a9c3caac740cf61313d04d9d84280a44f30f /files/patches/trusty/puppet-stack-level.patch
downloadsemanticscuttle-c212514035cffd38acbfac1413064937b28685b6.tar.gz
semanticscuttle-c212514035cffd38acbfac1413064937b28685b6.tar.bz2
Squashed 'puppet/' content from commit eb5ecc4
git-subtree-dir: puppet git-subtree-split: eb5ecc4fcad6bd4f75e38683ae12a8dba4382c0b
Diffstat (limited to 'files/patches/trusty/puppet-stack-level.patch')
-rw-r--r--files/patches/trusty/puppet-stack-level.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/files/patches/trusty/puppet-stack-level.patch b/files/patches/trusty/puppet-stack-level.patch
new file mode 100644
index 0000000..1d112f7
--- /dev/null
+++ b/files/patches/trusty/puppet-stack-level.patch
@@ -0,0 +1,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.