Try to get SDB profile from pillar (#36934)
Try to get SDB profile from pillar (#36934)

* If sdb profile is not set in conf, try the pillar

* Carefully get sdb pillar in case this is the salt-master

* use current method of getting sdb profile name

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt