Last active
June 8, 2016 10:18
-
-
Save propyless/a76c4a916659589ebd82108d371f5c69 to your computer and use it in GitHub Desktop.
Example PanoPuppet Config with SSL
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
############################ | |
# PanoPuppet CONFIGURATION # | |
############################ | |
sources: | |
'PuppetDB Production': | |
'DEFAULT': true | |
'PUPPETDB_HOST': 'https://puppetdb.production.example.com:8081/' | |
'PUPPETDB_VERIFY_SSL': true | |
'PUPPETDB_CERTIFICATES': | |
- '/path/to/public_key.pem' | |
- '/path/to/private_key.pem' | |
'PUPPETMASTER_CLIENTBUCKET_SHOW': true | |
'PUPPETMASTER_FILESERVER_SHOW': true | |
'PUPPETMASTER_CLIENTBUCKET_SHOW': true | |
'PUPPETMASTER_CLIENTBUCKET_HOST': 'https://puppetmaster.example.com:8140/' | |
'PUPPETMASTER_CLIENTBUCKET_CERTIFICATES': | |
- '/path/to/public.key' | |
- '/path/to/private.key' | |
'PUPPETMASTER_CLIENTBUCKET_VERIFY_SSL': '/path/to/ca.pem' | |
'PUPPETMASTER_FILESERVER_SHOW': true | |
'PUPPETMASTER_FILESERVER_HOST': 'https://puppetmaster.example.com:8140/' | |
'PUPPETMASTER_FILESERVER_CERTIFICATES': | |
- '/path/to/public.key' | |
- '/path/to/private.key' | |
'PUPPETMASTER_FILESERVER_VERIFY_SSL': '/path/to/ca.pem' | |
'PUPPET_RUN_INTERVAL': 30 | |
# Time to hold the cache for pages - specified in seconds | |
CACHE_TIME: 60 | |
#SQLITE_DIR: Where to write the sqliteDB used by panopuppet | |
SQLITE_DIR: '/var/www/panopuppet' | |
# Authentication method - Available auth methods = ldap and basic | |
AUTH_METHOD: 'basic' | |
ENABLE_PERMISSIONS: false | |
NODES_DEFAULT_FACTS: | |
- 'os' | |
- 'ipaddress' | |
######################## | |
# DJANGO CONFIGURATION # | |
######################## | |
# The session age is how long after the latest request the session cookie should expire. | |
# It is specified in hours - So the below would expire the cookie after two hours. | |
SESSION_AGE: 2 | |
SECRET_KEY: 'super_secure_random_key' | |
# SECURITY WARNING: don't run with debug turned on in production! | |
DEBUG: false | |
TEMPLATE_DEBUG: false | |
#Allowed Hosts must be an array. | |
ALLOWED_HOSTS: | |
- '*' | |
# Timezone settings for panopuppet. Catalog, report, fact times will be show localtime rather than GMT. | |
LANGUAGE_CODE: 'sv-SE' | |
TIME_ZONE: 'Europe/Stockholm' | |
# Where should the static files (js, css, etc) be stored? | |
STATIC_ROOT: '/srv/staticfiles' # default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment