Emilien Macchi 81e60292dc PuppetDB: change PEM certificate location
Default is not to /etc/puppet/ssl/puppetdb.pem

Change-Id: I7b56b6cddbbf8bf0dbdcb92e048843623880dc47
2015-02-09 11:41:06 -05:00

31 lines
572 B
Puppet

Class['hiera'] -> Class['apache']
class { 'hiera' :
datadir => '/etc/puppet/data',
hierarchy => [
'%{::type}/%{::fqdn}',
'%{::type}/common',
'common',
]
}
class {'::apache' :
purge_configs => false,
}
include 'apache::mod::wsgi'
apache::vhost { 'puppetdb' :
docroot => '/tmp',
ssl => true,
ssl_cert => '/etc/puppet/ssl/puppetdb.pem',
ssl_key => '/etc/puppet/ssl/puppetdb.pem',
port => '8081',
servername => $::fqdn,
proxy_pass => [
{
'path' => '/',
'url' => 'http://localhost:8080/'
}
]
}