Set puppetdb server to listen on all interfaces
This sets the puppetdb server to listen on all interfaces over both ipv4 and ipv6. I have left a comment in the code for future travelers wondering if '0.0.0.0' will open up ipv6 addresses as well. Change-Id: I2396c721afdf956085b46d8633a236aaab46fa94
This commit is contained in:
parent
f95f0e405b
commit
608ea9145e
@ -25,12 +25,15 @@ class openstack_project::puppetdb (
|
||||
}
|
||||
|
||||
class { 'puppetdb::database::postgresql':
|
||||
require => [User['postgres'], Class['openstack_project::base'],],
|
||||
require => [User['postgres'],
|
||||
Class['openstack_project::base'],],
|
||||
}
|
||||
|
||||
class { '::puppetdb::server':
|
||||
database_host => 'localhost',
|
||||
require => [ User['postgres'], Class['puppetdb::database::postgresql'],],
|
||||
database_host => 'localhost',
|
||||
ssl_listen_address => '0.0.0.0', # works for ipv6 too
|
||||
require => [ User['postgres'],
|
||||
Class['puppetdb::database::postgresql'],],
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user