Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Gists for my series of Vagran/Puppet articles on
include nginx
exec {
command => 'sudo apt-get update',
class nginx {
package {
ensure => present,
require => Exec[' update-package-list'],
service {
ensure => running,
require => Package['nginx'],
config.vm.provision :puppet do |puppet|
puppet.manifests_path = 'puppet/manifests'
puppet.module_path = 'puppet/modules'
puppet.manifest_file = 'init.pp'
Vagrant.configure("2") do |config| = "ubuntu/trusty64" "private_network", ip: ""
config.vm.hostname = "puppet"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment