{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/26","labels_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/26/comments","events_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/26/events","html_url":"https://github.com/theforeman/foreman_remote_execution/pull/26","id":103566186,"number":26,"title":"fixes #11469 - Ship some default templates","user":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/theforeman/foreman_remote_execution/labels/Needs%20testing","name":"Needs testing","color":"ededed"},{"url":"https://api.github.com/repos/theforeman/foreman_remote_execution/labels/Not%20yet%20reviewed","name":"Not yet reviewed","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-27T18:20:40Z","updated_at":"2015-08-28T15:42:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/26","html_url":"https://github.com/theforeman/foreman_remote_execution/pull/26","diff_url":"https://github.com/theforeman/foreman_remote_execution/pull/26.diff","patch_url":"https://github.com/theforeman/foreman_remote_execution/pull/26.patch"},"body":"Provides:\r\n - Package Action\r\n - Puppet Run Once\r\n - Run Command\r\n - Service Action\r\n\r\nTemplates are seeded by YAML, essentially  a cleaned up `template.to_json(:includes => :template_inputs)`.  We could also go the Foreman route and put the metadata in an ERB comment at the top.\r\n\r\nI add a new `select_options` input type, I wanted this for the package action where a user could select from install/update/etc. \r\n\r\nHere's a gif if you just want to see:\r\n\r\n![rex](https://cloud.githubusercontent.com/assets/429763/9529134/a853088e-4cc6-11e5-8472-3952137de2e4.gif)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/comments/135810138","html_url":"https://github.com/theforeman/foreman_remote_execution/pull/26#issuecomment-135810138","issue_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/26","id":135810138,"user":{"login":"iNecas","id":190443,"avatar_url":"https://avatars.githubusercontent.com/u/190443?v=3","gravatar_id":"","url":"https://api.github.com/users/iNecas","html_url":"https://github.com/iNecas","followers_url":"https://api.github.com/users/iNecas/followers","following_url":"https://api.github.com/users/iNecas/following{/other_user}","gists_url":"https://api.github.com/users/iNecas/gists{/gist_id}","starred_url":"https://api.github.com/users/iNecas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNecas/subscriptions","organizations_url":"https://api.github.com/users/iNecas/orgs","repos_url":"https://api.github.com/users/iNecas/repos","events_url":"https://api.github.com/users/iNecas/events{/privacy}","received_events_url":"https://api.github.com/users/iNecas/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T15:42:09Z","updated_at":"2015-08-28T15:42:09Z","body":"I've tested the code and works as expected, some comments inline"}}