{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/pulls/5","id":27157092,"html_url":"https://github.com/saltstack-formulas/tmux-formula/pull/5","diff_url":"https://github.com/saltstack-formulas/tmux-formula/pull/5.diff","patch_url":"https://github.com/saltstack-formulas/tmux-formula/pull/5.patch","issue_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/issues/5","number":5,"state":"open","locked":false,"title":"fix broken tmux.conf location on redhat","user":{"login":"saxonww","id":5296001,"avatar_url":"https://avatars.githubusercontent.com/u/5296001?v=3","gravatar_id":"","url":"https://api.github.com/users/saxonww","html_url":"https://github.com/saxonww","followers_url":"https://api.github.com/users/saxonww/followers","following_url":"https://api.github.com/users/saxonww/following{/other_user}","gists_url":"https://api.github.com/users/saxonww/gists{/gist_id}","starred_url":"https://api.github.com/users/saxonww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saxonww/subscriptions","organizations_url":"https://api.github.com/users/saxonww/orgs","repos_url":"https://api.github.com/users/saxonww/repos","events_url":"https://api.github.com/users/saxonww/events{/privacy}","received_events_url":"https://api.github.com/users/saxonww/received_events","type":"User","site_admin":false},"body":"I found that this module failed on CentOS 7 as the tmux package does not create /usr/share/tmux. Also, the default tmux.conf location on CentOS 7 and tmux from epel on an RHEL 5 machine are both /etc/tmux.conf.\r\n\r\nThis change moves the .tmux.conf to a files/ subdir, adds a RedHat entry to map.jinja and converts init.sls to prefer a tmux.conf location from the pillar with fallback to the default from map.jinja and load .tmux.conf from the new location. I tested this on my CentOS 7 machine and it seems to work as intended. ","created_at":"2015-01-11T01:01:23Z","updated_at":"2015-01-11T01:01:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/pulls/5/commits","review_comments_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/pulls/5/comments","review_comment_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/pulls/comments/{number}","comments_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/issues/5/comments","statuses_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/statuses/a39e068f2269dc3e6ae6bd7f3a0cef7127c3c6fa","head":{"label":"saxonww:master","ref":"master","sha":"a39e068f2269dc3e6ae6bd7f3a0cef7127c3c6fa","user":{"login":"saxonww","id":5296001,"avatar_url":"https://avatars.githubusercontent.com/u/5296001?v=3","gravatar_id":"","url":"https://api.github.com/users/saxonww","html_url":"https://github.com/saxonww","followers_url":"https://api.github.com/users/saxonww/followers","following_url":"https://api.github.com/users/saxonww/following{/other_user}","gists_url":"https://api.github.com/users/saxonww/gists{/gist_id}","starred_url":"https://api.github.com/users/saxonww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saxonww/subscriptions","organizations_url":"https://api.github.com/users/saxonww/orgs","repos_url":"https://api.github.com/users/saxonww/repos","events_url":"https://api.github.com/users/saxonww/events{/privacy}","received_events_url":"https://api.github.com/users/saxonww/received_events","type":"User","site_admin":false},"repo":{"id":29076414,"name":"tmux-formula","full_name":"saxonww/tmux-formula","owner":{"login":"saxonww","id":5296001,"avatar_url":"https://avatars.githubusercontent.com/u/5296001?v=3","gravatar_id":"","url":"https://api.github.com/users/saxonww","html_url":"https://github.com/saxonww","followers_url":"https://api.github.com/users/saxonww/followers","following_url":"https://api.github.com/users/saxonww/following{/other_user}","gists_url":"https://api.github.com/users/saxonww/gists{/gist_id}","starred_url":"https://api.github.com/users/saxonww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saxonww/subscriptions","organizations_url":"https://api.github.com/users/saxonww/orgs","repos_url":"https://api.github.com/users/saxonww/repos","events_url":"https://api.github.com/users/saxonww/events{/privacy}","received_events_url":"https://api.github.com/users/saxonww/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saxonww/tmux-formula","description":"","fork":true,"url":"https://api.github.com/repos/saxonww/tmux-formula","forks_url":"https://api.github.com/repos/saxonww/tmux-formula/forks","keys_url":"https://api.github.com/repos/saxonww/tmux-formula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saxonww/tmux-formula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saxonww/tmux-formula/teams","hooks_url":"https://api.github.com/repos/saxonww/tmux-formula/hooks","issue_events_url":"https://api.github.com/repos/saxonww/tmux-formula/issues/events{/number}","events_url":"https://api.github.com/repos/saxonww/tmux-formula/events","assignees_url":"https://api.github.com/repos/saxonww/tmux-formula/assignees{/user}","branches_url":"https://api.github.com/repos/saxonww/tmux-formula/branches{/branch}","tags_url":"https://api.github.com/repos/saxonww/tmux-formula/tags","blobs_url":"https://api.github.com/repos/saxonww/tmux-formula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saxonww/tmux-formula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saxonww/tmux-formula/git/refs{/sha}","trees_url":"https://api.github.com/repos/saxonww/tmux-formula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saxonww/tmux-formula/statuses/{sha}","languages_url":"https://api.github.com/repos/saxonww/tmux-formula/languages","stargazers_url":"https://api.github.com/repos/saxonww/tmux-formula/stargazers","contributors_url":"https://api.github.com/repos/saxonww/tmux-formula/contributors","subscribers_url":"https://api.github.com/repos/saxonww/tmux-formula/subscribers","subscription_url":"https://api.github.com/repos/saxonww/tmux-formula/subscription","commits_url":"https://api.github.com/repos/saxonww/tmux-formula/commits{/sha}","git_commits_url":"https://api.github.com/repos/saxonww/tmux-formula/git/commits{/sha}","comments_url":"https://api.github.com/repos/saxonww/tmux-formula/comments{/number}","issue_comment_url":"https://api.github.com/repos/saxonww/tmux-formula/issues/comments/{number}","contents_url":"https://api.github.com/repos/saxonww/tmux-formula/contents/{+path}","compare_url":"https://api.github.com/repos/saxonww/tmux-formula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saxonww/tmux-formula/merges","archive_url":"https://api.github.com/repos/saxonww/tmux-formula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saxonww/tmux-formula/downloads","issues_url":"https://api.github.com/repos/saxonww/tmux-formula/issues{/number}","pulls_url":"https://api.github.com/repos/saxonww/tmux-formula/pulls{/number}","milestones_url":"https://api.github.com/repos/saxonww/tmux-formula/milestones{/number}","notifications_url":"https://api.github.com/repos/saxonww/tmux-formula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saxonww/tmux-formula/labels{/name}","releases_url":"https://api.github.com/repos/saxonww/tmux-formula/releases{/id}","created_at":"2015-01-11T00:34:45Z","updated_at":"2015-01-11T00:34:45Z","pushed_at":"2015-01-11T00:54:02Z","git_url":"git://github.com/saxonww/tmux-formula.git","ssh_url":"git@github.com:saxonww/tmux-formula.git","clone_url":"https://github.com/saxonww/tmux-formula.git","svn_url":"https://github.com/saxonww/tmux-formula","homepage":"http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html","size":97,"stargazers_count":0,"watchers_count":0,"language":null,"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":"saltstack-formulas:master","ref":"master","sha":"4ea2355b84acceba35d658882cc7c0d5f61996dc","user":{"login":"saltstack-formulas","id":4683350,"avatar_url":"https://avatars.githubusercontent.com/u/4683350?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack-formulas","html_url":"https://github.com/saltstack-formulas","followers_url":"https://api.github.com/users/saltstack-formulas/followers","following_url":"https://api.github.com/users/saltstack-formulas/following{/other_user}","gists_url":"https://api.github.com/users/saltstack-formulas/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack-formulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack-formulas/subscriptions","organizations_url":"https://api.github.com/users/saltstack-formulas/orgs","repos_url":"https://api.github.com/users/saltstack-formulas/repos","events_url":"https://api.github.com/users/saltstack-formulas/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack-formulas/received_events","type":"Organization","site_admin":false},"repo":{"id":10653630,"name":"tmux-formula","full_name":"saltstack-formulas/tmux-formula","owner":{"login":"saltstack-formulas","id":4683350,"avatar_url":"https://avatars.githubusercontent.com/u/4683350?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack-formulas","html_url":"https://github.com/saltstack-formulas","followers_url":"https://api.github.com/users/saltstack-formulas/followers","following_url":"https://api.github.com/users/saltstack-formulas/following{/other_user}","gists_url":"https://api.github.com/users/saltstack-formulas/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack-formulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack-formulas/subscriptions","organizations_url":"https://api.github.com/users/saltstack-formulas/orgs","repos_url":"https://api.github.com/users/saltstack-formulas/repos","events_url":"https://api.github.com/users/saltstack-formulas/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack-formulas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/saltstack-formulas/tmux-formula","description":"","fork":false,"url":"https://api.github.com/repos/saltstack-formulas/tmux-formula","forks_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/forks","keys_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/teams","hooks_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/hooks","issue_events_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/issues/events{/number}","events_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/events","assignees_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/assignees{/user}","branches_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/branches{/branch}","tags_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/tags","blobs_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/git/refs{/sha}","trees_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/statuses/{sha}","languages_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/languages","stargazers_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/stargazers","contributors_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/contributors","subscribers_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/subscribers","subscription_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/subscription","commits_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/commits{/sha}","git_commits_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/git/commits{/sha}","comments_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/comments{/number}","issue_comment_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/issues/comments/{number}","contents_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/contents/{+path}","compare_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/merges","archive_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/downloads","issues_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/issues{/number}","pulls_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/pulls{/number}","milestones_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/milestones{/number}","notifications_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/labels{/name}","releases_url":"https://api.github.com/repos/saltstack-formulas/tmux-formula/releases{/id}","created_at":"2013-06-12T22:17:31Z","updated_at":"2015-01-08T12:56:52Z","pushed_at":"2014-12-13T11:57:48Z","git_url":"git://github.com/saltstack-formulas/tmux-formula.git","ssh_url":"git@github.com:saltstack-formulas/tmux-formula.git","clone_url":"https://github.com/saltstack-formulas/tmux-formula.git","svn_url":"https://github.com/saltstack-formulas/tmux-formula","homepage":"http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html","size":137,"stargazers_count":4,"watchers_count":4,"language":"Scheme","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saltstack-formulas/tmux-formula/pulls/5"},"html":{"href":"https://github.com/saltstack-formulas/tmux-formula/pull/5"},"issue":{"href":"https://api.github.com/repos/saltstack-formulas/tmux-formula/issues/5"},"comments":{"href":"https://api.github.com/repos/saltstack-formulas/tmux-formula/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/saltstack-formulas/tmux-formula/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/saltstack-formulas/tmux-formula/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/saltstack-formulas/tmux-formula/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/saltstack-formulas/tmux-formula/statuses/a39e068f2269dc3e6ae6bd7f3a0cef7127c3c6fa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":2,"changed_files":4}}