Foreman 0.1-6

Posted On Wednesday, November 17th, 2010 By ynot

Foreman[1] is more than a Web Front End for puppet[2] it provides a really nice interface to interact with puppet, it helps you to do the provisioning tasks that projects like cobbler[3] does, but all in one place, it also shows the reports, facts and a bunch of very useful statistics in a cool way. Foreman lately released the latest version 0.1-6 that provides support to the latest major puppet version 2.6.x.  I want to share a quick installation of foreman and few screenshots of how it looks like in the latest version. Foreman Requirements: puppet ruby DB(mysql, sqlite3, postgresql) rubygems rake rack In this Example: Debian squeeze/sid puppet 2.6.2 ruby 1.8.7 rubygems 1.3.7 rake 1.2.1 rack 0.8.7 mysql 5.1.49 libdbd-mysql-ruby 0.4.4 If Stored Configs are not used, then it’s required to create the DB on which foreman will store all the data received from puppet. Data Base Creation: echo “CREATE DATABASE puppet; CREATE USER ‘puppet’@'localhost’ IDENTIFY BY ‘mypassword’; GRANT ALL ON puppet.* TO ‘puppet’@'localhost’;” | mysql -uroot -p Get Foreman(from a tarball): pushd /opt wget http://theforeman.org/attachments/download/174/foreman-0.1-6.tar.bz2 tar xjf foreman-0.1-6.tar.bz2 popd Foreman DB Configuration: [/opt/foreman/config/database.yml] production: adapter: mysql database: puppet username: puppet password: mypassword host: localhost socket: “/var/run/mysqld/mysqld.sock” Secure that Continue Reading