deepsea minions
For compatibility with other Salt solutions, DeepSea uses deepsea_minions, which constrains the targeting of Salt minions. By default DeepSea targets by grain using ’G@deepsea’. For more information on salt targeting, check the SEE ALSO section.
Either reconfigure deepsea_minions to use any valid Salt target or apply grains to the desired minions. For example,
deepsea_minions: ’*’
will target all Salt minions. Likewise,
deepsea_minions: ’ses*’
will only target minions that begin with ses.
Alternatively, apply a grain to each minion and use the default deepsea_minions of G@deepsea:*. For example,
salt -L node1.domain,node2.domain grains.append deepsea default salt -S 10.0.0.0/24 grains.append deepsea default
will target the minions node1.domain and node2.domain in addition to all minions in the subnet 10.0.0.0/24. Grain selection works well in environments where Salt is installed on minions that follow no simple pattern.
To remove a grain completely from a minion, run
salt ’xyz.domain’ grains.delval deepsea destructive=True
For more information on Salt grains see https://docs.saltstack.com/en/latest/topics/grains/
The file for deepsea_minions is /srv/pillar/ceph/deepsea_minions.sls.
https://docs.saltstack.com/en/latest/topics/targeting/
Eric Jackson
<ejackson@suse.com>
Jan Fajerski <jfajerski@suse.com>