This is a simple Vagrant setup that recreates the following Salt issue: saltstack/salt#23391
Install Vagrant (www.vagrantup.com for help)
To recreate the issue:
- Download the vagrant box: 'vagrant box add https://atlas.hashicorp.com/puppetlabs/boxes/centos-6.6-64-puppet'
- Startup the vagrant environment:
vagrant up
- Login to the Vagrant server:
vagrant ssh
- Run pillar.item and pillar.get for the "python" pillar (they'll return identical results):
sudo salt saltmaster1 pillar.item python
sudo salt saltmaster1 pillar.get python
- Update the python pillar:
sudo cp /srv/pillarroot/python/basedata.b /srv/pillarroot/python/basedata.sls
- Run pillar.item and pillar.get for the "python" pillar (they'll return different results):
sudo salt saltmaster1 pillar.item python
sudo salt saltmaster1 pillar.get python
- Run a refresh_pillar:
sudo salt saltmaster1 saltutil.refresh_pillar
- Run pillar.item and pillar.get for the "python" pillar (they'll return different results):
sudo salt saltmaster1 pillar.item python
sudo salt saltmaster1 pillar.get python