Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add systemd::escape function #220

Merged
merged 1 commit into from
Sep 6, 2021
Merged

Conversation

traylenator
Copy link
Contributor

Pull Request (PR) description

Add a systemd escape function.

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

returns -foo-bar

while the path escape can be executed as

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

to return 'foo-bar'

functions/escape.pp Outdated Show resolved Hide resolved
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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants