Puppet Foreman

Resource

a summary of foreman
http://engineering.yakaz.com/managing-an-infrastructure-datacenter-with-foreman-and-puppet.html

the tutorial page
http://projects.theforeman.org/projects/foreman/wiki/Tutorials

migration links from puppet to foreman
https://groups.google.com/forum/#!topic/foreman-users/JoGYay31OHE
https://groups.google.com/forum/#!topic/foreman-users/0DVLlaxGri0

Install

Complete guide here http://theforeman.org/manuals/1.5/

Install on ubuntu 12.04 SOME PROBLEMS LEAVE UNCOMPLETED

I looked the general guide and http://theforeman.org/manuals/1.5/quickstart_guide.html
I have installed following this guide http://lost-and-found-narihiro.blogspot.ie/2013/03/install-foreman-on-ubuntu-1204-part1.html

echo "deb http://deb.theforeman.org/ precise stable" > /etc/apt/sources.list.d/foreman.list
wget -q http://deb.theforeman.org/foreman.asc -O- | apt-key add –
apt-get update;apt-get install foreman-installer -y

Install on ubuntu 14.04 WORKS WELL

echo "deb http://deb.theforeman.org/ trusty 1.5" > /etc/apt/sources.list.d/foreman.list
echo "deb http://deb.theforeman.org/ plugins 1.5" >> /etc/apt/sources.list.d/foreman.list
wget -q http://deb.theforeman.org/foreman.asc -O- | apt-key add -
apt-get update && apt-get install foreman-installer

remember to change the hostname

the name of the machine must be match with the fqdn, if

cat /etc/hostname
ubuntu

you need to add to /etc/hosts
127.0.1.1 ubuntu.localdomain ubuntu

to check you can use this command
root@ubuntu:~# hostname --domain
localdomain

root@ubuntu:~# hostname --fqdn
ubuntu.localdomain

if the state is this you can run

 foreman-installer

after modify the /etc/default/foreman and run the service

connect to https to the machine
the default user is admin the password is changeme
remember to change

Salvo diversa indicazione, il contenuto di questa pagina è sotto licenza Creative Commons Attribution-ShareAlike 3.0 License