Puppet Setup (with Foreman)

  • Start with a fresh install of SL6
    # Configure root authorized_keys
    # Configure iptables to close SSH to the world
    # yum update
    # Disable nightly yum upgrades: sed 's/ENABLED=.*/ENABLED="false"/' -i /etc/sysconfig/yum-autoupdate
    # Disable selinux
    # reboot
At this point, check the Installation manual, some things may have changed: http://theforeman.org/manuals/1.1/index.html#3.InstallingForeman And run the installer
ruby /usr/share/foreman-installer/generate_answers.rb

Obsolete

This is (for now) just notes for reference.

  • Start with a fresh install of SL6.
  • Enable epel/epel-testing repos: =rpm -i http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm=
  • Install puppet-server: yum install puppet-server --enablerepo=epel-testing,epel
  • Enable puppet repo (for utils):
    cat > /etc/yum.repos.d/puppetlabs.repo << EOF
    [puppetlabs]
    name=Puppet Labs Packages
    baseurl=http://yum.puppetlabs.com/base/
    enabled=0
    gpgcheck=1
    gpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-reductive
    EOF
    
    yum install mcollective puppet-dashboard --enablerepo=puppetlabs,epel

  • Download foreman
    cat > /etc/yum.repos.d/foreman.repo << EOF
    [foreman]
    name=Foreman Repo
    baseurl=http://yum.theforeman.org/stable
    gpgcheck=0
    enabled=0
    EOF
    
    yum install foreman --enablerepo=foreman

Then we need to configure what we've installed. I found a nice debian howto here, need to adapt a bit to rhel6. https://host1.no/blog/puppet/how-to-install-puppet-and-puppet-dashboard/

-- PabloFernandez - 2011-08-25

Edit | Attach | Watch | Print version | History: r9 | r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2013-04-08 - PabloFernandez
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback