Automation

 View Only
last person joined: 3 days ago 

Ask questions and share experiences about Apstra, Paragon, and all things network automation.
  • 1.  Question on SALT files

     
    Posted 30 days ago

    Hi.

     

    Given a SALT architecture where the SALT master and proxy minion are on different servers, do the salt pillar and state directories need to be present on the master's server or the minion's server?

     

    Thanks,

    Deepak


    Juniper Business Use Only



  • 2.  RE: Question on SALT files

    Posted 29 days ago
    No, the state and pillar files (and anything else from the salt:// file structure on the master) do not need to be present on the server running the proxy minions in this instance.

    It doesn't matter where the proxy minions are running, when they start/restart they will get the  data from the master and cache it.

    Don't forget to refresh the pillar data with satlutil.pillar_refresh for the proxy minion(s) in question if you update the pillar files otherwise they won't know about your updates.

    Likewise, if you change states remember to sync them with saltutil.sync_states (or just sync_all).

    For reference see the Saltutil docs here:

    https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.saltutil.html

    ------------------------------
    STUART RIDSDALE
    ------------------------------