summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Berg <stefan.k.berg@ericsson.com>2015-03-05 15:38:08 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-03-05 15:38:08 +0000
commit738499b8d97915d45ab5958acdc1cf33772869ef (patch)
tree94619104be6d4f4de96f0a88e47ef63f8cd6dbf0
parent34ce0aeae88c5551bc81717aa0ab0c3cc6c7b93c (diff)
parent436bc66367c01d2bd6cfb9c2bec2d75e929d6999 (diff)
Merge "adding notes about using foreman installer"
-rw-r--r--puppet.md27
1 files changed, 24 insertions, 3 deletions
diff --git a/puppet.md b/puppet.md
index 949c105..2d05fee 100644
--- a/puppet.md
+++ b/puppet.md
@@ -49,6 +49,27 @@ TODO: add details to do a puppet apply install
Foreman is a provisioning and puppet master platform in one project.
-TODO: add foreman installation details
-
-
+Get a copy of foreman-installer on a node in an empty broadcast domain. Foreman expects to be the dhcp server on the network.
+
+Run foreman-installer something like this:
+
+
+ sudo foreman-installer \
+ --enable-foreman-proxy \
+ --foreman-proxy-tftp=true \
+ --foreman-proxy-tftp-servername=10.1.254.1 \
+ --foreman-proxy-dhcp=true \
+ --foreman-proxy-dhcp-interface=em1 \
+ --foreman-proxy-dhcp-gateway=10.1.254.254 \
+ --foreman-proxy-dhcp-range="10.1.254.2 10.1.254.40" \
+ --foreman-proxy-dhcp-nameservers="10.1.254.1" \
+ --foreman-proxy-dns=true \
+ --foreman-proxy-dns-interface=em1 \
+ --foreman-proxy-dns-zone=example.com \
+ --foreman-proxy-dns-reverse=254.1.10.in-addr.arpa \
+ --foreman-proxy-dns-forwarders=10.1.16.30 \
+ --foreman-proxy-foreman-base-url=https://foreman.example.com
+
+* dhcp-nameservers is the dns address given to provisioned hosts, point this to foreman
+* dns-forwarders is an external dns address that dns reqs will be forewarded to that foreman do not handle
+* make sure that your foreman-base-url will be resolvable