{"action":"closed","issue":{"url":"https://api.github.com/repos/rodjek/rspec-puppet/issues/121","labels_url":"https://api.github.com/repos/rodjek/rspec-puppet/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/rodjek/rspec-puppet/issues/121/comments","events_url":"https://api.github.com/repos/rodjek/rspec-puppet/issues/121/events","html_url":"https://github.com/rodjek/rspec-puppet/issues/121","id":23392235,"number":121,"title":"contains_tag ","user":{"login":"AlexRRR","id":1485216,"avatar_url":"https://avatars.githubusercontent.com/u/1485216?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexRRR","html_url":"https://github.com/AlexRRR","followers_url":"https://api.github.com/users/AlexRRR/followers","following_url":"https://api.github.com/users/AlexRRR/following{/other_user}","gists_url":"https://api.github.com/users/AlexRRR/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexRRR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexRRR/subscriptions","organizations_url":"https://api.github.com/users/AlexRRR/orgs","repos_url":"https://api.github.com/users/AlexRRR/repos","events_url":"https://api.github.com/users/AlexRRR/events{/privacy}","received_events_url":"https://api.github.com/users/AlexRRR/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-11-27T15:07:18Z","updated_at":"2015-06-22T14:36:38Z","closed_at":"2015-06-22T14:36:38Z","body":"Let's say I have the following in a defined type\r\n```\r\n\tcase $::operatingsystem {\r\n\t\t'Debian' :{ \r\n\t\t\ttag newserver\r\n\t\t}\r\n\t\t'CentOS' : {\r\n\t\t\ttag oldserver\r\n\t\t}\r\n\t}\r\n```\r\n\r\nI think it would be useful to match something like \r\n```\r\nshould contain_tag('newserver')\r\n```\r\n"}}