Skip to content

Commit

Permalink
moving to plugin to install puppet, updating all submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
attachmentgenie committed Oct 12, 2016
1 parent f3e8bf9 commit d7fe83c
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
vagrant starter kit

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

## Preparation
git submodule update --init
Expand Down Expand Up @@ -35,10 +36,9 @@ the puppet master deploys a fairly default hiera.yaml

### Manifests

Place your own manifests in this directory. A fairly standard default.pp is already present which also creates and registers
a local yum repository called 'localhost'
Place your own manifests in this directory. A fairly standard default.pp is already present.

### Modules

Place your own modules in this directory. 5 modules are alreayd present one of which is stdlib.
Place your own modules in this directory. 5 modules are already present one of which is stdlib.

5 changes: 4 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Vagrant.configure("2") do |config|
config.cache.scope = :machine
end

if Vagrant.has_plugin?("vagrant-puppet-install")
config.puppet_install.puppet_version = :latest
end

###############################################################################
# Global provisioning settings #
###############################################################################
Expand Down Expand Up @@ -87,7 +91,6 @@ Vagrant.configure("2") do |config|
end
end
srv.vm.synced_folder "#{env}/hieradata", "/etc/puppetlabs/code/environments/#{env}/hieradata"
srv.vm.provision "shell", inline: "wget -O - https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet_agent.sh | sudo sh"
srv.vm.provision :puppet do |puppet|
puppet.environment = "#{env}"
puppet.environment_path = "."
Expand Down
2 changes: 1 addition & 1 deletion production/modules/firewall
2 changes: 1 addition & 1 deletion production/modules/stdlib
Submodule stdlib updated 189 files

0 comments on commit d7fe83c

Please sign in to comment.