diff options
Diffstat (limited to 'manifests/master')
-rw-r--r-- | manifests/master/passenger.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/master/passenger.pp b/manifests/master/passenger.pp index bbb0cb8..f0df446 100644 --- a/manifests/master/passenger.pp +++ b/manifests/master/passenger.pp @@ -20,4 +20,17 @@ class puppet::master::passenger { package { 'puppetmaster-passenger': ensure => installed, } + + $listen = hiera('puppet::daemon::port', '8140') + $certname = hiera('puppet::master::certname', "puppet.${::domain}") + + # manage puppetmaster vhost + file { '/etc/apache2/sites-available/puppetmaster': + ensure => present, + owner => root, + group => root, + mode => 0644, + content => template("puppet/passenger.erb"), + notify => Service['apache'], + } } |