From 7278f98ef9ac45ec25bac6326dc949175bffce2a Mon Sep 17 00:00:00 2001 From: "Petr A. Korobeinikov" Date: Tue, 6 Jan 2015 18:45:08 +0300 Subject: [PATCH] Flat puppet directory structure. --- README.md | 5 +++-- Vagrantfile | 2 ++ manifests/default.pp => explain.pp | 0 3 files changed, 5 insertions(+), 2 deletions(-) rename manifests/default.pp => explain.pp (100%) diff --git a/README.md b/README.md index 1328511..30a584a 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,14 @@ First get the source code: WARNING: first call `vagrant up` fetches ~400MB of vbox image from the Internet. 1. Call `vagrant up` -2. Point your browser on http://192.168.44.55 (or use `/etc/hosts` entry explain.depesz.loc) + +Point your browser on http://192.168.44.55 (or use `/etc/hosts` entry explain.depesz.loc) ## Puppet setup 1. Install puppet on your machine, e.g. Debian installation described [here](https://docs.puppetlabs.com/guides/install_puppet/install_debian_ubuntu.html). 2. Open explain.pp and fix line 5 with correct project dir value -3. Call `sudo puppet apply --logdest console manifests/default.pp` on your working copy directory. +3. Call `sudo puppet apply --logdest console explain.pp` on your working copy directory. ## Manual setup diff --git a/Vagrantfile b/Vagrantfile index 71f70e1..cf575fd 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -14,6 +14,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provision "puppet" do |puppet| puppet.options = "--verbose --debug" + puppet.manifests_path = "." + puppet.manifest_file = "explain.pp" puppet.facter = { "use_vagrant" => true } diff --git a/manifests/default.pp b/explain.pp similarity index 100% rename from manifests/default.pp rename to explain.pp