{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/r10k/pulls/comments/24205559","id":24205559,"diff_hunk":"@@ -23,16 +23,27 @@ class R10K::Source::Base\n   # @param options [Hash] An additional set of options for this source. The\n   #   semantics of this hash may depend on the source implementation.\n   #\n-  # @option options [Boolean] :prefix Whether to prefix the source name to the\n+  # @option options [Boolean, String] :prefix Whether to prefix the source name or prefix name to the","path":"lib/r10k/source/base.rb","position":14,"original_position":14,"commit_id":"d36a7b1da903dfe1454658aef64405f2c3e8f4dc","original_commit_id":"d36a7b1da903dfe1454658aef64405f2c3e8f4dc","user":{"login":"elyscape","id":792695,"avatar_url":"https://avatars.githubusercontent.com/u/792695?v=3","gravatar_id":"","url":"https://api.github.com/users/elyscape","html_url":"https://github.com/elyscape","followers_url":"https://api.github.com/users/elyscape/followers","following_url":"https://api.github.com/users/elyscape/following{/other_user}","gists_url":"https://api.github.com/users/elyscape/gists{/gist_id}","starred_url":"https://api.github.com/users/elyscape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyscape/subscriptions","organizations_url":"https://api.github.com/users/elyscape/orgs","repos_url":"https://api.github.com/users/elyscape/repos","events_url":"https://api.github.com/users/elyscape/events{/privacy}","received_events_url":"https://api.github.com/users/elyscape/received_events","type":"User","site_admin":false},"body":"Unclear. Should probably read\r\n> If a String, the prefix name for the environment directory names. Otherwise, whether to use the source name as the prefix. All sources should respect this option.","created_at":"2015-02-05T22:22:10Z","updated_at":"2015-02-05T22:22:10Z","html_url":"https://github.com/puppetlabs/r10k/pull/295#discussion_r24205559","pull_request_url":"https://api.github.com/repos/puppetlabs/r10k/pulls/295","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/r10k/pulls/comments/24205559"},"html":{"href":"https://github.com/puppetlabs/r10k/pull/295#discussion_r24205559"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/r10k/pulls/295"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/r10k/pulls/295","id":28734375,"html_url":"https://github.com/puppetlabs/r10k/pull/295","diff_url":"https://github.com/puppetlabs/r10k/pull/295.diff","patch_url":"https://github.com/puppetlabs/r10k/pull/295.patch","issue_url":"https://api.github.com/repos/puppetlabs/r10k/issues/295","number":295,"state":"open","locked":false,"title":"[deployment] prefix support for multi-tenancy","user":{"login":"brettswift","id":723989,"avatar_url":"https://avatars.githubusercontent.com/u/723989?v=3","gravatar_id":"","url":"https://api.github.com/users/brettswift","html_url":"https://github.com/brettswift","followers_url":"https://api.github.com/users/brettswift/followers","following_url":"https://api.github.com/users/brettswift/following{/other_user}","gists_url":"https://api.github.com/users/brettswift/gists{/gist_id}","starred_url":"https://api.github.com/users/brettswift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettswift/subscriptions","organizations_url":"https://api.github.com/users/brettswift/orgs","repos_url":"https://api.github.com/users/brettswift/repos","events_url":"https://api.github.com/users/brettswift/events{/privacy}","received_events_url":"https://api.github.com/users/brettswift/received_events","type":"User","site_admin":false},"body":"Intended to solve #195 \r\n\r\nThis adds functionality to the **prefix** config variable, changing the type from *boolean* to a  *boolean/String* hybrid. \r\n\r\nThis feature is backwards compatible - existing deployments of r10k should be unaffected, as true/false are still valid, and the default value is still false.\r\n\r\n","created_at":"2015-02-05T15:42:37Z","updated_at":"2015-02-05T22:22:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"acbea5f2d8da1ed0548e047460b5094942cd3b4f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/r10k/pulls/295/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/r10k/pulls/295/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/r10k/pulls/comments/{number}","comments_url":"https://api.github.com/repos/puppetlabs/r10k/issues/295/comments","statuses_url":"https://api.github.com/repos/puppetlabs/r10k/statuses/d36a7b1da903dfe1454658aef64405f2c3e8f4dc","head":{"label":"brettswift:feature/master/multi_tenant_prefix","ref":"feature/master/multi_tenant_prefix","sha":"d36a7b1da903dfe1454658aef64405f2c3e8f4dc","user":{"login":"brettswift","id":723989,"avatar_url":"https://avatars.githubusercontent.com/u/723989?v=3","gravatar_id":"","url":"https://api.github.com/users/brettswift","html_url":"https://github.com/brettswift","followers_url":"https://api.github.com/users/brettswift/followers","following_url":"https://api.github.com/users/brettswift/following{/other_user}","gists_url":"https://api.github.com/users/brettswift/gists{/gist_id}","starred_url":"https://api.github.com/users/brettswift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettswift/subscriptions","organizations_url":"https://api.github.com/users/brettswift/orgs","repos_url":"https://api.github.com/users/brettswift/repos","events_url":"https://api.github.com/users/brettswift/events{/privacy}","received_events_url":"https://api.github.com/users/brettswift/received_events","type":"User","site_admin":false},"repo":{"id":25050941,"name":"r10k","full_name":"brettswift/r10k","owner":{"login":"brettswift","id":723989,"avatar_url":"https://avatars.githubusercontent.com/u/723989?v=3","gravatar_id":"","url":"https://api.github.com/users/brettswift","html_url":"https://github.com/brettswift","followers_url":"https://api.github.com/users/brettswift/followers","following_url":"https://api.github.com/users/brettswift/following{/other_user}","gists_url":"https://api.github.com/users/brettswift/gists{/gist_id}","starred_url":"https://api.github.com/users/brettswift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettswift/subscriptions","organizations_url":"https://api.github.com/users/brettswift/orgs","repos_url":"https://api.github.com/users/brettswift/repos","events_url":"https://api.github.com/users/brettswift/events{/privacy}","received_events_url":"https://api.github.com/users/brettswift/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brettswift/r10k","description":"Smarter Puppet deployment, powered by killer robots","fork":true,"url":"https://api.github.com/repos/brettswift/r10k","forks_url":"https://api.github.com/repos/brettswift/r10k/forks","keys_url":"https://api.github.com/repos/brettswift/r10k/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brettswift/r10k/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brettswift/r10k/teams","hooks_url":"https://api.github.com/repos/brettswift/r10k/hooks","issue_events_url":"https://api.github.com/repos/brettswift/r10k/issues/events{/number}","events_url":"https://api.github.com/repos/brettswift/r10k/events","assignees_url":"https://api.github.com/repos/brettswift/r10k/assignees{/user}","branches_url":"https://api.github.com/repos/brettswift/r10k/branches{/branch}","tags_url":"https://api.github.com/repos/brettswift/r10k/tags","blobs_url":"https://api.github.com/repos/brettswift/r10k/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brettswift/r10k/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brettswift/r10k/git/refs{/sha}","trees_url":"https://api.github.com/repos/brettswift/r10k/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brettswift/r10k/statuses/{sha}","languages_url":"https://api.github.com/repos/brettswift/r10k/languages","stargazers_url":"https://api.github.com/repos/brettswift/r10k/stargazers","contributors_url":"https://api.github.com/repos/brettswift/r10k/contributors","subscribers_url":"https://api.github.com/repos/brettswift/r10k/subscribers","subscription_url":"https://api.github.com/repos/brettswift/r10k/subscription","commits_url":"https://api.github.com/repos/brettswift/r10k/commits{/sha}","git_commits_url":"https://api.github.com/repos/brettswift/r10k/git/commits{/sha}","comments_url":"https://api.github.com/repos/brettswift/r10k/comments{/number}","issue_comment_url":"https://api.github.com/repos/brettswift/r10k/issues/comments/{number}","contents_url":"https://api.github.com/repos/brettswift/r10k/contents/{+path}","compare_url":"https://api.github.com/repos/brettswift/r10k/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brettswift/r10k/merges","archive_url":"https://api.github.com/repos/brettswift/r10k/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brettswift/r10k/downloads","issues_url":"https://api.github.com/repos/brettswift/r10k/issues{/number}","pulls_url":"https://api.github.com/repos/brettswift/r10k/pulls{/number}","milestones_url":"https://api.github.com/repos/brettswift/r10k/milestones{/number}","notifications_url":"https://api.github.com/repos/brettswift/r10k/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brettswift/r10k/labels{/name}","releases_url":"https://api.github.com/repos/brettswift/r10k/releases{/id}","created_at":"2014-10-10T19:58:09Z","updated_at":"2015-02-03T14:46:44Z","pushed_at":"2015-02-05T18:59:51Z","git_url":"git://github.com/brettswift/r10k.git","ssh_url":"git@github.com:brettswift/r10k.git","clone_url":"https://github.com/brettswift/r10k.git","svn_url":"https://github.com/brettswift/r10k","homepage":"","size":1068,"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":"puppetlabs:master","ref":"master","sha":"0bb6871651c39d56b1ca11db40e95303b97f8e3d","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":7176141,"name":"r10k","full_name":"puppetlabs/r10k","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/r10k","description":"Smarter Puppet deployment","fork":false,"url":"https://api.github.com/repos/puppetlabs/r10k","forks_url":"https://api.github.com/repos/puppetlabs/r10k/forks","keys_url":"https://api.github.com/repos/puppetlabs/r10k/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/r10k/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/r10k/teams","hooks_url":"https://api.github.com/repos/puppetlabs/r10k/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/r10k/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/r10k/events","assignees_url":"https://api.github.com/repos/puppetlabs/r10k/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/r10k/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/r10k/tags","blobs_url":"https://api.github.com/repos/puppetlabs/r10k/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/r10k/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/r10k/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/r10k/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/r10k/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/r10k/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/r10k/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/r10k/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/r10k/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/r10k/subscription","commits_url":"https://api.github.com/repos/puppetlabs/r10k/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/r10k/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/r10k/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/r10k/issues/comments/{number}","contents_url":"https://api.github.com/repos/puppetlabs/r10k/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/r10k/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/r10k/merges","archive_url":"https://api.github.com/repos/puppetlabs/r10k/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/r10k/downloads","issues_url":"https://api.github.com/repos/puppetlabs/r10k/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/r10k/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/r10k/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/r10k/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/r10k/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/r10k/releases{/id}","created_at":"2012-12-15T05:19:38Z","updated_at":"2015-02-03T23:59:17Z","pushed_at":"2015-02-03T23:59:17Z","git_url":"git://github.com/puppetlabs/r10k.git","ssh_url":"git@github.com:puppetlabs/r10k.git","clone_url":"https://github.com/puppetlabs/r10k.git","svn_url":"https://github.com/puppetlabs/r10k","homepage":"","size":3194,"stargazers_count":397,"watchers_count":397,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":107,"mirror_url":null,"open_issues_count":59,"forks":107,"open_issues":59,"watchers":397,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/r10k/pulls/295"},"html":{"href":"https://github.com/puppetlabs/r10k/pull/295"},"issue":{"href":"https://api.github.com/repos/puppetlabs/r10k/issues/295"},"comments":{"href":"https://api.github.com/repos/puppetlabs/r10k/issues/295/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/r10k/pulls/295/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/r10k/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/r10k/pulls/295/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/r10k/statuses/d36a7b1da903dfe1454658aef64405f2c3e8f4dc"}}}}