Closed juniorsysadmin closed 8 years ago
@fkleon This should also include most of the changes in #1 . I have left the database parameters as they are rather than making them generic as I want them to directly relate to the Kong variables. I am missing some newer 0.8.x parameters as well, so further changes to this branch are likely.
This is looking great, I'll close #1 in favour of this one.
@fkleon I'm more or less done with this Pull Request for now, so unless there are major objections, I'll squash commits, merge and cut a new release this week.
I've tried this branch on our setup, and apart from the configuration file issues it seems to work fine.
I noticed another issue on our particular setup (Ubuntu 14.04): In install.pp
, if package_manage
and manage_package_fetch
are true
(default), Kong is supposed to be installed from the *.deb file. However, on Ubuntu the apt
provider is auto-selected by Puppet, which does not support installation from a file.
I had to work around that by overriding the provider for that specific package with the following collector:
Package<|title == 'kong'|> {
ensure => latest,
provider => 'dpkg',
}
The dpkg
provider does not supported versioned packages, so I had to override ensure
as well.
Not sure what the best fix would be, but it should probably at least be documented somewhere.
@fkleon Integer quoting has been fixed. I need to think about the packaging one - that is..yuck.
@fkleon I've just pushed an attempted fix for package installation
One last issue with the kong.yml template around the postgres port. Installation works fine now, thanks!
One last issue with the kong.yml template around the postgres port. Installation works fine now, thanks!
Fixed and commits squashed
(Thanks to @fkleon for raising some of these)
dns_resolvers_available
parameter.proxy_listen_address
andproxy_listen_port
parameters withproxy_listen
.proxy_listen_ssl_address
andproxy_listen_ssl_port
parameters withproxy_listen_ssl
.admin_api_listen_address
andadmin_api_listen_port
parameters withadmin_api_listen
.cluster_listen_address
andcluster_listen_port
parameters withcluster_listen
.cluster_listen_rpc_address
andcluster_listen_rpc_port
parameters withcluster_listen_rpc
.config_file_group
to 0 rather than root in preparation for FreeBSD support.staging_dir
parameter.custom_plugins
to be empty since supported plugins are loaded by default.cassandra_ssl_*
values.start
.