salt icon indicating copy to clipboard operation
salt copied to clipboard

Nested Pillar includes don't seem to work

Open pniederw opened this issue 12 years ago • 4 comments

In an attempt to eliminate redundancies in my Pillar files, I've tried to use nested includes: SLS A includes SLS B, which in turn includes SLS C (along with some defaults). I can't get this to work though, getting strange rendering errors no matter what I try. Removing the nested level of includes solves the problem.

pniederw avatar Dec 04 '13 21:12 pniederw

Can you post the rendering errors you're receiving? Also can you remove the defaults temporarily just to make sure it's purely an include problem (and not related to adding defaults in the nested includes).

basepi avatar Dec 05 '13 16:12 basepi

I've noticed the same problem. Is there a known issue between including pillar vs targeting it in the Salt pillar top.sls file? I would think it'd be the same code? The documentation states that the include: will treat included pillar data as if it were in the same file, but this isn't what I'm experiencing with more than one pillar include in the same file.

bmess avatar Sep 16 '14 16:09 bmess

@pniederw Are you still seeing this behavior? If you are, would you be able to provide the information that @basepi asked for so we can look into this further? Thanks!

justinta avatar Aug 11 '15 20:08 justinta

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

stale[bot] avatar Dec 18 '17 21:12 stale[bot]