Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

use different delimiter for the sed at the puppet facts cronjob #358

Merged
merged 1 commit into from
Nov 26, 2017

Conversation

tampakrap
Copy link
Contributor

Using '%' as delimiter for the sed at the 'puppet facts' cronjob ends up
to the following error:

Subject: Cron root@server puppet facts --render-as yaml |sed 's

/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file

Replacing the delimiter with '#' instead works fine

Using '%' as delimiter for the sed at the 'puppet facts' cronjob ends up
to the following error:

Subject: Cron <root@server> puppet facts --render-as yaml |sed 's

/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file

Replacing the delimiter with '#' instead works fine
@bastelfreak
Copy link
Member

Thanks for this @tampakrap!

@bastelfreak bastelfreak added the bug Something isn't working label Nov 26, 2017
@bastelfreak bastelfreak merged commit 0fab168 into voxpupuli:master Nov 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants