Created
September 8, 2014 12:31
-
-
Save robinbowes/7cfdf2acf788525c0da7 to your computer and use it in GitHub Desktop.
puppetboard config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class profile_puppetboard{ | |
$puppetdb_host = hiera('puppetdb.certname') | |
$puppetdb_port = hiera('puppetdb.ssl_list_port', 8081) | |
$puppetdb_key = "/var/lib/puppet/ssl/private_keys/${::certname}/pem" | |
$puppetdb_ssl = 'True' | |
$puppetdb_cert = "/var/lib/puppet/ssl/public_keys/${::certname}/pem" | |
$vhost_name = hiera('puppetboard.certname') | |
$port = hiera('puppetboard.http_port', 80) | |
class{'::apache':} | |
class{'::apache::mod::wsgi': | |
wsgi_socket_prefix => "/var/run/wsgi", | |
} | |
class{'::puppetboard': | |
manage_git => true, | |
manage_virtualenv => true, | |
puppetdb_host => $puppetdb_host, | |
puppetdb_port => $puppetdb_port, | |
puppetdb_key => $puppetdb_key, | |
puppetdb_ssl => $puppetdb_ssl, | |
puppetdb_cert => $puppetdb_cert, | |
} | |
class{'::puppetboard::apache::vhost': | |
vhost_name => $vhost_name, | |
port => $port, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment