FAQ
Is it possible to access contents of the top.sls from within a custom
module or grains script? I'd like to parse this data during a highstate and
generate some dynamic content.

I can see that this file itself gets sync'd to
/var/cache/salt/minion/file/base/top.sls

--
Stephen Wood
www.heystephenwood.com

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Colton Myers at Dec 16, 2014 at 5:49 pm
    Have you tried `state.show_top`?

    --
    Colton Myers
    Platform Engineer, SaltStack
    @basepi on Github/Twitter/IRC
    On Dec 8, 2014, at 7:22 PM, Stephen Wood wrote:

    Is it possible to access contents of the top.sls from within a custom module or grains script? I'd like to parse this data during a highstate and generate some dynamic content.

    I can see that this file itself gets sync'd to /var/cache/salt/minion/file/base/top.sls

    --
    Stephen Wood
    www.heystephenwood.com <http://www.heystephenwood.com/>

    --
    You received this message because you are subscribed to the Google Groups "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
    --
    You received this message because you are subscribed to the Google Groups "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupsalt-users @
postedDec 9, '14 at 2:22a
activeDec 16, '14 at 5:49p
posts2
users2

2 users in discussion

Colton Myers: 1 post Stephen Wood: 1 post

People

Translate

site design / logo © 2022 Grokbase