{"action":"created","comment":{"url":"https://api.github.com/repos/chef/chef/pulls/comments/218396658","pull_request_review_id":156322920,"id":218396658,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODM5NjY1OA==","diff_hunk":"@@ -34,6 +34,10 @@ class ZypperPackage < Chef::Resource::Package\n       property :allow_downgrade, [ TrueClass, FalseClass ],\n                description: \"Allow downgrading a package to satisfy requested version requirements.\",\n                default: false, introduced: \"13.6\"\n+\n+      property :global_options, [ String, Array ],","path":"lib/chef/resource/zypper_package.rb","position":5,"original_position":5,"commit_id":"ddc0c219010f30a7330c965a44e905fc8f05515c","original_commit_id":"ddc0c219010f30a7330c965a44e905fc8f05515c","user":{"login":"dheerajd-msys","id":17288094,"node_id":"MDQ6VXNlcjE3Mjg4MDk0","avatar_url":"https://avatars0.githubusercontent.com/u/17288094?v=4","gravatar_id":"","url":"https://api.github.com/users/dheerajd-msys","html_url":"https://github.com/dheerajd-msys","followers_url":"https://api.github.com/users/dheerajd-msys/followers","following_url":"https://api.github.com/users/dheerajd-msys/following{/other_user}","gists_url":"https://api.github.com/users/dheerajd-msys/gists{/gist_id}","starred_url":"https://api.github.com/users/dheerajd-msys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dheerajd-msys/subscriptions","organizations_url":"https://api.github.com/users/dheerajd-msys/orgs","repos_url":"https://api.github.com/users/dheerajd-msys/repos","events_url":"https://api.github.com/users/dheerajd-msys/events{/privacy}","received_events_url":"https://api.github.com/users/dheerajd-msys/received_events","type":"User","site_admin":false},"body":"@tas50 Please suggest if I need to add `introduced` feild here.\r\nThanks","created_at":"2018-09-18T11:38:56Z","updated_at":"2018-09-18T11:38:56Z","html_url":"https://github.com/chef/chef/pull/7518#discussion_r218396658","pull_request_url":"https://api.github.com/repos/chef/chef/pulls/7518","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/chef/chef/pulls/comments/218396658"},"html":{"href":"https://github.com/chef/chef/pull/7518#discussion_r218396658"},"pull_request":{"href":"https://api.github.com/repos/chef/chef/pulls/7518"}}},"pull_request":{"url":"https://api.github.com/repos/chef/chef/pulls/7518","id":205734709,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NzM0NzA5","html_url":"https://github.com/chef/chef/pull/7518","diff_url":"https://github.com/chef/chef/pull/7518.diff","patch_url":"https://github.com/chef/chef/pull/7518.patch","issue_url":"https://api.github.com/repos/chef/chef/issues/7518","number":7518,"state":"open","locked":false,"title":"[Do not merge]Zypper package: Fix for global options property","user":{"login":"dheerajd-msys","id":17288094,"node_id":"MDQ6VXNlcjE3Mjg4MDk0","avatar_url":"https://avatars0.githubusercontent.com/u/17288094?v=4","gravatar_id":"","url":"https://api.github.com/users/dheerajd-msys","html_url":"https://github.com/dheerajd-msys","followers_url":"https://api.github.com/users/dheerajd-msys/followers","following_url":"https://api.github.com/users/dheerajd-msys/following{/other_user}","gists_url":"https://api.github.com/users/dheerajd-msys/gists{/gist_id}","starred_url":"https://api.github.com/users/dheerajd-msys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dheerajd-msys/subscriptions","organizations_url":"https://api.github.com/users/dheerajd-msys/orgs","repos_url":"https://api.github.com/users/dheerajd-msys/repos","events_url":"https://api.github.com/users/dheerajd-msys/events{/privacy}","received_events_url":"https://api.github.com/users/dheerajd-msys/received_events","type":"User","site_admin":false},"body":"Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>\r\n\r\n### Description\r\n\r\nUnable to install a package via the package resource with zypper global options.\r\n```\r\npackage 'sssd' do\r\n   options '-D /tmp/repos.d/'\r\nend\r\n```\r\nThe options in the package resource will be appended to the end of the zypper command:\r\n```\r\nzypper install sssd -D /tmp/repos.d/\r\n```\r\nthe proper way and the only way it works is lke this:\r\n```\r\nzypper  -D /tmp/repos.d/ install sssd\r\nzypper --help\r\nUsage:\r\n        zypper [--global-options] <command> [--command-options] [arguments]\r\n        zypper <subcommand> [--command-options] [arguments\r\n\r\nGlobal Options:\r\n--reposd-dir, -D <dir>  Use alternative repository definition file\r\n```\r\nIntroduced `global_options` property to the `zypper_package` resource\r\n\r\n### Issues Resolved\r\nfixes https://github.com/chef/chef/issues/7490","created_at":"2018-08-02T13:28:25Z","updated_at":"2018-09-18T11:38:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"744ce4423397d95b888cb3f40c03c21bb18cfce3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chef/chef/pulls/7518/commits","review_comments_url":"https://api.github.com/repos/chef/chef/pulls/7518/comments","review_comment_url":"https://api.github.com/repos/chef/chef/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef/chef/issues/7518/comments","statuses_url":"https://api.github.com/repos/chef/chef/statuses/ddc0c219010f30a7330c965a44e905fc8f05515c","head":{"label":"MsysTechnologiesllc:dh/MSYS-870_zypper_global_options","ref":"dh/MSYS-870_zypper_global_options","sha":"ddc0c219010f30a7330c965a44e905fc8f05515c","user":{"login":"MsysTechnologiesllc","id":2493241,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTMyNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/2493241?v=4","gravatar_id":"","url":"https://api.github.com/users/MsysTechnologiesllc","html_url":"https://github.com/MsysTechnologiesllc","followers_url":"https://api.github.com/users/MsysTechnologiesllc/followers","following_url":"https://api.github.com/users/MsysTechnologiesllc/following{/other_user}","gists_url":"https://api.github.com/users/MsysTechnologiesllc/gists{/gist_id}","starred_url":"https://api.github.com/users/MsysTechnologiesllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MsysTechnologiesllc/subscriptions","organizations_url":"https://api.github.com/users/MsysTechnologiesllc/orgs","repos_url":"https://api.github.com/users/MsysTechnologiesllc/repos","events_url":"https://api.github.com/users/MsysTechnologiesllc/events{/privacy}","received_events_url":"https://api.github.com/users/MsysTechnologiesllc/received_events","type":"Organization","site_admin":false},"repo":{"id":8683912,"node_id":"MDEwOlJlcG9zaXRvcnk4NjgzOTEy","name":"chef","full_name":"MsysTechnologiesllc/chef","private":false,"owner":{"login":"MsysTechnologiesllc","id":2493241,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTMyNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/2493241?v=4","gravatar_id":"","url":"https://api.github.com/users/MsysTechnologiesllc","html_url":"https://github.com/MsysTechnologiesllc","followers_url":"https://api.github.com/users/MsysTechnologiesllc/followers","following_url":"https://api.github.com/users/MsysTechnologiesllc/following{/other_user}","gists_url":"https://api.github.com/users/MsysTechnologiesllc/gists{/gist_id}","starred_url":"https://api.github.com/users/MsysTechnologiesllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MsysTechnologiesllc/subscriptions","organizations_url":"https://api.github.com/users/MsysTechnologiesllc/orgs","repos_url":"https://api.github.com/users/MsysTechnologiesllc/repos","events_url":"https://api.github.com/users/MsysTechnologiesllc/events{/privacy}","received_events_url":"https://api.github.com/users/MsysTechnologiesllc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MsysTechnologiesllc/chef","description":"A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.","fork":true,"url":"https://api.github.com/repos/MsysTechnologiesllc/chef","forks_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/forks","keys_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/teams","hooks_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/hooks","issue_events_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/issues/events{/number}","events_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/events","assignees_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/assignees{/user}","branches_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/branches{/branch}","tags_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/tags","blobs_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/git/refs{/sha}","trees_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/statuses/{sha}","languages_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/languages","stargazers_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/stargazers","contributors_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/contributors","subscribers_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/subscribers","subscription_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/subscription","commits_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/commits{/sha}","git_commits_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/git/commits{/sha}","comments_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/comments{/number}","issue_comment_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/issues/comments{/number}","contents_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/contents/{+path}","compare_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/merges","archive_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/downloads","issues_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/issues{/number}","pulls_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/pulls{/number}","milestones_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/milestones{/number}","notifications_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/labels{/name}","releases_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/releases{/id}","deployments_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/deployments","created_at":"2013-03-10T10:56:49Z","updated_at":"2018-09-18T05:52:23Z","pushed_at":"2018-09-18T09:13:51Z","git_url":"git://github.com/MsysTechnologiesllc/chef.git","ssh_url":"git@github.com:MsysTechnologiesllc/chef.git","clone_url":"https://github.com/MsysTechnologiesllc/chef.git","svn_url":"https://github.com/MsysTechnologiesllc/chef","homepage":"http://www.opscode.com/chef/","size":105057,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chef:master","ref":"master","sha":"40b8acd67066c807d95c8133d25a8761dd5800dc","user":{"login":"chef","id":29740,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NzQw","avatar_url":"https://avatars3.githubusercontent.com/u/29740?v=4","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":108278,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgyNzg=","name":"chef","full_name":"chef/chef","private":false,"owner":{"login":"chef","id":29740,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NzQw","avatar_url":"https://avatars3.githubusercontent.com/u/29740?v=4","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/chef/chef","description":"A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.","fork":false,"url":"https://api.github.com/repos/chef/chef","forks_url":"https://api.github.com/repos/chef/chef/forks","keys_url":"https://api.github.com/repos/chef/chef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/chef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/chef/teams","hooks_url":"https://api.github.com/repos/chef/chef/hooks","issue_events_url":"https://api.github.com/repos/chef/chef/issues/events{/number}","events_url":"https://api.github.com/repos/chef/chef/events","assignees_url":"https://api.github.com/repos/chef/chef/assignees{/user}","branches_url":"https://api.github.com/repos/chef/chef/branches{/branch}","tags_url":"https://api.github.com/repos/chef/chef/tags","blobs_url":"https://api.github.com/repos/chef/chef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/chef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/chef/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/chef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/chef/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/chef/languages","stargazers_url":"https://api.github.com/repos/chef/chef/stargazers","contributors_url":"https://api.github.com/repos/chef/chef/contributors","subscribers_url":"https://api.github.com/repos/chef/chef/subscribers","subscription_url":"https://api.github.com/repos/chef/chef/subscription","commits_url":"https://api.github.com/repos/chef/chef/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/chef/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/chef/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/chef/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/chef/contents/{+path}","compare_url":"https://api.github.com/repos/chef/chef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/chef/merges","archive_url":"https://api.github.com/repos/chef/chef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/chef/downloads","issues_url":"https://api.github.com/repos/chef/chef/issues{/number}","pulls_url":"https://api.github.com/repos/chef/chef/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/chef/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/chef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/chef/labels{/name}","releases_url":"https://api.github.com/repos/chef/chef/releases{/id}","deployments_url":"https://api.github.com/repos/chef/chef/deployments","created_at":"2009-01-15T20:40:48Z","updated_at":"2018-09-18T11:09:03Z","pushed_at":"2018-09-18T11:14:36Z","git_url":"git://github.com/chef/chef.git","ssh_url":"git@github.com:chef/chef.git","clone_url":"https://github.com/chef/chef.git","svn_url":"https://github.com/chef/chef","homepage":"http://www.chef.io/chef/","size":106055,"stargazers_count":5432,"watchers_count":5432,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2244,"mirror_url":null,"archived":false,"open_issues_count":543,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2244,"open_issues":543,"watchers":5432,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef/chef/pulls/7518"},"html":{"href":"https://github.com/chef/chef/pull/7518"},"issue":{"href":"https://api.github.com/repos/chef/chef/issues/7518"},"comments":{"href":"https://api.github.com/repos/chef/chef/issues/7518/comments"},"review_comments":{"href":"https://api.github.com/repos/chef/chef/pulls/7518/comments"},"review_comment":{"href":"https://api.github.com/repos/chef/chef/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef/chef/pulls/7518/commits"},"statuses":{"href":"https://api.github.com/repos/chef/chef/statuses/ddc0c219010f30a7330c965a44e905fc8f05515c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dheerajd-msys"}}