Coder Social home page Coder Social logo

linguinecode / puppet-controlrepo Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 3.0 76 KB

Complete starter kit for your Puppet controlled infrastructure

Home Page: https://github.com/seanscottking/puppet-controlrepo

License: MIT License

Ruby 21.52% Shell 8.32% Puppet 69.02% HTML 1.14%

puppet-controlrepo's Introduction

puppet-controlrepo

This project serves as a complete starter kit for your Puppet controlled infrastructure. It is feature filled with everything you ever wanted but never had; such as Hiera, R10K, Roles and Profiles framework, and Vagrant.

Project Goals

  1. Whitelabel so that anyone can use this project from a class demo all the way to a full blown Fortune 500 datacenter
  2. Compatible with as many operating systems as possible
  3. Stay current with all the best practices

Installation and Usage

  1. Clone the repo
  2. Install some vagrant plugins 1. vagrant plugin install vagrant-cachier 1. vagrant plugin install vagrant-r10k
  3. vagrant up and watch your new virtual machine get fully provisioned
  4. vagrant ssh and have a look around
  5. Now try making a change to some YAML data. Edit common.yaml and add/remove a DNS server, just for fun
  6. vagrant provision, now watch the DNS client configuration recieve your change.

Setting facter facts for Vagrant to use (i.e. app_role or app_tier)

Use environment variables to set facter facts that get passed to Vagrant.

$ APP_ROLE=webserver vagrant provision
or...
$ APP_ROLE=webserver APP_TIER=production vagrant provision

Compatibility

Tested with Puppet v3.8 (open source) on CentOS 6.7 and Ubuntu Server 14.04 LTS.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

Nov 2015: Initial commit

Credits

Sean S. King, author

Thanks to Rob Nelson. His project puppetinabox was the inspiration for this one.

Thanks to Craig Dunn and Gary Larizza for their broad research on ways to make Puppet not suck.

License

See LICENSE.md

puppet-controlrepo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

puppet-controlrepo's Issues

Error: syntax error on line 129, col 35

Fix this:

==> default: Error: syntax error on line 129, col 35: ]' at /tmp/vagrant-puppet/manifests-47361b918842096e6dcad883d3f4924f/site.pp:5 on node localhost.home`

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.