Created
January 6, 2016 14:19
-
-
Save daviddavis/2a0e7220ae3d924d717f to your computer and use it in GitHub Desktop.
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
| --- | |
| ### File managed with puppet ### | |
| ## Module: 'foreman_proxy' | |
| :settings_directory: /etc/foreman-proxy/settings.d | |
| # SSL Setup | |
| # if enabled, all communication would be verified via SSL | |
| # NOTE that both certificates need to be signed by the same CA in order for this to work | |
| # see http://theforeman.org/projects/smart-proxy/wiki/SSL for more information | |
| :ssl_ca_file: /etc/foreman-proxy/ssl_ca.pem | |
| :ssl_certificate: /etc/foreman-proxy/ssl_cert.pem | |
| :ssl_private_key: /etc/foreman-proxy/ssl_key.pem | |
| # the hosts which the proxy accepts connections from | |
| # commenting the following lines would mean every verified SSL connection allowed | |
| :trusted_hosts: | |
| - hesperus.usersys.redhat.com | |
| - hesperus.usersys.redhat.com | |
| # Endpoint for reverse communication | |
| :foreman_url: https://hesperus.usersys.redhat.com | |
| # SSL settings for client authentication against Foreman. If undefined, the values | |
| # from general SSL options are used instead. Mainly useful when Foreman uses | |
| # different certificates for its web UI and for smart-proxy requests. | |
| :foreman_ssl_ca: /etc/foreman-proxy/foreman_ssl_ca.pem | |
| :foreman_ssl_cert: /etc/foreman-proxy/foreman_ssl_cert.pem | |
| :foreman_ssl_key: /etc/foreman-proxy/foreman_ssl_key.pem | |
| # by default smart_proxy runs in the foreground. To enable running as a daemon, uncomment 'daemon' setting | |
| :daemon: true | |
| # Only used when 'daemon' is set to true. | |
| # Uncomment and modify if you want to change the default pid file '/var/run/foreman-proxy/foreman-proxy.pid' | |
| #:daemon_pid: /var/run/foreman-proxy/foreman-proxy.pid | |
| # host and ports configuration | |
| # Host or IPs to bind on (e.g. *, localhost, 0.0.0.0, ::, 192.168.1.20) | |
| :bind_host: '*' | |
| # http is disabled by default. To enable, uncomment 'http_port' setting | |
| # https is enabled if certificate, CA certificate, and private key are present in locations specifed by | |
| # ssl_certificate, ssl_ca_file, and ssl_private_key correspondingly | |
| # default values for https_port is 8443 | |
| :https_port: 9090 | |
| :http_port: 8000 | |
| # shared options for virsh DNS/DHCP provider | |
| :virsh_network: default | |
| # Where our proxy log files are stored | |
| # filename or STDOUT | |
| :log_file: /var/log/foreman-proxy/proxy.log | |
| # valid options are | |
| # WARN, DEBUG, Error, Fatal, INFO, UNKNOWN | |
| :log_level: ERROR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment