5 Commits

Author SHA1 Message Date
ramishra
0699227b3c Replace URI.escape() with ERB::Util.url_encode()
URI.escape() method has been removed in ruby 3 and
the newly added Puppet::Util.rfc2396_escape()[1]
has not been released yet.

[1] 41dcae71c7

Closes-Bug: #1928685
Change-Id: I001d579a1b126fc8254f071ddbecda5cc6de7231
2021-05-20 12:13:12 +05:30
Takashi Kajinami
39c5618009 Fix FrozenError on Focal
This change ensures that a hash passed to a function is not directly
modified, to avoid FrozenError.

Change-Id: Ie9242d7ff5cac206ae65526e08cd096425fa4232
2021-03-25 22:36:27 +09:00
Tobias Urdin
1c99679e07 Revert "Revert "Use puppet4 functions-api""
This reverts commit 0bd97be465516fa607f5aa0db6f5450513dc292a.

Change-Id: I8e3cb42a60621fc6f791ee61b595546efd79c491
2018-11-12 10:19:15 +01:00
Sagi Shnaidman
0bd97be465 Revert "Use puppet4 functions-api"
This reverts commit fd3156bc60ec537ffc53aea1d0e0035c9fe17638.
Closes-Bug: #1802083

Change-Id: I7705744cab62f432e2e09bf1ee88bba809609cda
2018-11-07 10:17:37 +00:00
Tobias Urdin
fd3156bc60 Use puppet4 functions-api
Change-Id: I07a6ad9dba09c664e0b95901a442b165a29a8852
2018-11-04 13:10:28 +01:00