• This repository has been archived on 31/Aug/2019
  • Stars
    star
    153
  • Rank 235,560 (Top 5 %)
  • Language
    Shell
  • Created over 11 years ago
  • Updated almost 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Veewee definitions for a set of generic vagrant boxes

This repository contains definitions and files necessary for recreating vagrant boxes suitable for running module tests with.

You can access to the produced vagrant boxes here:

http://puppet-vagrant-boxes.puppetlabs.com

The primary goal is to create boxes that have very little specialisation at this level, the standard veewee templates should be very rarely modified to keep it simple, and even then bug fix should always be feed back to upstream (ie. VeeWee). This holds for any bugs we find in the templates, and any new templates that are required. In short our goal here is not to fork VeeWee templates, but to provide a snapshot of the template at box build/publish time.

Environment setup

You'll need Ruby 1.9.3 and Bundler before you begin. You should also install a copy of Vagrant from the instructions provided here:

http://downloads.vagrantup.com/

Once you have vagrant installed, start by entering the directory where you have cloned this project:

$ cd <path to repo>

Optional Create an RVM gemset:

$ rvm --create --ruby-version use ruby-1.9.3@puppet-vagrant-boxes

Then install the bundle:

$ bundle install

Adding a new definition

Note: Change the base command between vbox or fusion depending on your target provider.

Get a list of available definitions:

$ veewee [vbox|fusion] templates

Pick one, and define it using:

$ veewee [vbox|fusion] vbox define '<box_name>' '<template_name>'

Make sure <box_name> follows the convention:

<osdistro>-<derivative>-<version>-<arch>-<virtual-type>-<variant>
  • osdistro: for example: centos, ubuntu, windows
  • derivative: (optional)
    • for ubuntu: svr, dtop (used to be server, desktop)
  • version: 8, 2008, 1104
  • arch: x64, i386
  • virtual-type: type & version.
    • vbXXXX: virtualbox + version (used to be vboxXXX)
    • vfXXX: vmware fusion + version (used to be fusionXXX)
  • variant (optional):
    • nocm: designates no configuration management tools were loaded

Examples:

ubuntu-svr-1104-x64-vb4210
centos-58-i386-vb4210
windows-2008r2-x64-vb4210
debian-607-x64-vb4210-nocm
centos-64-x64-vf503

Naming caveats

NOTE: There are reasons why we name things thusly, if you don't care skip this section.

You are probably wondering why we have the strictish naming conventions, I assure you its not by choice, there are limitations in the naming that we are working around:

  • The name becomes the hostname of the box ... so you have to be careful what you use. Later on in vagrant one should normally change the hostname themselves, but we can't rely on our users doing this so we have to get it right.
  • Debian/Ubuntu doesn't like underscores in the hostname of a box. So we avoid this.
  • A dot in the box name would create a subdomain, which is probably not desirable. This is why we munge versions into 1 string of digits instead of dot delimiting them.
  • There is a weird bug in Ubuntu 12.04.2 (can't replicate in 10.04) whereby hostnames that are too long will not boot in vagrant. I've found hostnames shorter than 37 chars should work fine. No idea why ...

Updating index.html

Once you've produced a new box you should modify html/index.html to add it so it can be accessed from the index on S3.

Building a box

Finally, follow the next steps for building a box.

Pick a box to build:

$ veewee [vbox|fusion] list

To build it:

$ veewee [vbox|fusion] build <box-name>

At this point it will download necessary ISO's and start building a box.

Now validate the box:

$ veewee [vbox|fusion] validate <box-name>

And export the vm to a .box file:

$ veewee [vbox|fusion] export 'centos-58-x64'

Publishing to S3

Now upload the box located in the current directory (ie. centos-58-x86_64.box) to the S3 bucket puppet-vagrant-boxes, and if you modified the index.html, upload that as well.

Publishing to vagrantbox.es

If the image is new, or you changed the name, also update the site http://vagrantbox.es/, you do this by raising a PR on the repository below:

http://github.com/garethr/vagrantboxes-heroku

More Repositories

1

puppet

Server automation framework and application
Ruby
7,082
star
2

showoff

Don't just present; interact with your audience!
JavaScript
932
star
3

r10k

Smarter Puppet deployment
Ruby
798
star
4

facter

Collect and display system facts
Ruby
603
star
5

trapperkeeper

A services framework for Clojure / JVM applications.
Clojure
586
star
6

bolt

Bolt is an open source orchestration tool that automates the manual work it takes to maintain your infrastructure on an as-needed basis or as part of a greater orchestration workflow. It can be installed on your local workstation and connects directly to remote nodes with SSH or WinRM, so you are not required to install any agent software.
Ruby
459
star
7

puppetlabs-mysql

MySQL Puppet Module / Manifests + Types & Providers
Ruby
385
star
8

puppetlabs-apache

Puppet module for the Apache httpd server, maintained by Puppet, Inc.
Ruby
365
star
9

puppetlabs-stdlib

Puppet Labs Standard Library module
Ruby
355
star
10

hiera

Lightweight Pluggable Hierarchical Database
Ruby
295
star
11

puppetdb

Centralized Puppet Storage
Clojure
290
star
12

puppetserver

Server automation framework and application
Clojure
280
star
13

puppetlabs-firewall

Puppet Firewall Module
Ruby
269
star
14

puppetlabs-postgresql

Puppet module for managing PostgreSQL
Ruby
229
star
15

puppet-docs

Curated Puppet Documentation
HTML
223
star
16

pdk

The shortest path to better modules: Puppet Development Kit; Download:
Ruby
217
star
17

control-repo

A control repository template
Ruby
197
star
18

pupperware

Container fun time lives here.
Ruby
184
star
19

puppetlabs-concat

File concatenation system for Puppet
Ruby
171
star
20

puppetlabs-ntp

Puppet module to manage the NTP service
Ruby
145
star
21

puppetlabs-lvm

Puppet Module to manage LVM
Ruby
126
star
22

puppetlabs_spec_helper

A set of shared spec helpers specific to Puppetlabs projects
Ruby
121
star
23

best-practices

Best practice docs created by the Puppet Customer Success team
CSS
120
star
24

puppetlabs-packer

Packer templates to build images for vSphere
PowerShell
119
star
25

puppetlabs-java

Puppet Module to manage Java
Ruby
103
star
26

puppet-syntax-vim

Puppet language syntax highlighting for Vim
Vim Script
102
star
27

puppet-specifications

Specification of the Puppet Language, Catalog, Extension points
Ruby
97
star
28

vault-plugin-secrets-oauthapp

OAuth 2.0 secrets plugin for HashiCorp Vault supporting a variety of grant types
Go
92
star
29

puppetlabs-kubernetes

This module install and configures a Kubernetes cluster
Ruby
91
star
30

puppet_litmus

Providing a simple command line tool for puppet content creators, to enable simple and complex test deployments.
Ruby
89
star
31

puppet-strings

The next generation Puppet documentation extraction and presentation tool.
Ruby
89
star
32

puppetlabs-docker

The Puppet Docker repository
Ruby
85
star
33

cpp-hocon

A C++ port of the Typesafe Config library.
C++
83
star
34

education-builds

Bootstrap CentOS training VMs from scratch. Now with true versioning!
Ruby
82
star
35

puppet-vscode

Puppet Editing. Redefined.
TypeScript
79
star
36

vmpooler

Provide configurable 'pools' of instantly-available (running) virtual machines
Ruby
75
star
37

tasks-hands-on-lab

Deprecated: Please see http://bolt.guide to follow our Bolt tutorial!
Shell
73
star
38

puppetlabs-inifile

Resource types for managing settings in INI files
Ruby
70
star
39

hiera-puppet

Puppet function and data backend for Hiera
Ruby
60
star
40

leatherman

A collection of C++ and CMake utility libraries.
C++
57
star
41

puppet-rfc

Puppet RFC Repository
Ruby
55
star
42

puppetlabs-f5

Puppet Management of F5 Network Devices.
53
star
43

puppetlabs-puppetdb

A puppet module for installing and managing puppetdb
Ruby
52
star
44

relay

Event-driven workflows for DevOps automation
Go
52
star
45

puppetlabs-powershell

powershell provider for the Puppet exec resource type
Ruby
50
star
46

puppetlabs-rsync

rsync module
Ruby
49
star
47

puppet-agent

All of the directions for building a puppet agent package.
Ruby
48
star
48

puppetserver-helm-chart

The Helm Chart for Puppet Server
Mustache
46
star
49

homebrew-puppet

A tap for Puppet macOS package distribution
Ruby
45
star
50

pdk-templates

The main template repo for the Puppet Development Kit https://github.com/puppetlabs/pdk
HTML
43
star
51

docs-archive

An archive of old documentation for Puppet, PE, CD4PE, Pipelines, and their related components. No longer updated, for reference only.
HTML
43
star
52

puppet-editor-services

Puppet Language Server for editors
Ruby
41
star
53

puppetlabs-puppet_agent

Module for managing Puppet-Agent
Ruby
40
star
54

packaging

Packaging automation for Puppet software
Ruby
38
star
55

puppetlabs-tomcat

PuppetLabs Tomcat module
Ruby
38
star
56

kream

Kubernetes Rules Everything Around Me. A development environment for the Puppet/kubernetes module
Ruby
38
star
57

rubocop-i18n

RuboCop rules for detecting and autocorrecting undecorated strings for i18n (gettext and rails-i18n)
Ruby
36
star
58

nssm

Puppet fork of the NSSM source code from https://git.nssm.cc/nssm/nssm.git
C++
36
star
59

puppetlabs-java_ks

Uses a combination of keytool and openssl to manage entries in a Java keystore
Ruby
35
star
60

gatling-puppet-load-test

Scala
34
star
61

ruby-hocon

A Ruby port of the Typesafe Config library.
Ruby
34
star
62

netdev_stdlib

Netdev is a vendor-neutral network abstraction framework maintained by Puppet, Inc
Ruby
30
star
63

puppetlabs-sshkeys

Puppet Labs SSH Public Keys
Shell
30
star
64

puppetlabs-peadm

A Puppet module defining Bolt plans used to automate Puppet Enterprise deployments
Puppet
30
star
65

tasks-playground

Deprecated: Please check out https://bolt.guide to learn about Bolt, or see the project at https://github.com/puppetlabs/bolt
Shell
27
star
66

puppetlabs-node_encrypt

Encrypt secrets inside Puppet catalogs and reports
Ruby
27
star
67

structured-logging

Write data structures to your logs from clojure
Clojure
27
star
68

puppet-resource_api

This library provides a simple way to write new native resources for https://puppet.com.
Ruby
27
star
69

vanagon

All of your packages will fit into this van with this one simple trick.
Ruby
26
star
70

puppetlabs-reboot

Reboot type and provider
Ruby
26
star
71

vmfloaty

A CLI helper tool for Puppet vmpooler to help you stay afloat
Ruby
25
star
72

puppetlabs-registry

Puppet Module for managing the Windows Registry through custom types and providers
Ruby
25
star
73

puppet-syntax-emacs

Puppet language syntax highlighting for Emacs
Emacs Lisp
25
star
74

pxp-agent

PCP eXecution Protocol Agent
C++
22
star
75

puppetlabs-acl

ACL (Access Control List) module
Ruby
20
star
76

clj-i18n

Clojure i18n library and utilities
Clojure
20
star
77

puppetlabs-transition

Transition module
Ruby
20
star
78

puppetlabs-sslcertificate

Puppet module to manage SSL Certificates on WIndows Server 2008 and upwards
Ruby
20
star
79

puppetlabs-accounts

Account management module
Ruby
19
star
80

cppbestpractices

Collection of C++ Best Practices at Puppet Labs
C++
19
star
81

clj-kitchensink

Library of utility functions for clojure
Clojure
19
star
82

jvm-ssl-utils

SSL certificate management on the JVM
Clojure
18
star
83

provision

Simple tasks to provision and tear_down containers / instances and virtual machines.
Ruby
18
star
84

net_http_unix

AF_UNIX domain socket support on top of Ruby's Net::HTTP libraries
Ruby
18
star
85

design-system

A resource for creating user interfaces based on brand, UX, and dev principles
JavaScript
18
star
86

puppet-eucalyptus

Install and management tools for Eucalyptus built with Puppet
Puppet
17
star
87

puppet-classify

A ruby library to interface with the classifier service
Ruby
17
star
88

puppetdb-cli

PuppetDB CLI Tooling
Go
16
star
89

puppetlabs-rcfiles

Customizations for vim, shell, screen, ruby, etc... The goal is to quickly provide an efficient working environment.
Vim Script
16
star
90

puppetlabs-motd

Simple motd module
Ruby
16
star
91

relay-core

Kubernetes-based execution engine
Go
16
star
92

trapperkeeper-webserver-jetty9

Trapperkeeper webservice service (jetty9 implementation).
Clojure
16
star
93

clj-http-client

HTTP client library wrapping Apache HttpAsyncClient
Clojure
15
star
94

bolt-examples

Puppet
15
star
95

puppet-vro-starter_content

Shell
15
star
96

facter-ng

Collect and display system facts
Ruby
15
star
97

ruby-pwsh

A ruby gem for interacting with PowerShell
Ruby
14
star
98

puppet-gatling-jenkins-plugin

A Jenkins plugin that extends the gatling library
HTML
14
star
99

cisco_ios

Cisco IOS Catalyst module
Ruby
14
star
100

learn-to-be-a-puppet-engineer

In this repository we map out skills that our PSE should have, we try link to existing documentation or blog posts, or if they don't exist, create it.
CSS
14
star