I'm trying to get the ec2 grains from the salt-contrib package to work with our current implementation of Salt and AWS.
In the master config file under file_roots I have defined the following:
file_roots:
base:
- /path/to/states
_grains:
- /path/to/_grains
The python scripts have been copied into the _grains directory and the master restarted. When I try to sync the minions either through state.highstate or saltutil.sync_all the grains are not synced. If I run salt-call saltutil.sync_all -l debug on a minion there are no errors produced but the grains are not recognized.
There is probably something straight forward that I've missed but I'm stumped as to how to troubleshoot it further. Any help would be greatly appreciated.
Cheers,
Tyler