Project

General

Profile

Actions

Bug #3119

closed

Documentation issue in 3.2.2 Installer Options

Added by Duncan Innes over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The Foreman 1.3 manual:

http://theforeman.org/manuals/1.3/index.html#3.2.2InstallerOptions

doesn't match up with what I see on my box after installing foreman-installer.

The file /usr/share/foreman-installer/foreman_installer/answers.yaml doesn't exist, but I do have a /usr/share/foreman-installer/config/answers.yaml file. The contents of this don't match what appears in the documentation:

  1. Format:
  2. <classname>: false - don't include this class
  3. <classname>: true - include and use the defaults
  4. <classname>:
  5. <param>: <value> - include and override the default(s) #
  6. See params.pp in each class for what options are available
    ---
    foreman: true
    foreman_proxy: true
    puppet:
    server: true

Not a big difference, but documentation suggests:

---
foreman: true
puppet: true
puppetmaster: true
foreman_proxy: true

and I'm not sure what to do with the Puppet side of things.

For information, I'm trying to install Foreman on a single server, Puppetmaster on another single server, and finally the PostgreSQL database for Foreman on another server.

Actions #1

Updated by Dominic Cleal over 10 years ago

  • Project changed from Foreman to Website
  • Category deleted (21)
  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal
  • Target version set to 1.3.0

Thanks, I'm going to have a go at rewriting the installer sections over the next few days, it needs an update to the whole section with 1.3 as we replaced the wrapper with kafo.

Actions #2

Updated by Duncan Innes over 10 years ago

Thanks. If there's the possibility of being able to install as I'm trying to do, I'd be grateful of some pointers in the Docs when they arrive.

I'll be having a go using RPM install for now. Trying to fully automate the install from Satellite kickstart.

Actions #3

Updated by Dominic Cleal over 10 years ago

Yes, it's very much possible without needing to install and configure everything from RPMs (a lot of work). Run foreman-installer and there are options to configure the database - you'll want to disable db_manage and set db_type/host/database/username etc to point to your other server.

For the puppetmaster, I'd first install that using foreman-installer and setting --foreman=false etc, only installing the puppetmaster, puppet agent and foreman-proxy. Run "puppet cert generate <fqdn of foreman server>" on your new puppetmaster, copy the generated private key, cert and ca.pem to your Foreman host and then run the foreman-installer with --puppet-server=false. This will be the sequence I hope to document.

Actions #4

Updated by Duncan Innes over 10 years ago

So should I be using foreman-installer with loads of -- options, or is it better to deploy the foreman-installer-answers.yaml file that I want on each server and just run foreman-installer without options?

Actions #5

Updated by Dominic Cleal over 10 years ago

Entirely up to you! It'll persist the -- options into the answer file if you run it with those, so you can do it once and re-run it easily.

Actions #6

Updated by Dominic Cleal over 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #7

Updated by Dominic Cleal over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF