1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2025-02-19 19:44:40 +02:00

Flat puppet directory structure.

This commit is contained in:
Petr A. Korobeinikov 2015-01-06 18:45:08 +03:00
parent cccef5552a
commit 7278f98ef9
3 changed files with 5 additions and 2 deletions

View File

@ -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

2
Vagrantfile vendored
View File

@ -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
}