{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1641","repository_url":"https://api.github.com/repos/ansible/ansible-modules-extras","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1641/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1641/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1641/events","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1641","id":132436626,"number":1641,"title":"system/puppet: allow to run puppet -e","user":{"login":"EmilienM","id":1688225,"avatar_url":"https://avatars.githubusercontent.com/u/1688225?v=3","gravatar_id":"","url":"https://api.github.com/users/EmilienM","html_url":"https://github.com/EmilienM","followers_url":"https://api.github.com/users/EmilienM/followers","following_url":"https://api.github.com/users/EmilienM/following{/other_user}","gists_url":"https://api.github.com/users/EmilienM/gists{/gist_id}","starred_url":"https://api.github.com/users/EmilienM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmilienM/subscriptions","organizations_url":"https://api.github.com/users/EmilienM/orgs","repos_url":"https://api.github.com/users/EmilienM/repos","events_url":"https://api.github.com/users/EmilienM/events{/privacy}","received_events_url":"https://api.github.com/users/EmilienM/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/shipit","name":"shipit","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-09T14:40:29Z","updated_at":"2016-03-04T20:33:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1641","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1641","diff_url":"https://github.com/ansible/ansible-modules-extras/pull/1641.diff","patch_url":"https://github.com/ansible/ansible-modules-extras/pull/1641.patch"},"body":"-e or --execute [1] allows to execute a specific piece of Puppet code\r\nsuch a class.\r\n\r\nFor example, in puppet you would run:\r\n```\r\npuppet apply -e 'include ::mymodule'\r\n```\r\n\r\nWill be in ansible:\r\n```\r\npuppet: execute='include ::mymodule'\r\n```\r\n\r\n[1] http://docs.puppetlabs.com/puppet/latest/reference/man/apply.html#OPTIONS"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/192456866","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1641#issuecomment-192456866","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1641","id":192456866,"user":{"login":"nibalizer","id":195179,"avatar_url":"https://avatars.githubusercontent.com/u/195179?v=3","gravatar_id":"","url":"https://api.github.com/users/nibalizer","html_url":"https://github.com/nibalizer","followers_url":"https://api.github.com/users/nibalizer/followers","following_url":"https://api.github.com/users/nibalizer/following{/other_user}","gists_url":"https://api.github.com/users/nibalizer/gists{/gist_id}","starred_url":"https://api.github.com/users/nibalizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nibalizer/subscriptions","organizations_url":"https://api.github.com/users/nibalizer/orgs","repos_url":"https://api.github.com/users/nibalizer/repos","events_url":"https://api.github.com/users/nibalizer/events{/privacy}","received_events_url":"https://api.github.com/users/nibalizer/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T20:33:13Z","updated_at":"2016-03-04T20:33:13Z","body":"I think this is needs_revision now "}}