{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef/issues/2779","labels_url":"https://api.github.com/repos/chef/chef/issues/2779/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/2779/comments","events_url":"https://api.github.com/repos/chef/chef/issues/2779/events","html_url":"https://github.com/chef/chef/pull/2779","id":54928602,"number":2779,"title":"Allow dsc_script to import dsc resources","user":{"login":"jdmundrawala","id":27443,"avatar_url":"https://avatars.githubusercontent.com/u/27443?v=3","gravatar_id":"","url":"https://api.github.com/users/jdmundrawala","html_url":"https://github.com/jdmundrawala","followers_url":"https://api.github.com/users/jdmundrawala/followers","following_url":"https://api.github.com/users/jdmundrawala/following{/other_user}","gists_url":"https://api.github.com/users/jdmundrawala/gists{/gist_id}","starred_url":"https://api.github.com/users/jdmundrawala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdmundrawala/subscriptions","organizations_url":"https://api.github.com/users/jdmundrawala/orgs","repos_url":"https://api.github.com/users/jdmundrawala/repos","events_url":"https://api.github.com/users/jdmundrawala/events{/privacy}","received_events_url":"https://api.github.com/users/jdmundrawala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/chef/labels/Signed%20CLA","name":"Signed CLA","color":"ededed"},{"url":"https://api.github.com/repos/chef/chef/labels/Windows","name":"Windows","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-20T19:37:50Z","updated_at":"2015-02-09T20:00:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/chef/pulls/2779","html_url":"https://github.com/chef/chef/pull/2779","diff_url":"https://github.com/chef/chef/pull/2779.diff","patch_url":"https://github.com/chef/chef/pull/2779.patch"},"body":"This allows the dsc_script resource to import dsc resources\r\nwhen specifying code. For example:\r\n\r\n```ruby\r\ndsc_script 'RDP' do\r\n  imports \"cRDPEnabled\" => [\"PSHOrg_cRDPEnabled\"]\r\n  code <<-EOH\r\n  cRDPEnabled \"enablerdp\"\r\n  {\r\n    Enabled = $True\r\n  }\r\n  EOH\r\nend\r\n```\r\n\r\ncc @smurawski @adamedx @btm @ksubrama "},"comment":{"url":"https://api.github.com/repos/chef/chef/issues/comments/73578870","html_url":"https://github.com/chef/chef/pull/2779#issuecomment-73578870","issue_url":"https://api.github.com/repos/chef/chef/issues/2779","id":73578870,"user":{"login":"jdmundrawala","id":27443,"avatar_url":"https://avatars.githubusercontent.com/u/27443?v=3","gravatar_id":"","url":"https://api.github.com/users/jdmundrawala","html_url":"https://github.com/jdmundrawala","followers_url":"https://api.github.com/users/jdmundrawala/followers","following_url":"https://api.github.com/users/jdmundrawala/following{/other_user}","gists_url":"https://api.github.com/users/jdmundrawala/gists{/gist_id}","starred_url":"https://api.github.com/users/jdmundrawala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdmundrawala/subscriptions","organizations_url":"https://api.github.com/users/jdmundrawala/orgs","repos_url":"https://api.github.com/users/jdmundrawala/repos","events_url":"https://api.github.com/users/jdmundrawala/events{/privacy}","received_events_url":"https://api.github.com/users/jdmundrawala/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T20:00:37Z","updated_at":"2015-02-09T20:00:37Z","body":"@smurawski added tests to cover that case"}}