salt-minion startup run highstate

58 views
Skip to first unread message

Bryan Dees

unread,
Apr 20, 2022, 3:49:59 AM4/20/22
to Salt-users
I'm trying to configure my salt-minions (running on MacOS and Windows laptops) so that when they connect to the master they automatically deploy highstate.

In the minion file, I have

    startup_states: highstate


On the master, my top.sls file looks like this:

base:
  '*':
    - hostsfile
  'os:macos':
    - match: grain
    - pwpolicy

Under the salt-master I have my file_roots specified: /etc/salt/master.d/master.conf

file_roots:
   base:
     - /data/salt/srv

I can run salt state.apply just fine, but nothing seems to work getting the minions to automatically call highstate upon connection.


Thank you!


Reply all
Reply to author
Forward
0 new messages