GithubHelp home page GithubHelp logo

legooolas / puppet-foreman_proxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theforeman/puppet-foreman_proxy

0.0 1.0 0.0 1.02 MB

Puppet module for Foreman Smart Proxy

License: GNU General Public License v3.0

Ruby 47.29% Puppet 38.80% HTML 13.89% Pascal 0.02%

puppet-foreman_proxy's Introduction

Puppet Forge Build Status

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

Compatibility

Module version Proxy versions Notes
11.x 1.19 and newer See compatibility notes in its README for 1.19-1.21
10.x 1.19 - 1.21
5.x - 9.x 1.16 - 1.20 See compatibility notes in its README for 1.16-1.18
4.x 1.12 - 1.17 See compatibility notes in its README for 1.15+
3.x 1.11
2.x 1.5 - 1.10
1.x 1.4 and older

Starting version 1.22 the Puppet CA configuration is split depending on the provider. When using the module with 1.19 - 1.21, set puppetca_split_configs to false.

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,
}

PowerDNS support

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

class{'::foreman_proxy':
  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.

Remote Execution User Management

This module can also be used to manage the ssh user on Foreman Remote Execution clients.

include foreman_proxy::plugin::remote_execution::ssh_user

The class will make use of the remote_execution_* host parameters available in the ENC data provided by Foreman.

It will manage the user, (by default foreman_ssh), install/update the ssh keys and manage the sudo rules (using saz/sudo if available in your environment).

Ansible integration

The Foreman Proxy Ansible plugin installs the optional package for ansible-runner by default. Additional repositories are enabled since this isn't present in the repositories we depend on (base OS and EPEL). There is a parameter to disable this behavior in which case the user is expected to ensure an ansible-runner package can be installed. There is also an option to fully disable installing. The plugin authors consider ansible-runner the preferred way to run so disabling is discouraged.

class { 'foreman_proxy::plugin::ansible':
  install_runner     => false, # defaults to true
  manage_runner_repo => false, # defaults to true, redundant when install_runner is 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/.

puppet-foreman_proxy's People

Contributors

adamruzicka avatar alexjfisher avatar antaflos avatar apenney avatar ares avatar brandonweeks avatar chris1984 avatar cristifalcas avatar ctrlaltdel avatar davids avatar dizz avatar dlobatog avatar dmitri-d avatar domcleal avatar ehelms avatar ekohl avatar evgeni avatar gregsutcliffe avatar inecas avatar lzap avatar mmoll avatar mzhaase avatar ohadlevy avatar sathieu avatar sean797 avatar stbenjam avatar tbrisker avatar timogoebel avatar treydock avatar vstone avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.