{"id":22138252,"url":"https://github.com/z0mbix/puppet-kong","last_synced_at":"2025-10-24T15:41:56.005Z","repository":{"id":139776687,"uuid":"49867211","full_name":"z0mbix/puppet-kong","owner":"z0mbix","description":"Puppet module to install and configure Kong (https://getkong.org/)","archived":false,"fork":false,"pushed_at":"2016-01-21T12:25:11.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T03:51:03.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Puppet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/z0mbix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-18T09:46:24.000Z","updated_at":"2016-01-20T12:10:18.000Z","dependencies_parsed_at":"2023-03-22T04:25:07.022Z","dependency_job_id":null,"html_url":"https://github.com/z0mbix/puppet-kong","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/z0mbix/puppet-kong","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fpuppet-kong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fpuppet-kong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fpuppet-kong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fpuppet-kong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z0mbix","download_url":"https://codeload.github.com/z0mbix/puppet-kong/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fpuppet-kong/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269713883,"owners_count":24463244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-12-01T20:09:12.904Z","updated_at":"2025-10-24T15:41:50.944Z","avatar_url":"https://github.com/z0mbix.png","language":"Puppet","funding_links":[],"categories":[],"sub_categories":[],"readme":"kong\n====\n\nThis puppet module installs and configures [Kong](https://getkong.org/).\n\nIt currently does not manage the service as init scripts are not provided.\n\nMashape does not currently supply yum or apt repositores, so relevant package\nfor the target platform s downloaded with wget and installed with rpm or dpkg.\nFor this reason, this module cannot manage package update easily as the dpkg\nprovider does not support the *'versionable'* feature.\n\n**IMPORTANT:** This is a work in progress and has only been tested on CentOS 6 and Ubuntu Trusty (14.04), but should work on Debian. I will be testing with CentOS 5 and 7, other Ubuntu LTS releases and Debian at some point.\n\n## Parameters\n\n* `version`: Default: 'installed'\n* `config_dir`: Default: '/etc/kong'\n* `config_file`: Default: 'kong.yml'\n* `kong_path`: Default: '/usr/local/bin/kong'\n* `kong_pid`: Default: '/usr/local/kong/kong.pid'\n* `log_dir`: Default: '/usr/local/openresty/nginx/logs'\n* `proxy_port`: Default: 8000\n* `proxy_ssl_port`: Default: 8443\n* `admin_api_port`: Default: 8001\n* `cassandra_host`: Default: 'localhost'\n* `cassandra_port`: Default: 9042\n* `database_cache_expiration`: Default: 5\n* `memory_cache_size`: Default: 128\n* `service_name`: Default: 'kong'\n* `service_enable`: Default: true\n* `service_ensure`: Default: 'running'\n* `service_manage`: Default: true\n* `service_restart`: Default: undef \n* `plugins_enabled`: Default: all plugins:\n    * 'ssl'\n    * 'jwt'\n    * 'acl'\n    * 'cors'\n    * 'oauth2'\n    * 'tcp-log'\n    * 'udp-log'\n    * 'file-log'\n    * 'http-log'\n    * 'key-auth'\n    * 'hmac-auth'\n    * 'basic-auth'\n    * 'ip-restriction'\n    * 'mashape-analytics'\n    * 'request-transformer'\n    * 'response-transformer'\n    * 'request-size-limiting'\n    * 'rate-limiting'\n    * 'response-ratelimiting'\n* `download_url`: Default: 'https://downloadkong.org'\n* `dependencies`: Default:\n    * CentOS/RHEL:\n        * 'wget'\n        * 'epel-release'\n    * Ubuntu:\n        * 'wget'\n        * 'netcat'\n        * 'lua5.1'\n        * 'openssl'\n        * 'libpcre3'\n        * 'dnsmasq'\n    * Debian:\n        * 'wget'\n        * 'netcat'\n        * 'lua5.1'\n        * 'openssl'\n        * 'libpcre3'\n        * 'dnsmasq'\n* `download_file`: Defaults:\n    * CentOS/RHEL\n        * 5: 'el5.noarch.rpm'\n        * 6: 'el6.noarch.rpm'\n        * 7: 'el7.noarch.rpm'\n    * Ubuntu:\n        * 12.04: 'precise_all.deb'\n        * 14.04: 'trusty_all.deb'\n        * 15.04: 'vivid_all.deb'\n    * Debian:\n        * squeeze: 'squeeze_all.deb'\n        * wheezy: 'wheezy_all.deb'\n        * jessis: 'jessie_all.deb'\n\n\n## TODO\n\n- Create init scripts for Ubuntu/Debian and CentOS/RHEL so we can manage the service\n- Improve installation/upgrades\n- Add more parameters for kong.yml\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0mbix%2Fpuppet-kong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz0mbix%2Fpuppet-kong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0mbix%2Fpuppet-kong/lists"}