{"action":"created","comment":{"url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/comments/47075264","id":47075264,"diff_hunk":"@@ -129,14 +129,24 @@\n   }\n \n   #Database Backup\n-  file { '/local/data/rutherford/database-backup':\n-    ensure => 'directory',\n-    owner  => 'postgres',\n-    group  => 'isaac',\n-    mode   => '0755',\n+  if ( $::fqdn =~ /(\\w+-)?isaac-live/ ) {\n+    file { '/local/data/rutherford/database-backup':\n+      ensure => 'directory',","path":"manifests/nodes/sac92-isaac-base.pp","position":11,"original_position":11,"commit_id":"2f98b07adb4816fcc0fe8bded363be7e53500186","original_commit_id":"2f98b07adb4816fcc0fe8bded363be7e53500186","user":{"login":"drt24","id":314854,"avatar_url":"https://avatars.githubusercontent.com/u/314854?v=3","gravatar_id":"","url":"https://api.github.com/users/drt24","html_url":"https://github.com/drt24","followers_url":"https://api.github.com/users/drt24/followers","following_url":"https://api.github.com/users/drt24/following{/other_user}","gists_url":"https://api.github.com/users/drt24/gists{/gist_id}","starred_url":"https://api.github.com/users/drt24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drt24/subscriptions","organizations_url":"https://api.github.com/users/drt24/orgs","repos_url":"https://api.github.com/users/drt24/repos","events_url":"https://api.github.com/users/drt24/events{/privacy}","received_events_url":"https://api.github.com/users/drt24/received_events","type":"User","site_admin":false},"body":"Shouldn't this be symlink?","created_at":"2015-12-09T10:44:42Z","updated_at":"2015-12-09T10:44:42Z","html_url":"https://github.com/ucam-cl-dtg/dtg-puppet/pull/28#discussion_r47075264","pull_request_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/comments/47075264"},"html":{"href":"https://github.com/ucam-cl-dtg/dtg-puppet/pull/28#discussion_r47075264"},"pull_request":{"href":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/28","id":53101895,"html_url":"https://github.com/ucam-cl-dtg/dtg-puppet/pull/28","diff_url":"https://github.com/ucam-cl-dtg/dtg-puppet/pull/28.diff","patch_url":"https://github.com/ucam-cl-dtg/dtg-puppet/pull/28.patch","issue_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/issues/28","number":28,"state":"open","locked":false,"title":"Various fixes for isaac backups, ags46-scratch sudoers","user":{"login":"alistairstead3408","id":810221,"avatar_url":"https://avatars.githubusercontent.com/u/810221?v=3","gravatar_id":"","url":"https://api.github.com/users/alistairstead3408","html_url":"https://github.com/alistairstead3408","followers_url":"https://api.github.com/users/alistairstead3408/followers","following_url":"https://api.github.com/users/alistairstead3408/following{/other_user}","gists_url":"https://api.github.com/users/alistairstead3408/gists{/gist_id}","starred_url":"https://api.github.com/users/alistairstead3408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alistairstead3408/subscriptions","organizations_url":"https://api.github.com/users/alistairstead3408/orgs","repos_url":"https://api.github.com/users/alistairstead3408/repos","events_url":"https://api.github.com/users/alistairstead3408/events{/privacy}","received_events_url":"https://api.github.com/users/alistairstead3408/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-09T10:39:44Z","updated_at":"2015-12-09T10:44:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"207dc48b6a5c728ec428243f253e71f15c476203","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/28/commits","review_comments_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/28/comments","review_comment_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/issues/28/comments","statuses_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/statuses/2f98b07adb4816fcc0fe8bded363be7e53500186","head":{"label":"alistairstead3408:master","ref":"master","sha":"2f98b07adb4816fcc0fe8bded363be7e53500186","user":{"login":"alistairstead3408","id":810221,"avatar_url":"https://avatars.githubusercontent.com/u/810221?v=3","gravatar_id":"","url":"https://api.github.com/users/alistairstead3408","html_url":"https://github.com/alistairstead3408","followers_url":"https://api.github.com/users/alistairstead3408/followers","following_url":"https://api.github.com/users/alistairstead3408/following{/other_user}","gists_url":"https://api.github.com/users/alistairstead3408/gists{/gist_id}","starred_url":"https://api.github.com/users/alistairstead3408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alistairstead3408/subscriptions","organizations_url":"https://api.github.com/users/alistairstead3408/orgs","repos_url":"https://api.github.com/users/alistairstead3408/repos","events_url":"https://api.github.com/users/alistairstead3408/events{/privacy}","received_events_url":"https://api.github.com/users/alistairstead3408/received_events","type":"User","site_admin":false},"repo":{"id":34905349,"name":"dtg-puppet","full_name":"alistairstead3408/dtg-puppet","owner":{"login":"alistairstead3408","id":810221,"avatar_url":"https://avatars.githubusercontent.com/u/810221?v=3","gravatar_id":"","url":"https://api.github.com/users/alistairstead3408","html_url":"https://github.com/alistairstead3408","followers_url":"https://api.github.com/users/alistairstead3408/followers","following_url":"https://api.github.com/users/alistairstead3408/following{/other_user}","gists_url":"https://api.github.com/users/alistairstead3408/gists{/gist_id}","starred_url":"https://api.github.com/users/alistairstead3408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alistairstead3408/subscriptions","organizations_url":"https://api.github.com/users/alistairstead3408/orgs","repos_url":"https://api.github.com/users/alistairstead3408/repos","events_url":"https://api.github.com/users/alistairstead3408/events{/privacy}","received_events_url":"https://api.github.com/users/alistairstead3408/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alistairstead3408/dtg-puppet","description":"Puppet configuration for DTG services","fork":true,"url":"https://api.github.com/repos/alistairstead3408/dtg-puppet","forks_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/forks","keys_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/teams","hooks_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/hooks","issue_events_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/events","assignees_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/tags","blobs_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/languages","stargazers_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/stargazers","contributors_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/contributors","subscribers_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/subscribers","subscription_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/subscription","commits_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/merges","archive_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/downloads","issues_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/labels{/name}","releases_url":"https://api.github.com/repos/alistairstead3408/dtg-puppet/releases{/id}","created_at":"2015-05-01T14:00:05Z","updated_at":"2015-05-01T14:01:31Z","pushed_at":"2015-12-09T10:37:23Z","git_url":"git://github.com/alistairstead3408/dtg-puppet.git","ssh_url":"git@github.com:alistairstead3408/dtg-puppet.git","clone_url":"https://github.com/alistairstead3408/dtg-puppet.git","svn_url":"https://github.com/alistairstead3408/dtg-puppet","homepage":null,"size":1378,"stargazers_count":0,"watchers_count":0,"language":"Puppet","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":"ucam-cl-dtg:master","ref":"master","sha":"343cf0630c260f85b2be4c3d7d9652787448fb0f","user":{"login":"ucam-cl-dtg","id":1140917,"avatar_url":"https://avatars.githubusercontent.com/u/1140917?v=3","gravatar_id":"","url":"https://api.github.com/users/ucam-cl-dtg","html_url":"https://github.com/ucam-cl-dtg","followers_url":"https://api.github.com/users/ucam-cl-dtg/followers","following_url":"https://api.github.com/users/ucam-cl-dtg/following{/other_user}","gists_url":"https://api.github.com/users/ucam-cl-dtg/gists{/gist_id}","starred_url":"https://api.github.com/users/ucam-cl-dtg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucam-cl-dtg/subscriptions","organizations_url":"https://api.github.com/users/ucam-cl-dtg/orgs","repos_url":"https://api.github.com/users/ucam-cl-dtg/repos","events_url":"https://api.github.com/users/ucam-cl-dtg/events{/privacy}","received_events_url":"https://api.github.com/users/ucam-cl-dtg/received_events","type":"Organization","site_admin":false},"repo":{"id":4990277,"name":"dtg-puppet","full_name":"ucam-cl-dtg/dtg-puppet","owner":{"login":"ucam-cl-dtg","id":1140917,"avatar_url":"https://avatars.githubusercontent.com/u/1140917?v=3","gravatar_id":"","url":"https://api.github.com/users/ucam-cl-dtg","html_url":"https://github.com/ucam-cl-dtg","followers_url":"https://api.github.com/users/ucam-cl-dtg/followers","following_url":"https://api.github.com/users/ucam-cl-dtg/following{/other_user}","gists_url":"https://api.github.com/users/ucam-cl-dtg/gists{/gist_id}","starred_url":"https://api.github.com/users/ucam-cl-dtg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucam-cl-dtg/subscriptions","organizations_url":"https://api.github.com/users/ucam-cl-dtg/orgs","repos_url":"https://api.github.com/users/ucam-cl-dtg/repos","events_url":"https://api.github.com/users/ucam-cl-dtg/events{/privacy}","received_events_url":"https://api.github.com/users/ucam-cl-dtg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ucam-cl-dtg/dtg-puppet","description":"Puppet configuration for DTG services","fork":false,"url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet","forks_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/forks","keys_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/teams","hooks_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/hooks","issue_events_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/events","assignees_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/tags","blobs_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/languages","stargazers_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/stargazers","contributors_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/contributors","subscribers_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/subscribers","subscription_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/subscription","commits_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/merges","archive_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/downloads","issues_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/labels{/name}","releases_url":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/releases{/id}","created_at":"2012-07-11T14:41:07Z","updated_at":"2015-06-26T18:57:13Z","pushed_at":"2015-12-09T10:39:44Z","git_url":"git://github.com/ucam-cl-dtg/dtg-puppet.git","ssh_url":"git@github.com:ucam-cl-dtg/dtg-puppet.git","clone_url":"https://github.com/ucam-cl-dtg/dtg-puppet.git","svn_url":"https://github.com/ucam-cl-dtg/dtg-puppet","homepage":null,"size":1431,"stargazers_count":6,"watchers_count":6,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/28"},"html":{"href":"https://github.com/ucam-cl-dtg/dtg-puppet/pull/28"},"issue":{"href":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/issues/28"},"comments":{"href":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/ucam-cl-dtg/dtg-puppet/statuses/2f98b07adb4816fcc0fe8bded363be7e53500186"}}}}