Custom grains/module and saltutil.sync_all

192 views
Skip to first unread message

Matt Black

unread,
Feb 20, 2013, 1:35:36 AM2/20/13
to salt-...@googlegroups.com
Hey list,

I just upped to 0.13.1 from 0.12.x. Previously I used saltutil.sync_all to push custom modules and grains from my <file_roots>/_grains and <file_roots>/_modules directories.

This doesn't seem to be working now.. I get the following when I run on a new minion:

mafro@ip-10-x-x-249:~ > salt sg-test-11 saltutil.sync_all
sg-test-11:
    |_
    |_
    |_
    |_
    |_
    |_

Has anything changed?

David Boucha

unread,
Feb 20, 2013, 2:48:16 PM2/20/13
to salt users list
This is still the expected behavior. If that's not what you're seeing, then this is a regression.  Could you open an issue on github for this?

Thanks!


--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Dave Boucha  |  Sr. Engineer


5272 South College Drive, Suite 301 | Murray, UT 84123

office 801-305-3563
da...@saltstack.com | www.saltstack.com

Matt Black

unread,
Feb 20, 2013, 10:28:23 PM2/20/13
to salt-...@googlegroups.com
I went a bit further down the rabbit hole with this one, and it seems that for some reason the "sync_all" command only synchronises my custom modules/grains when the minion has a grain set called "role: app".

Any one got any ideas how the hell I got into this mess?

Matt Black

unread,
Feb 20, 2013, 11:21:07 PM2/20/13
to salt-...@googlegroups.com
Please ignore this message, dear list.

It turns out that saltutil.sync_all is respecting to the rules in top.sls (which makes perfect sense) - and those rules were out of date.
Reply all
Reply to author
Forward
0 new messages