GithubHelp home page GithubHelp logo

attachmentgenie / vagrant-puppetmaster Goto Github PK

View Code? Open in Web Editor NEW
20.0 2.0 13.0 194 KB

A simple vagrant setup exposing all permutations of puppetmaster roles

Ruby 71.14% Puppet 28.86%
puppet foreman puppetdb puppetmaster postgresql bolt vagrant

vagrant-puppetmaster's Introduction

vagrant-puppetserver

A vagrant setup that creates puppetservers

Requirements

Virtualbox                  => https://www.virtualbox.org
Vagrant                     => http://www.vagrantup.com
vagrant-hostmanager         => vagrant plugin install vagrant-hostmanager
vagrant-puppet-install      => vagrant plugin install vagrant-puppet-install
vagrant-cachier  (optional) => vagrant plugin install vagrant-cachier

Preparation

git submodule update --init
bundle install

Setup

vagrant up

Inspec tests

bundle exec rake
bundle exec rake inspec[centos7] 

TLDR

(G)UI interfaces

Environments

XXS

2 nodes => puppetserver (puppet + puppetserver) + node (puppet)

cd vagrant/xxs
vagrant up

XS

2 nodes => puppetserver (puppet + puppetserver + postgresql + puppetdb + bolt) + node (puppet)

cd vagrant/xs
vagrant up
puppetdb => http://puppetserver.xs.vagrant:8080

S

2 nodes => puppetserver (puppet + puppetserver + postgresql + puppetdb + puppetboard + bolt) + node (puppet)

cd vagrant/s
vagrant up

puppetboard  => http://puppetserver.s.vagrant:8088
puppetdb => http://puppetserver.s.vagrant:8080

M

2 nodes => puppetserver (puppet + puppetserver + postgresql + puppetdb + foreman + bolt) + node (puppet)

cd vagrant/s
vagrant up

foreman  => https://puppetserver.m.vagrant
username: admin
passwd  : secret
puppetdb => http://puppetserver.m.vagrant:8080

L

3 nodes => puppetserver (puppet + puppetserver + postgresql + puppetdb + foreman + bolt) + compile (puppet + puppetserver) + node (puppet)

cd vagrant/l
vagrant up

foreman  => https://puppetserver.l.vagrant
username: admin
passwd  : secret
puppetdb => http://puppetserver.l.vagrant:8080

XL

5 nodes => puppetserver (puppet + puppetserver + bolt) + puppetdb (puppet + postgresql + puppetdb) + foreman (puppet + postgresql + foreman) + compile (puppet + puppetserver) + node (puppet)

cd vagrant/xl
vagrant up puppetserver puppetdb foreman compile
uncomment the additional section in xl/hieradata/{environment/xl.yaml,node/{puppetserver,compile}.yaml}
comment the additional foreman section in xl/hieradata/environment/xl.yaml
vagrant provision puppetserver puppetdb foreman compile
vagrant up node

foreman  => https://foreman.xl.vagrant
username: admin
passwd  : secret
puppetdb => http://puppetdb.xl.vagrant:8080

XXL

6 nodes => puppetserver (puppet + puppetserver + bolt) + db (puppet + postgresql) + puppetdb (puppet + puppetdb) + foreman (puppet + foreman) + compile (puppet + puppetserver) + node (puppet)

cd vagrant/xxl
comment the additional db section in xxl/hieradata/node/foreman.yaml}
vagrant up puppetserver db puppetdb foreman compile
uncomment the additional section in xxl/hieradata/{environment/xxl.yaml,node/{puppetserver,compile}.yaml}
comment the additional foreman section in xl/hieradata/environment/xl.yaml
vagrant provision puppetserver db puppetdb foreman compile
vagrant up node

foreman  => https://foreman.xxl.vagrant
username: admin
passwd  : secret
puppetdb => http://puppetdb.xxl.vagrant:8080

vagrant-puppetmaster's People

Contributors

attachmentgenie avatar maartenbeeckmans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vagrant-puppetmaster's Issues

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.