{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/comments/27051461","id":27051461,"diff_hunk":"@@ -0,0 +1,232 @@\n+# == Define Resource Type: haproxy::instance\n+#\n+# Manages haproxy permitting multiple instances to run on the same machine.\n+# Normally users use the Class['haproxy'], which runs a single haproxy\n+# daemon on a machine.\n+#\n+# === Requirement/Dependencies:\n+#\n+# Currently requires the puppetlabs/concat module on the Puppet Forge and\n+#  uses storeconfigs on the Puppet Master to export/collect resources\n+#  from all balancer members.\n+#\n+# === Parameters\n+#\n+# [*package_ensure*]\n+#   Chooses whether the haproxy package should be installed or uninstalled.\n+#   Defaults to 'present'\n+#\n+# [*package_name*]\n+#   The package name of haproxy. Defaults to undef, and no package is installed.\n+#   NOTE: Class['haproxy'] has a different default.\n+#   \n+#\n+# [*service_ensure*]\n+#   Chooses whether the haproxy service should be running & enabled at boot, or\n+#   stopped and disabled at boot. Defaults to 'running'\n+#\n+# [*service_manage*]\n+#   Chooses whether the haproxy service state should be managed by puppet at\n+#   all. Defaults to true\n+#\n+# [*global_options*]\n+#   A hash of all the haproxy global options. If you want to specify more\n+#    than one option (i.e. multiple timeout or stats options), pass those\n+#    options as an array and you will get a line for each of them in the\n+#    resultant haproxy.cfg file.\n+#\n+# [*defaults_options*]\n+#   A hash of all the haproxy defaults options. If you want to specify more\n+#    than one option (i.e. multiple timeout or stats options), pass those\n+#    options as an array and you will get a line for each of them in the\n+#    resultant haproxy.cfg file.\n+#\n+#[*restart_command*]\n+#   Command to use when restarting the on config changes.\n+#    Passed directly as the <code>'restart'</code> parameter to the service\n+#    resource.  #    Defaults to undef i.e. whatever the service default is.\n+#\n+#[*custom_fragment*]\n+#  Allows arbitrary HAProxy configuration to be passed through to support\n+#  additional configuration not available via parameters, or to short-circuit\n+#  the defined resources such as haproxy::listen when an operater would rather\n+#  just write plain configuration. Accepts a string (ie, output from the\n+#  template() function). Defaults to undef\n+#\n+#[*config_file*]\n+#  Allows arbitrary config filename to be specified. If this is used,\n+#  it is assumed that the directory path to the file exists and has\n+#  owner/group/permissions as desired.  If set to undef, the name\n+#  will be generated as follows:\n+#    If $title is 'haproxy', the operating system default will be used.\n+#    Otherwise, /etc/haproxy-$title/haproxy-$title.conf (Linux),\n+#    or /usr/local/etc/haproxy-$title/haproxy-$title.conf (FreeBSD)\n+#    The parent directory will be created automatically.\n+#  Defaults to undef.\n+#\n+# === Examples\n+#\n+# A single instance of haproxy with all defaults\n+# i.e. emulate Class['haproxy']\n+#   package{ 'haproxy': ensure => present }->haproxy::instance { 'haproxy': }->\n+#   haproxy::listen { 'puppet00':\n+#     instance         => 'haproxy',\n+#     collect_exported => false,\n+#     ipaddress        => $::ipaddress,\n+#     ports            => '8140',\n+#   }\n+#\n+# Multiple instances of haproxy:\n+#   haproxy::instance { 'group1': }\n+#   haproxy::instance_service { 'group1':\n+#     haproxy_init_source => \"puppet:///modules/${module_name}/haproxy-group1.init\",\n+#   }\n+#   haproxy::listen { 'puppet00':\n+#     instance         => 'group1',\n+#     collect_exported => false,\n+#     ipaddress        => $::ipaddress,\n+#     ports            => '8800',\n+#     requires         => Package['haproxy'],\n+#   }\n+#   haproxy::instance { 'group2': }\n+#   haproxy::instance_service { 'group2':\n+#     haproxy_init_source => \"puppet:///modules/${module_name}/haproxy-group1.init\",\n+#   }\n+#   haproxy::listen { 'puppet00':\n+#     instance         => 'group2',\n+#     collect_exported => false,\n+#     ipaddress        => $::ipaddress,\n+#     ports            => '9900',\n+#     requires         => Package['haproxy'],\n+#   }\n+#\n+# Multiple instances of haproxy, one with a custom haproxy package:\n+#   haproxy::instance { 'group1': }\n+#   haproxy::instance_service { 'group1':\n+#     haproxy_init_source => \"puppet:///modules/${module_name}/haproxy-group1.init\",\n+#   }\n+#   haproxy::listen { 'puppet00':\n+#     instance         => 'group1',\n+#     collect_exported => false,\n+#     ipaddress        => $::ipaddress,\n+#     ports            => '8800',\n+#     requires         => Package['haproxy'],\n+#   }\n+#   haproxy::instance { 'group2': }\n+#   haproxy::instance_service { 'group2':\n+#     haproxy_package     => 'custom_haproxy',\n+#     haproxy_init_source => \"puppet:///modules/${module_name}/haproxy-group2.init\",\n+#   }\n+#   haproxy::listen { 'puppet00':\n+#     instance         => 'group2',\n+#     collect_exported => false,\n+#     ipaddress        => $::ipaddress,\n+#     ports            => '9900',\n+#     requires         => Package['haproxy'],\n+#   }\n+#\n+#  When running multiple instances on one host, there must be a Service[] for\n+#  each instance.  One way to create the situation where Service[] works is\n+#  using haproxy::instance_service.\n+#  However you may want to do it some other way. For example, you may\n+#  not have packages for your custom haproxy binary. Or, you may wish\n+#  to use the standard haproxy package but not create links to it, or\n+#  you may have different init.d scripts.  In these cases, write your own\n+#  puppet code that will result in Service[] working for you and do not\n+#  call haproxy::instance_service.\n+#\n+define haproxy::instance (\n+  $package_ensure   = 'present',\n+  $package_name     = undef,\n+  $service_ensure   = 'running',\n+  $service_manage   = true,\n+  $global_options   = undef,\n+  $defaults_options = undef,\n+  $restart_command  = undef,\n+  $custom_fragment  = undef,\n+  $config_file      = undef,\n+) {\n+\n+  if $service_ensure != true and $service_ensure != false {\n+    if ! ($service_ensure in [ 'running','stopped']) {\n+      fail('service_ensure parameter must be running, stopped, true, or false')\n+    }\n+  }\n+  validate_string($package_name,$package_ensure)\n+  validate_bool($service_manage)\n+\n+  # Since this is a 'define', we can not use 'inherts haproxy::params'.\n+  # Therefore, we \"include haproxy::params\" for any parameters we need.\n+  if $global_options == undef {\n+    include haproxy::params\n+    $_global_options = $haproxy::params::global_options\n+  } else {\n+    $_global_options = $global_options\n+  }","path":"manifests/instance.pp","position":165,"original_position":165,"commit_id":"24ed8032ea12e748232330c9e0c9f07a2d6f23a0","original_commit_id":"2a358c088ae78da61306af22f74f000687387079","user":{"login":"igalic","id":497249,"avatar_url":"https://avatars.githubusercontent.com/u/497249?v=3","gravatar_id":"","url":"https://api.github.com/users/igalic","html_url":"https://github.com/igalic","followers_url":"https://api.github.com/users/igalic/followers","following_url":"https://api.github.com/users/igalic/following{/other_user}","gists_url":"https://api.github.com/users/igalic/gists{/gist_id}","starred_url":"https://api.github.com/users/igalic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igalic/subscriptions","organizations_url":"https://api.github.com/users/igalic/orgs","repos_url":"https://api.github.com/users/igalic/repos","events_url":"https://api.github.com/users/igalic/events{/privacy}","received_events_url":"https://api.github.com/users/igalic/received_events","type":"User","site_admin":false},"body":"this whole bit reads very confusing.\r\nwhat's the reason we can't just `include haproxy::params` regardless before we dive down into the `if`s?","created_at":"2015-03-24T17:23:49Z","updated_at":"2015-03-24T17:23:49Z","html_url":"https://github.com/puppetlabs/puppetlabs-haproxy/pull/166#discussion_r27051461","pull_request_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/166","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/comments/27051461"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-haproxy/pull/166#discussion_r27051461"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/166"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/166","id":30955471,"html_url":"https://github.com/puppetlabs/puppetlabs-haproxy/pull/166","diff_url":"https://github.com/puppetlabs/puppetlabs-haproxy/pull/166.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-haproxy/pull/166.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/issues/166","number":166,"state":"open","locked":false,"title":"Add haproxy::instance for the creation of multiple instances of haproxy","user":{"login":"tlimoncelli","id":6293917,"avatar_url":"https://avatars.githubusercontent.com/u/6293917?v=3","gravatar_id":"","url":"https://api.github.com/users/tlimoncelli","html_url":"https://github.com/tlimoncelli","followers_url":"https://api.github.com/users/tlimoncelli/followers","following_url":"https://api.github.com/users/tlimoncelli/following{/other_user}","gists_url":"https://api.github.com/users/tlimoncelli/gists{/gist_id}","starred_url":"https://api.github.com/users/tlimoncelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlimoncelli/subscriptions","organizations_url":"https://api.github.com/users/tlimoncelli/orgs","repos_url":"https://api.github.com/users/tlimoncelli/repos","events_url":"https://api.github.com/users/tlimoncelli/events{/privacy}","received_events_url":"https://api.github.com/users/tlimoncelli/received_events","type":"User","site_admin":false},"body":"Add haproxy::instance for the creation of multiple instances of haproxy on a host.  See [MODULES-1783]\r\n\r\n   * New Define Resource Type: haproxy::instance\r\n   * New Define Resource Type: haproxy::instance_service\r\n   * Class[haproxy] is now a wrapper that calls haproxy::instance\r\n   * Add \"instance\" parameter to all public defines.\r\n   * All private classes become private defined resource types.\r\n   * Pass parameters to private defined resource types rather than\r\n   * \"inherts params\" no longer used for classes that are now defines\r\n   * Documentation updated, examples added\r\n   * Spec tests updated and new tests added\r\n   * Fixed: mode and options lines include an extra space","created_at":"2015-03-11T15:44:06Z","updated_at":"2015-03-24T17:23:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3d903675d7f53a2313a5236a3fdca034572444e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/166/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/166/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/issues/166/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/statuses/24ed8032ea12e748232330c9e0c9f07a2d6f23a0","head":{"label":"StackExchange:multiple_instances","ref":"multiple_instances","sha":"24ed8032ea12e748232330c9e0c9f07a2d6f23a0","user":{"login":"StackExchange","id":1393171,"avatar_url":"https://avatars.githubusercontent.com/u/1393171?v=3","gravatar_id":"","url":"https://api.github.com/users/StackExchange","html_url":"https://github.com/StackExchange","followers_url":"https://api.github.com/users/StackExchange/followers","following_url":"https://api.github.com/users/StackExchange/following{/other_user}","gists_url":"https://api.github.com/users/StackExchange/gists{/gist_id}","starred_url":"https://api.github.com/users/StackExchange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackExchange/subscriptions","organizations_url":"https://api.github.com/users/StackExchange/orgs","repos_url":"https://api.github.com/users/StackExchange/repos","events_url":"https://api.github.com/users/StackExchange/events{/privacy}","received_events_url":"https://api.github.com/users/StackExchange/received_events","type":"Organization","site_admin":false},"repo":{"id":31278038,"name":"puppetlabs-haproxy","full_name":"StackExchange/puppetlabs-haproxy","owner":{"login":"StackExchange","id":1393171,"avatar_url":"https://avatars.githubusercontent.com/u/1393171?v=3","gravatar_id":"","url":"https://api.github.com/users/StackExchange","html_url":"https://github.com/StackExchange","followers_url":"https://api.github.com/users/StackExchange/followers","following_url":"https://api.github.com/users/StackExchange/following{/other_user}","gists_url":"https://api.github.com/users/StackExchange/gists{/gist_id}","starred_url":"https://api.github.com/users/StackExchange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackExchange/subscriptions","organizations_url":"https://api.github.com/users/StackExchange/orgs","repos_url":"https://api.github.com/users/StackExchange/repos","events_url":"https://api.github.com/users/StackExchange/events{/privacy}","received_events_url":"https://api.github.com/users/StackExchange/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackExchange/puppetlabs-haproxy","description":"Puppet module to dynamically configure haproxy on Redhat family OSes using storeconfigs","fork":true,"url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy","forks_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/forks","keys_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/teams","hooks_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/hooks","issue_events_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/issues/events{/number}","events_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/events","assignees_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/assignees{/user}","branches_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/branches{/branch}","tags_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/tags","blobs_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/statuses/{sha}","languages_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/languages","stargazers_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/stargazers","contributors_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/contributors","subscribers_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/subscribers","subscription_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/subscription","commits_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/contents/{+path}","compare_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/merges","archive_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/downloads","issues_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/issues{/number}","pulls_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/pulls{/number}","milestones_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/milestones{/number}","notifications_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/labels{/name}","releases_url":"https://api.github.com/repos/StackExchange/puppetlabs-haproxy/releases{/id}","created_at":"2015-02-24T19:37:53Z","updated_at":"2015-03-11T15:31:28Z","pushed_at":"2015-03-23T16:13:25Z","git_url":"git://github.com/StackExchange/puppetlabs-haproxy.git","ssh_url":"git@github.com:StackExchange/puppetlabs-haproxy.git","clone_url":"https://github.com/StackExchange/puppetlabs-haproxy.git","svn_url":"https://github.com/StackExchange/puppetlabs-haproxy","homepage":null,"size":443,"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":"e06cc633e23dcacb272af1106924b8ba6b28a256","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":5579089,"name":"puppetlabs-haproxy","full_name":"puppetlabs/puppetlabs-haproxy","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/puppetlabs-haproxy","description":"Puppet module to dynamically configure haproxy on Redhat family OSes using storeconfigs","fork":true,"url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy","forks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/releases{/id}","created_at":"2012-08-28T00:48:30Z","updated_at":"2015-03-19T18:00:20Z","pushed_at":"2015-03-24T04:46:31Z","git_url":"git://github.com/puppetlabs/puppetlabs-haproxy.git","ssh_url":"git@github.com:puppetlabs/puppetlabs-haproxy.git","clone_url":"https://github.com/puppetlabs/puppetlabs-haproxy.git","svn_url":"https://github.com/puppetlabs/puppetlabs-haproxy","homepage":null,"size":1514,"stargazers_count":60,"watchers_count":60,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":135,"mirror_url":null,"open_issues_count":10,"forks":135,"open_issues":10,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/166"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-haproxy/pull/166"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/issues/166"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/issues/166/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/166/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/pulls/166/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-haproxy/statuses/24ed8032ea12e748232330c9e0c9f07a2d6f23a0"}}}}