{"id":20619687,"url":"https://github.com/mybuilder/puppet-kongfig","last_synced_at":"2026-04-20T00:31:24.028Z","repository":{"id":141998103,"uuid":"44803423","full_name":"mybuilder/puppet-kongfig","owner":"mybuilder","description":"Puppet module for installing Kongfig ","archived":false,"fork":false,"pushed_at":"2020-01-04T23:27:02.000Z","size":13,"stargazers_count":1,"open_issues_count":2,"forks_count":3,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-06T20:14:03.213Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mybuilder.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-23T09:23:59.000Z","updated_at":"2017-02-16T10:20:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"c01686a0-ab10-416a-82a6-630989dd650f","html_url":"https://github.com/mybuilder/puppet-kongfig","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mybuilder/puppet-kongfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybuilder%2Fpuppet-kongfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybuilder%2Fpuppet-kongfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybuilder%2Fpuppet-kongfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybuilder%2Fpuppet-kongfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mybuilder","download_url":"https://codeload.github.com/mybuilder/puppet-kongfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybuilder%2Fpuppet-kongfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32027985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"ssl_error","status_checked_at":"2026-04-20T00:17:31.068Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T12:12:16.525Z","updated_at":"2026-04-20T00:31:24.010Z","avatar_url":"https://github.com/mybuilder.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Puppet module for installing and managing [Kongfig](https://github.com/mybuilder/kongfig) - a tool for [Kong](https://getkong.org/) to allow declarative configuration.\n\n# Kongfig\n\nThis module is currently tested on:\n\n - Debian (8.0, 7.8)\n - Ubuntu (14.04)\n\nIt may work on other distros.\n\n\n## Configuring Kong\n\nConfiguring a new api is easy, simply call `kongfig::setup` with an array of apis and consumers you want configured.\n\n```puppet\n$apis = [\n  {\n    'name'       =\u003e \"test-api\",\n    'ensure'     =\u003e \"present\",\n    'attributes' =\u003e {\n      'upstream_url' =\u003e \"http://test-api.internal.example.com\",\n      'request_host' =\u003e \"test-api.example.com\",\n    },\n    'plugins'    =\u003e [\n      { 'name' =\u003e 'cors' },\n      { 'name' =\u003e 'file-log', 'attributes' =\u003e { 'config.path' =\u003e '/var/log/kong.log' } },\n    ]\n  },\n  {\n    'name'       =\u003e \"old-api\",\n    'ensure'     =\u003e \"removed\",\n    'attributes' =\u003e {\n      'upstream_url' =\u003e \"http://old-api.internal.example.com\",\n      'request_host' =\u003e \"old-api.example.com\",\n    },\n    'plugins'    =\u003e [\n      { 'name' =\u003e 'cors' },\n    ]\n  }\n]\n\n$consumers = [\n  {\n    'username' =\u003e 'iphone-app',\n    'credentials' =\u003e [\n      {\n        'name' =\u003e 'key-auth',\n        'attributes' =\u003e {\n          'key' =\u003e 'very-secret-key'\n        }\n      }\n    ]\n  }\n]\n\nkongfig::setup { 'test-api':\n  kong_server =\u003e '127.0.0.1',\n  kong_port   =\u003e 8001,\n  apis        =\u003e $apis,\n  consumers   =\u003e $consumers\n}\n```\n\n## Installing Kongfig\n\nWhenever you use `kongfig:setup` it will ensure that the latest version of [Kongfig](https://www.npmjs.com/package/kongfig) is installed.\n\nIf you want to install a specific version you can do this\n\n```puppet\nclass { 'kongfig':\n    version   =\u003e '1.0.3',\n    directory =\u003e '/tmp'\n  }\n```\n\n---\nCreated by [MyBuilder](http://www.mybuilder.com/) - Check out our [blog](http://tech.mybuilder.com/) for more information and our other open-source projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybuilder%2Fpuppet-kongfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmybuilder%2Fpuppet-kongfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybuilder%2Fpuppet-kongfig/lists"}