Project

General

Profile

Settingsyml » History » Version 1

Paul Kelly, 01/26/2011 10:00 AM

1 1 Paul Kelly
h1. Settings
2
3
The configuration for the smart-proxy is held in the *config/settings.yml* file.
4
5
<pre>
6
---
7
# SSL Setup
8
</pre>
9
The existance of all three ssl key entries enables the use of SSL connections.
10
p>
11
NOTE that both client certificates need to be signed by the same CA, which must be in the ca_file, in order for this to work
12
see http://theforeman.org/projects/smart-proxy/wiki/SSL for more information
13
<pre>
14
:ssl_certificate: ssl/certs/fqdn.pem
15
:ssl_ca_file: ssl/certs/ca.pem
16
:ssl_private_key: ssl/private_keys/fqdn.key
17
</pre>
18
# the hosts which the proxy accepts connections from
19
# commenting the following lines would mean every verified SSL connection allowed
20
:trusted_hosts:
21
- foreman.prod.domain
22
- foreman.dev.domain
23
24
# enable the daemon to run in the background
25
:daemon: true
26
27
# port used by the proxy
28
:port: 8443
29
30
# Enable TFTP management
31
:tftp: true
32
:tftproot: /tmp/tftpboot
33
34
35
# Enable DNS management
36
:dns: true
37
:dns_key: /home/proxy/keys/Kapi.+157+47848.private
38
39
# Enable DHCP management
40
:dhcp: true
41
# The vendor can be either isc or native_ms
42
:dhcp_vendor: isc
43
# Settings for Ubuntu ISC
44
#:dhcp_config: /etc/dhcp3/dhcpd.conf
45
#:dhcp_leases: /var/lib/dhcp3/dhcpd.leases
46
# Settings for Redhat ISC
47
:dhcp_config: etc/dhcpd.conf
48
:dhcp_leases: etc/dhcpd.leases
49
50
# enable PuppetCA management
51
#:puppetca: true
52
53
# enable Puppet management
54
#:puppet: true
55
56
# Where our proxy log files are stored
57
# filename or STDOUT
58
:log_file: /tmp/proxy.log
59
# valid options are
60
# Logger::WARN, Logger::DEBUG, Logger::Error, Logger::Fatal, Logger:INFO, LOGGER::UNKNOWN
61
#:log_level: Logger::DEBUG
62
</pre>