Skip to content

BrandwatchLtd/puppet-foreman_proxy

 
 

Repository files navigation

Puppet module for managing the Foreman Smart Proxy

Installs and configures the Foreman Smart Proxy and services that it can interact with, e.g. DNS, DHCP and Puppet and TFTP.

Part of the Foreman installer: https://github.com/theforeman/foreman-installer

PowerDNS support

To use the PowerDNS plugin, the following variables need to be set on the main foreman_proxy class.

$dns          => true
$dns_managed  => false
$dns_provider => 'powerdns'

Then you also need to include foreman_proxy::plugin::dns::powerdns.

The powerdns plugin can optionally manage the database. If that's used, then the puppetlabs-mysql module must be added to the modulepath, otherwise it's not required.

Compatibility

This module only supports Smart Proxy 1.12 or higher as of version 4.0, as the configuration layout changed significantly.

To configure older versions of the Smart Proxy use version 2.x of this module for 1.5 to 1.10 and 3.x for 1.11.

1.16 compatibility notes

On Smart Proxy 1.16+ with puppetca support, also set:

use_autosignfile => true,

to ensure the new autosignfile parameter is used instead of puppetdir.

1.15 compatibility notes

On Smart Proxy 1.15+ with realm support, also set:

realm_split_config_files => true,

to ensure the new separate realm.yml and realm_freeipa.yaml files are configured correctly.

Examples

Minimal setup for Puppet/PuppetCA Smart Proxy

class{'::foreman_proxy':
  puppet   => true,
  puppetca => true,
  tftp     => false,
  dhcp     => false,
  dns      => false,
  bmc      => false,
  realm    => false,
}

Contributing

  • Fork the project
  • Commit and push until you are happy with your contribution
  • Send a pull request with a description of your changes

More info

See https://theforeman.org or at #theforeman irc channel on freenode

Copyright (c) 2010-2013 Ohad Levy and their respective owners

Except where specified in provided modules, this program and entire repository is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

Puppet module for Foreman Smart Proxy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 46.7%
  • Puppet 39.0%
  • HTML 14.3%