-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Too many hostnames in pillar? #33389
Comments
I've split the line across 2 patterns and we are working. eg 'some hostnames here':
'The other half of the hostname patterns':
|
@DaveQB i am able to replicate this. seems to be a limit of 1025 characters. Anything over that number and the sls renderer fails. For example: This works:
But adding one more character does not:
I have verified this on 2015.5.9, 2015.8.8.2, and the head of 2016.3 |
@Ch3LL |
Known issue in PyYAML: http://pyyaml.org/browser/pyyaml/trunk/lib/yaml/scanner.py#L91 There is nothing we can do about this, really. I recommend we document this as a limitation of the anything parsed by YAML in Salt. |
@cachedout and @DaveQB how does the doc addition in #33459 look? |
It looks fine to me but let's also give @DaveQB a chance to respond before we just close this. :] |
Cool. Sounds good. Good work @cachedout tracking back where the root cause for this issue lied. Thank you for the fast response and resolution. |
If I had one more minion name to a single line patter in the pillar top.sls file I get an error saying
"could not found expected ':'; line 80"
Setup
This woks:
This gives the error
Steps to Reproduce Issue
Full error:
Versions Report
The text was updated successfully, but these errors were encountered: