Git Product home page Git Product logo

basic-aio's Introduction

basic-aio

Bootstrap a basic Puppet environment using AIO packages

The production branch of this repo contains a Vagrantfile that will build a Puppet server using the Puppet all-in-one packages with the following configured out of the box:

Prerequisites

In order to use this project, you'll need Vagrant and Bolt installed.

Configuring basic-aio

The following environment variables are used to configure the Vagrant environment:

Environment variable Default value Description
IP_SUBNET 192.168.32 The internal IP subnet used by Vagrant
PUPPET_VERSION none (use the latest) The Puppet agent version
PUPPET_RELEASE 8 The Puppet major release version
EL_RELEASE 9 The EL release of the base box
EL_OS_NAME centos The base box OS
BOX Depends on EL_OS_NAME The base box name
DEBUG not set Set to enable debugging output

See also

To get started with just an agent, take a look at sandbox. For a simple control repo example, see minimal-control.

basic-aio's People

Contributors

silug avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

silug elserhumano

basic-aio's Issues

agent run fails despite --waitforcert

At some point the

puppet agent -t -w 30

that we're using on the agent node to wait for the server node to start up stopped working. Now you get the following error:

    agent: Error: Request to https://puppet:8140/puppet-ca/v1 failed after 0.001 seconds: Failed to open TCP connection to puppet:8140 (Connection refused - connect(2) for "puppet" port 8140)
    agent: Wrapped exception:
    agent: Failed to open TCP connection to puppet:8140 (Connection refused - connect(2) for "puppet" port 8140)
    agent: Error: No more routes to ca
    agent: Error: Could not run: No more routes to ca
==> agent: Removing domain...
==> agent: An error occurred. The error will be shown after all tasks complete.

(And vagrant fails.)

Re-add choria

Since choria does not currently support Puppet 6, I removed it in #11 temporarily. I need to add it back in once it has been updated for Puppet 6.

Firewall is enabled but not managed

Any additional VMs added to the Vagrantfile can't talk to the Puppet server due to firewall rules.

There doesn't appear to be an obvious solution for this. puppetlabs/puppetdb pulls in puppetlabs/firewall, which seems to turn on the iptables service with default rules. puppetlabs/firewall doesn't support rules in hiera (which would be the obvious solution). This leaves us with 2 options (that I can see):

  1. Add in some other firewall module (and hope they don't conflict) plus hiera options.
  2. Include a simple module that creates the firewall rules.

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.