{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/33360","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/33360/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/33360/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/33360/events","html_url":"https://github.com/saltstack/salt/issues/33360","id":155760524,"number":33360,"title":"Documentation on match: in a top file doesn't match functionality","user":{"login":"chizou","id":8129778,"avatar_url":"https://avatars.githubusercontent.com/u/8129778?v=3","gravatar_id":"","url":"https://api.github.com/users/chizou","html_url":"https://github.com/chizou","followers_url":"https://api.github.com/users/chizou/followers","following_url":"https://api.github.com/users/chizou/following{/other_user}","gists_url":"https://api.github.com/users/chizou/gists{/gist_id}","starred_url":"https://api.github.com/users/chizou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chizou/subscriptions","organizations_url":"https://api.github.com/users/chizou/orgs","repos_url":"https://api.github.com/users/chizou/repos","events_url":"https://api.github.com/users/chizou/events{/privacy}","received_events_url":"https://api.github.com/users/chizou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-19T15:07:07Z","updated_at":"2016-05-19T15:07:07Z","closed_at":null,"body":"According to the docs here https://docs.saltstack.com/en/latest/topics/targeting/compound.html, specifying `match: compound` should work\r\n\r\n```\r\nbase:\r\n    'role:consul_server':\r\n        - match:grain\r\n        - consul_server\r\n\r\n    'not G@role:consul_server':\r\n        - match:compound\r\n        - consul_agent\r\n```\r\n\r\nHowever, specifying `match:compound`, I receive the following error:\r\n```\r\ni-0aef9c059616e426e:\r\n    Data failed to compile:\r\n----------\r\n    Pillar failed to render with the following messages:\r\n----------\r\n    Specified SLS 'match:compound' in environment 'base' is not available on the salt master\r\n```\r\n\r\nIf I remove the `match:compound` statement, applying the state works correctly."}}