{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/29249","labels_url":"https://api.github.com/repos/saltstack/salt/issues/29249/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/29249/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/29249/events","html_url":"https://github.com/saltstack/salt/issues/29249","id":119280148,"number":29249,"title":"`salt-cloud` `sync_after_install: all` does not seem to sync anything at all","user":{"login":"timcharper","id":183,"avatar_url":"https://avatars.githubusercontent.com/u/183?v=3","gravatar_id":"","url":"https://api.github.com/users/timcharper","html_url":"https://github.com/timcharper","followers_url":"https://api.github.com/users/timcharper/followers","following_url":"https://api.github.com/users/timcharper/following{/other_user}","gists_url":"https://api.github.com/users/timcharper/gists{/gist_id}","starred_url":"https://api.github.com/users/timcharper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timcharper/subscriptions","organizations_url":"https://api.github.com/users/timcharper/orgs","repos_url":"https://api.github.com/users/timcharper/repos","events_url":"https://api.github.com/users/timcharper/events{/privacy}","received_events_url":"https://api.github.com/users/timcharper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-28T08:18:06Z","updated_at":"2015-11-30T21:33:39Z","closed_at":null,"body":"https://docs.saltstack.com/en/latest/topics/cloud/misc.html#sync-after-install states that this option should work. However, as soon as I boot a new instance, and manually run `saltutil.sync_grains`, it reports that all of my custom grains are synced as new.\r\n\r\nI'm using an AMI I created, with `script_args: -C`, since I've preinstalled salt on the image.\r\n\r\nIs it possible that because I am not actually installing salt via salt-cloud, it is not processing the after_install step? Seems unlikely.\r\n\r\nI'm using salt-cloud `2015-8-1`, installed via git."},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/160768385","html_url":"https://github.com/saltstack/salt/issues/29249#issuecomment-160768385","issue_url":"https://api.github.com/repos/saltstack/salt/issues/29249","id":160768385,"user":{"login":"techhat","id":287147,"avatar_url":"https://avatars.githubusercontent.com/u/287147?v=3","gravatar_id":"","url":"https://api.github.com/users/techhat","html_url":"https://github.com/techhat","followers_url":"https://api.github.com/users/techhat/followers","following_url":"https://api.github.com/users/techhat/following{/other_user}","gists_url":"https://api.github.com/users/techhat/gists{/gist_id}","starred_url":"https://api.github.com/users/techhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techhat/subscriptions","organizations_url":"https://api.github.com/users/techhat/orgs","repos_url":"https://api.github.com/users/techhat/repos","events_url":"https://api.github.com/users/techhat/events{/privacy}","received_events_url":"https://api.github.com/users/techhat/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T21:33:39Z","updated_at":"2015-11-30T21:33:39Z","body":"Thanks @timcharper, I wish you luck."}}