Skip to content

Instantly share code, notes, and snippets.

@MikaelSmith
Last active May 14, 2019 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikaelSmith/df78f2db579e23ca4bcd37e520c3f08f to your computer and use it in GitHub Desktop.
Save MikaelSmith/df78f2db579e23ca4bcd37e520c3f08f to your computer and use it in GitHub Desktop.
notify {'Hello world': }
include rundeck
#!/usr/bin/env bash
rpm -Uvh https://yum.puppet.com/puppet5-release-el-7.noarch.rpm
yum install -y puppet-agent
mod 'puppetlabs-stdlib'
mod 'pltraining-dirtree'
mod 'puppetlabs-inifile'
mod 'puppet-archive'
mod 'puppetlabs-java_ks'
mod 'puppet-rundeck'
Vagrant.configure(2) do |config|
config.vm.box = "bento/centos-7.4"
config.vm.synced_folder File.dirname(__FILE__), "/puppet"
config.vm.provision :shell, path: "provision/puppet.sh"
config.vm.provision "puppet" do |puppet|
puppet.manifests_path = "manifests"
puppet.manifest_file = "init.pp"
puppet.module_path = "modules"
end
end
@MikaelSmith
Copy link
Author

Ran

r10k puppetfile install
vagrant up

@MikaelSmith
Copy link
Author

Using Vagrant 2.2.4 and latest VirtualBox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment