{"action":"opened","issue":{"url":"https://api.github.com/repos/salt-formulas/salt-formula-docker/issues/22","repository_url":"https://api.github.com/repos/salt-formulas/salt-formula-docker","labels_url":"https://api.github.com/repos/salt-formulas/salt-formula-docker/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/salt-formulas/salt-formula-docker/issues/22/comments","events_url":"https://api.github.com/repos/salt-formulas/salt-formula-docker/issues/22/events","html_url":"https://github.com/salt-formulas/salt-formula-docker/issues/22","id":300418182,"number":22,"title":"Token unknown with good grains in swarm master","user":{"login":"JohanMoreau","id":814803,"avatar_url":"https://avatars1.githubusercontent.com/u/814803?v=4","gravatar_id":"","url":"https://api.github.com/users/JohanMoreau","html_url":"https://github.com/JohanMoreau","followers_url":"https://api.github.com/users/JohanMoreau/followers","following_url":"https://api.github.com/users/JohanMoreau/following{/other_user}","gists_url":"https://api.github.com/users/JohanMoreau/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanMoreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanMoreau/subscriptions","organizations_url":"https://api.github.com/users/JohanMoreau/orgs","repos_url":"https://api.github.com/users/JohanMoreau/repos","events_url":"https://api.github.com/users/JohanMoreau/events{/privacy}","received_events_url":"https://api.github.com/users/JohanMoreau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-26T22:19:06Z","updated_at":"2018-02-26T22:19:06Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI try to create a docker swarm. My master seems to be good :\r\n```yaml\r\nlocal:\r\n    .......\r\n    docker_swarm_tokens:\r\n        ----------\r\n        manager:\r\n            SWMTKN-1-1wg..............\r\n```\r\nBut on my worker, I can't transfert the token :\r\n```yaml\r\ndocker swarm join --token unknown\r\n```\r\nI try to add mine like :\r\n```yaml\r\nmine_functions:\r\n  swarm:\r\n    - mine_function: grains.items\r\n```\r\nor \r\n```yaml\r\nmine_functions:\r\n  swarm.docker_swarm_tokens.manager:\r\n    - mine_function: cmd.run\r\n    - 'docker swarm join-token manager -q'\r\n```\r\nBut it doesn't work. Any idea ?\r\n\r\nsalt 2017.7.4 (Nitrogen)\r\nsalt-call 2017.7.4 (Nitrogen)\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"JohanMoreau"}}