{"action":"created","issue":{"url":"https://api.github.com/repos/miketheman/nginx/issues/286","repository_url":"https://api.github.com/repos/miketheman/nginx","labels_url":"https://api.github.com/repos/miketheman/nginx/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/miketheman/nginx/issues/286/comments","events_url":"https://api.github.com/repos/miketheman/nginx/issues/286/events","html_url":"https://github.com/miketheman/nginx/issues/286","id":46604275,"number":286,"title":"Upgrading nginx package is not possible","user":{"login":"chr4","id":4600363,"avatar_url":"https://avatars.githubusercontent.com/u/4600363?v=3","gravatar_id":"","url":"https://api.github.com/users/chr4","html_url":"https://github.com/chr4","followers_url":"https://api.github.com/users/chr4/followers","following_url":"https://api.github.com/users/chr4/following{/other_user}","gists_url":"https://api.github.com/users/chr4/gists{/gist_id}","starred_url":"https://api.github.com/users/chr4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chr4/subscriptions","organizations_url":"https://api.github.com/users/chr4/orgs","repos_url":"https://api.github.com/users/chr4/repos","events_url":"https://api.github.com/users/chr4/events{/privacy}","received_events_url":"https://api.github.com/users/chr4/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/miketheman/nginx/labels/pre-3.0","name":"pre-3.0","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/miketheman/nginx/milestones/5","html_url":"https://github.com/miketheman/nginx/milestones/Version%20woes","labels_url":"https://api.github.com/repos/miketheman/nginx/milestones/5/labels","id":877077,"number":5,"title":"Version woes","description":"This should capture all issues and pull requests pertaining to version identifiers.\r\n\r\nOnce collected here, they may move to another milestone, but this is an initial collection mechanism.","creator":{"login":"miketheman","id":529516,"avatar_url":"https://avatars.githubusercontent.com/u/529516?v=3","gravatar_id":"","url":"https://api.github.com/users/miketheman","html_url":"https://github.com/miketheman","followers_url":"https://api.github.com/users/miketheman/followers","following_url":"https://api.github.com/users/miketheman/following{/other_user}","gists_url":"https://api.github.com/users/miketheman/gists{/gist_id}","starred_url":"https://api.github.com/users/miketheman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miketheman/subscriptions","organizations_url":"https://api.github.com/users/miketheman/orgs","repos_url":"https://api.github.com/users/miketheman/repos","events_url":"https://api.github.com/users/miketheman/events{/privacy}","received_events_url":"https://api.github.com/users/miketheman/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":5,"state":"open","created_at":"2014-11-23T00:01:37Z","updated_at":"2016-03-13T13:24:28Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2014-10-23T09:19:25Z","updated_at":"2016-08-18T05:26:42Z","closed_at":null,"body":"I need to upgrade the currently used nginx packages to a more recent (mainline) version. \r\nUnfortunately, just incrementing the `node['nginx']['version']` and changing the `node['nginx']['upstream_repository']` won't work, as there's a `not_if 'which nginx'` clause in the `nginx::package` recipe, and no posibility to change the package action to `upgrade`. \r\n\r\nI can of course pruge the package in my wrapper cookbook and then reinstall, but this is not very suitable for production, imho.\r\n\r\nI'd vote for an attribute like `node['nginx']['package']['action']` which defaults to install, but can be overriden, and I'm wondering why the `not_if` clause is needed?\r\n\r\nI'd volunteer implementing this option after we found a nice way of doing it and file a pull request."},"comment":{"url":"https://api.github.com/repos/miketheman/nginx/issues/comments/240627223","html_url":"https://github.com/miketheman/nginx/issues/286#issuecomment-240627223","issue_url":"https://api.github.com/repos/miketheman/nginx/issues/286","id":240627223,"user":{"login":"kkdk5535","id":1418472,"avatar_url":"https://avatars.githubusercontent.com/u/1418472?v=3","gravatar_id":"","url":"https://api.github.com/users/kkdk5535","html_url":"https://github.com/kkdk5535","followers_url":"https://api.github.com/users/kkdk5535/followers","following_url":"https://api.github.com/users/kkdk5535/following{/other_user}","gists_url":"https://api.github.com/users/kkdk5535/gists{/gist_id}","starred_url":"https://api.github.com/users/kkdk5535/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkdk5535/subscriptions","organizations_url":"https://api.github.com/users/kkdk5535/orgs","repos_url":"https://api.github.com/users/kkdk5535/repos","events_url":"https://api.github.com/users/kkdk5535/events{/privacy}","received_events_url":"https://api.github.com/users/kkdk5535/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T05:26:41Z","updated_at":"2016-08-18T05:26:41Z","body":"@rmoriz \r\nThanks for sharing your inputs for my comment. Sorry it took time to catch up with my emails."}}
{"actor":{"display_login":"kkdk5535"}}