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

illegal_object_name_chars render error #24

Open
servomac opened this issue Oct 21, 2015 · 0 comments
Open

illegal_object_name_chars render error #24

servomac opened this issue Oct 21, 2015 · 0 comments

Comments

@servomac
Copy link

Trying to execute the nagios state in the formula throws a pillar render error using salt 2015.8.0 (Beryllium). It seems that the initial backtick value at ilegal_object_name_chars/ilegal_macro_output_chars keys it's not supported:

sheriff.habitissimo.com:
    Data failed to compile:
----------
    Pillar failed to render with the following messages:
----------
    Rendering SLS 'nagios-server.sheriff' failed, render error:
found character '`' that cannot start any token; line 108

---
[...]
    low_host_flap_threshold: 5.0
    high_host_flap_threshold: 20.0
    date_format: iso8601
    enable_embedded_perl: 1
    use_embedded_perl_implicitly: 1
    illegal_object_name_chars: `~!$%^&*|'"<>?,():     <======================
    illegal_macro_output_chars: `~$&|'"<>
    use_regexp_matching: 0
    use_true_regexp_matching: 0
    admin_email: root@localhost
    admin_pager: pageroot@localhost
[...]

---

And also, if I remove the backticks I have problems with the colon (:)

# salt 'sheriff*' state.sls nagios test=True
sheriff.example.com:
    Data failed to compile:
----------
    Pillar failed to render with the following messages:
----------
    Rendering SLS 'nagios-server.sheriff' failed, render error:
mapping values are not allowed here; line 108

---
[...]
    low_host_flap_threshold: 5.0
    high_host_flap_threshold: 20.0
    date_format: iso8601
    enable_embedded_perl: 1
    use_embedded_perl_implicitly: 1
    illegal_object_name_chars: ~!$%^&*|'"<>?,():     <======================
    illegal_macro_output_chars: ~$&|'"<>
    use_regexp_matching: 0
    use_true_regexp_matching: 0
    admin_email: root@localhost
    admin_pager: pageroot@localhost
[...]

---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant