-
Notifications
You must be signed in to change notification settings - Fork 85
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
WIP: Issue 61 - Rename pillar.example to pillar-example.sls #62
base: master
Are you sure you want to change the base?
WIP: Issue 61 - Rename pillar.example to pillar-example.sls #62
Conversation
Closes #61. As an introduction to this PR, please consider the following comments captured on the issue behind this PR: |
Good to me |
Could it be named |
@noelmcloughlin The issue with this is that the convention with actual pillar files is to use |
Okay, SLS then. I see |
Yes, it's not ideal that the file extension and content format diverge. But even changing from Out of interest, has anyone even tried accessing a pillar using |
As expected, it doesn't work for anything other than the Data failed to compile:
----------
Pillar failed to render with the following messages:
----------
Specified SLS 'template' in environment 'base' is not available on the salt master |
i will consider raising bug. On salt i guess? YAML is also data exchange
technology. So i should be able to migrate my yaml models between various
technology consumers ideally.
…On Thu 28 Feb 2019, 14:44 Imran Iqbal ***@***.***> wrote:
As expected, it doesn't work for anything other than the .sls extension:
Data failed to compile:----------
Pillar failed to render with the following messages:----------
Specified SLS 'template' in environment 'base' is not available on the salt master
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMtKQuNBaXymx4ok_SQrufbKN06-wPRwks5vR-svgaJpZM4bV-sb>
.
|
@noelmcloughlin Here's the code in |
@myii , @getSurreal doesn't https://docs.saltstack.com/en/latest/topics/spm/dev.html#package-files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see an issue with spm
when we change this...
see: https://docs.saltstack.com/en/latest/topics/spm/dev.html#package-files
Its officially a bug now: saltstack/salt#51910 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving Thanks @getSurreal
That's a hint for Vim to use yaml formatting, since sls files are a superset of yaml. If you have a |
Proper extension for pillar files is .sls. Not using pillar.example.sls because the extra period is bad form for Salt.