{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/32257","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/32257/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/32257/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/32257/events","html_url":"https://github.com/saltstack/salt/issues/32257","id":144757314,"number":32257,"title":"Feature Request: salt target limit","user":{"login":"deuscapturus","id":5497572,"avatar_url":"https://avatars.githubusercontent.com/u/5497572?v=3","gravatar_id":"","url":"https://api.github.com/users/deuscapturus","html_url":"https://github.com/deuscapturus","followers_url":"https://api.github.com/users/deuscapturus/followers","following_url":"https://api.github.com/users/deuscapturus/following{/other_user}","gists_url":"https://api.github.com/users/deuscapturus/gists{/gist_id}","starred_url":"https://api.github.com/users/deuscapturus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deuscapturus/subscriptions","organizations_url":"https://api.github.com/users/deuscapturus/orgs","repos_url":"https://api.github.com/users/deuscapturus/repos","events_url":"https://api.github.com/users/deuscapturus/events{/privacy}","received_events_url":"https://api.github.com/users/deuscapturus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-31T00:43:40Z","updated_at":"2016-03-31T04:01:31Z","closed_at":null,"body":"### Feature Request\r\n\r\nAdd --limit flag to salt cli.\r\n\r\nMany times I need of a feature to target a limited number of minions to a match.  The limit could be random or not, it doesn't matter to me.\r\n\r\nExample:  \r\n```\r\nsalt -G 'role:web-frontend' --limit 1 state.apply mystate test=True\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/203741912","html_url":"https://github.com/saltstack/salt/issues/32257#issuecomment-203741912","issue_url":"https://api.github.com/repos/saltstack/salt/issues/32257","id":203741912,"user":{"login":"tdenny","id":3370329,"avatar_url":"https://avatars.githubusercontent.com/u/3370329?v=3","gravatar_id":"","url":"https://api.github.com/users/tdenny","html_url":"https://github.com/tdenny","followers_url":"https://api.github.com/users/tdenny/followers","following_url":"https://api.github.com/users/tdenny/following{/other_user}","gists_url":"https://api.github.com/users/tdenny/gists{/gist_id}","starred_url":"https://api.github.com/users/tdenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdenny/subscriptions","organizations_url":"https://api.github.com/users/tdenny/orgs","repos_url":"https://api.github.com/users/tdenny/repos","events_url":"https://api.github.com/users/tdenny/events{/privacy}","received_events_url":"https://api.github.com/users/tdenny/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T04:01:31Z","updated_at":"2016-03-31T04:01:31Z","body":"+1"}}