{"action":"closed","number":104,"pull_request":{"url":"https://api.github.com/repos/chef-cookbooks/rsyslog/pulls/104","id":53156429,"html_url":"https://github.com/chef-cookbooks/rsyslog/pull/104","diff_url":"https://github.com/chef-cookbooks/rsyslog/pull/104.diff","patch_url":"https://github.com/chef-cookbooks/rsyslog/pull/104.patch","issue_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/issues/104","number":104,"state":"closed","locked":false,"title":"file_input configured InputFileTag and InputFileStateFile with a path","user":{"login":"jameslegg","id":1304146,"avatar_url":"https://avatars.githubusercontent.com/u/1304146?v=3","gravatar_id":"","url":"https://api.github.com/users/jameslegg","html_url":"https://github.com/jameslegg","followers_url":"https://api.github.com/users/jameslegg/followers","following_url":"https://api.github.com/users/jameslegg/following{/other_user}","gists_url":"https://api.github.com/users/jameslegg/gists{/gist_id}","starred_url":"https://api.github.com/users/jameslegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameslegg/subscriptions","organizations_url":"https://api.github.com/users/jameslegg/orgs","repos_url":"https://api.github.com/users/jameslegg/repos","events_url":"https://api.github.com/users/jameslegg/events{/privacy}","received_events_url":"https://api.github.com/users/jameslegg/received_events","type":"User","site_admin":false},"body":"The name variable is reassigned within the file_input resource inside the template resource to be the file path of the configuration file. This causes InputFileTag and InputFileStateFile to be configured with a path to the configuration file and not the name of the rsyslog_file_input resource as I believe was probably the intention.\r\n\r\n\r\nTests for the broken behaviour are in a separate commit. \r\n","created_at":"2015-12-09T18:10:26Z","updated_at":"2015-12-09T18:55:36Z","closed_at":"2015-12-09T18:55:36Z","merged_at":"2015-12-09T18:55:36Z","merge_commit_sha":"5582032ade525e26f678fea4f431b4cfd50a34d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/pulls/104/commits","review_comments_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/pulls/104/comments","review_comment_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/issues/104/comments","statuses_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/statuses/ad19a7b55f4e2db8718d86ed06ab67971ef654a6","head":{"label":"jameslegg:correctly-configure-tag-and-state","ref":"correctly-configure-tag-and-state","sha":"ad19a7b55f4e2db8718d86ed06ab67971ef654a6","user":{"login":"jameslegg","id":1304146,"avatar_url":"https://avatars.githubusercontent.com/u/1304146?v=3","gravatar_id":"","url":"https://api.github.com/users/jameslegg","html_url":"https://github.com/jameslegg","followers_url":"https://api.github.com/users/jameslegg/followers","following_url":"https://api.github.com/users/jameslegg/following{/other_user}","gists_url":"https://api.github.com/users/jameslegg/gists{/gist_id}","starred_url":"https://api.github.com/users/jameslegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameslegg/subscriptions","organizations_url":"https://api.github.com/users/jameslegg/orgs","repos_url":"https://api.github.com/users/jameslegg/repos","events_url":"https://api.github.com/users/jameslegg/events{/privacy}","received_events_url":"https://api.github.com/users/jameslegg/received_events","type":"User","site_admin":false},"repo":{"id":47708557,"name":"rsyslog","full_name":"jameslegg/rsyslog","owner":{"login":"jameslegg","id":1304146,"avatar_url":"https://avatars.githubusercontent.com/u/1304146?v=3","gravatar_id":"","url":"https://api.github.com/users/jameslegg","html_url":"https://github.com/jameslegg","followers_url":"https://api.github.com/users/jameslegg/followers","following_url":"https://api.github.com/users/jameslegg/following{/other_user}","gists_url":"https://api.github.com/users/jameslegg/gists{/gist_id}","starred_url":"https://api.github.com/users/jameslegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameslegg/subscriptions","organizations_url":"https://api.github.com/users/jameslegg/orgs","repos_url":"https://api.github.com/users/jameslegg/repos","events_url":"https://api.github.com/users/jameslegg/events{/privacy}","received_events_url":"https://api.github.com/users/jameslegg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jameslegg/rsyslog","description":"Development repository for Chef Cookbook rsyslog","fork":true,"url":"https://api.github.com/repos/jameslegg/rsyslog","forks_url":"https://api.github.com/repos/jameslegg/rsyslog/forks","keys_url":"https://api.github.com/repos/jameslegg/rsyslog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jameslegg/rsyslog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jameslegg/rsyslog/teams","hooks_url":"https://api.github.com/repos/jameslegg/rsyslog/hooks","issue_events_url":"https://api.github.com/repos/jameslegg/rsyslog/issues/events{/number}","events_url":"https://api.github.com/repos/jameslegg/rsyslog/events","assignees_url":"https://api.github.com/repos/jameslegg/rsyslog/assignees{/user}","branches_url":"https://api.github.com/repos/jameslegg/rsyslog/branches{/branch}","tags_url":"https://api.github.com/repos/jameslegg/rsyslog/tags","blobs_url":"https://api.github.com/repos/jameslegg/rsyslog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jameslegg/rsyslog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jameslegg/rsyslog/git/refs{/sha}","trees_url":"https://api.github.com/repos/jameslegg/rsyslog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jameslegg/rsyslog/statuses/{sha}","languages_url":"https://api.github.com/repos/jameslegg/rsyslog/languages","stargazers_url":"https://api.github.com/repos/jameslegg/rsyslog/stargazers","contributors_url":"https://api.github.com/repos/jameslegg/rsyslog/contributors","subscribers_url":"https://api.github.com/repos/jameslegg/rsyslog/subscribers","subscription_url":"https://api.github.com/repos/jameslegg/rsyslog/subscription","commits_url":"https://api.github.com/repos/jameslegg/rsyslog/commits{/sha}","git_commits_url":"https://api.github.com/repos/jameslegg/rsyslog/git/commits{/sha}","comments_url":"https://api.github.com/repos/jameslegg/rsyslog/comments{/number}","issue_comment_url":"https://api.github.com/repos/jameslegg/rsyslog/issues/comments{/number}","contents_url":"https://api.github.com/repos/jameslegg/rsyslog/contents/{+path}","compare_url":"https://api.github.com/repos/jameslegg/rsyslog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jameslegg/rsyslog/merges","archive_url":"https://api.github.com/repos/jameslegg/rsyslog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jameslegg/rsyslog/downloads","issues_url":"https://api.github.com/repos/jameslegg/rsyslog/issues{/number}","pulls_url":"https://api.github.com/repos/jameslegg/rsyslog/pulls{/number}","milestones_url":"https://api.github.com/repos/jameslegg/rsyslog/milestones{/number}","notifications_url":"https://api.github.com/repos/jameslegg/rsyslog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jameslegg/rsyslog/labels{/name}","releases_url":"https://api.github.com/repos/jameslegg/rsyslog/releases{/id}","created_at":"2015-12-09T17:48:31Z","updated_at":"2015-12-09T17:48:32Z","pushed_at":"2015-12-09T18:13:14Z","git_url":"git://github.com/jameslegg/rsyslog.git","ssh_url":"git@github.com:jameslegg/rsyslog.git","clone_url":"https://github.com/jameslegg/rsyslog.git","svn_url":"https://github.com/jameslegg/rsyslog","homepage":"https://supermarket.chef.io/cookbooks/rsyslog","size":366,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chef-cookbooks:master","ref":"master","sha":"65f35ded7f94bd49ed56813fe70d3a52c56a2f7a","user":{"login":"chef-cookbooks","id":3617830,"avatar_url":"https://avatars.githubusercontent.com/u/3617830?v=3","gravatar_id":"","url":"https://api.github.com/users/chef-cookbooks","html_url":"https://github.com/chef-cookbooks","followers_url":"https://api.github.com/users/chef-cookbooks/followers","following_url":"https://api.github.com/users/chef-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/chef-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/chef-cookbooks/orgs","repos_url":"https://api.github.com/users/chef-cookbooks/repos","events_url":"https://api.github.com/users/chef-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/chef-cookbooks/received_events","type":"Organization","site_admin":false},"repo":{"id":3720911,"name":"rsyslog","full_name":"chef-cookbooks/rsyslog","owner":{"login":"chef-cookbooks","id":3617830,"avatar_url":"https://avatars.githubusercontent.com/u/3617830?v=3","gravatar_id":"","url":"https://api.github.com/users/chef-cookbooks","html_url":"https://github.com/chef-cookbooks","followers_url":"https://api.github.com/users/chef-cookbooks/followers","following_url":"https://api.github.com/users/chef-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/chef-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/chef-cookbooks/orgs","repos_url":"https://api.github.com/users/chef-cookbooks/repos","events_url":"https://api.github.com/users/chef-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/chef-cookbooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef-cookbooks/rsyslog","description":"Development repository for Chef Cookbook rsyslog","fork":false,"url":"https://api.github.com/repos/chef-cookbooks/rsyslog","forks_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/forks","keys_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/teams","hooks_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/hooks","issue_events_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/issues/events{/number}","events_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/events","assignees_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/assignees{/user}","branches_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/branches{/branch}","tags_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/tags","blobs_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/statuses/{sha}","languages_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/languages","stargazers_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/stargazers","contributors_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/contributors","subscribers_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/subscribers","subscription_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/subscription","commits_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/contents/{+path}","compare_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/merges","archive_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/downloads","issues_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/issues{/number}","pulls_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/pulls{/number}","milestones_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/milestones{/number}","notifications_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/labels{/name}","releases_url":"https://api.github.com/repos/chef-cookbooks/rsyslog/releases{/id}","created_at":"2012-03-14T18:38:51Z","updated_at":"2015-11-05T02:10:21Z","pushed_at":"2015-12-09T18:55:37Z","git_url":"git://github.com/chef-cookbooks/rsyslog.git","ssh_url":"git@github.com:chef-cookbooks/rsyslog.git","clone_url":"https://github.com/chef-cookbooks/rsyslog.git","svn_url":"https://github.com/chef-cookbooks/rsyslog","homepage":"https://supermarket.chef.io/cookbooks/rsyslog","size":490,"stargazers_count":48,"watchers_count":48,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":166,"mirror_url":null,"open_issues_count":10,"forks":166,"open_issues":10,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef-cookbooks/rsyslog/pulls/104"},"html":{"href":"https://github.com/chef-cookbooks/rsyslog/pull/104"},"issue":{"href":"https://api.github.com/repos/chef-cookbooks/rsyslog/issues/104"},"comments":{"href":"https://api.github.com/repos/chef-cookbooks/rsyslog/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/chef-cookbooks/rsyslog/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/chef-cookbooks/rsyslog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef-cookbooks/rsyslog/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/chef-cookbooks/rsyslog/statuses/ad19a7b55f4e2db8718d86ed06ab67971ef654a6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tas50","id":1015200,"avatar_url":"https://avatars.githubusercontent.com/u/1015200?v=3","gravatar_id":"","url":"https://api.github.com/users/tas50","html_url":"https://github.com/tas50","followers_url":"https://api.github.com/users/tas50/followers","following_url":"https://api.github.com/users/tas50/following{/other_user}","gists_url":"https://api.github.com/users/tas50/gists{/gist_id}","starred_url":"https://api.github.com/users/tas50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tas50/subscriptions","organizations_url":"https://api.github.com/users/tas50/orgs","repos_url":"https://api.github.com/users/tas50/repos","events_url":"https://api.github.com/users/tas50/events{/privacy}","received_events_url":"https://api.github.com/users/tas50/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":11,"deletions":2,"changed_files":2}}