ceph-salt
ceph-salt copied to clipboard
Do we really need ceph-salt grains?
(Relying on the pillar is more secure because only the master node can set it)
For ceph-salt minions targetting, we can use pillar:
salt -I ceph-salt:minions state.apply <state>
instead of grain:
salt -G ceph-salt:member state.apply <state>
So, apart from ceph-salt:execution
grains that are set during execution for orchestration, do we really need any other ceph-salt
grains?
(AFAIK, Suse Manager doesn't support grains)
I think we still need grains when we want to target minion by role, for instance:
salt -G ceph-salt:roles:admin test.ping