HomeSoftware Heritage

Add systemd::escape function

Description

Add systemd::escape function

Add a systemd escape function.

puppet
systemd::escape('/foo/bar')

returns -foo-bar

while the path escape can be executed as

puppet
systemd::escape('/foo/bar',true)

to return 'foo-bar'

Details

Provenance
Steve Traylen <steve.traylen@cern.ch>Authored on Sep 6 2021, 3:19 PM
olasdPushed on Dec 28 2021, 10:46 AM
Parents
R139:b0dee23426e7: [blacksmith] Bump version to 3.4.1-rc0
Branches
Unknown
Tags
Unknown

Event Timeline

Steve Traylen <steve.traylen@cern.ch> committed R139:0b0ee99e3314: Add systemd::escape function (authored by Steve Traylen <steve.traylen@cern.ch>).Sep 6 2021, 4:38 PM