WIP: Issue 61 - Rename pillar.example to pillar-example.sls#62
WIP: Issue 61 - Rename pillar.example to pillar-example.sls#62getSurreal wants to merge 2 commits intosaltstack-formulas:masterfrom
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 |
aboe76
left a comment
There was a problem hiding this comment.
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 |
noelmcloughlin
left a comment
There was a problem hiding this comment.
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.