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:
parent
cccef5552a
commit
7278f98ef9
@ -19,13 +19,14 @@ First get the source code:
|
|||||||
WARNING: first call `vagrant up` fetches ~400MB of vbox image from the Internet.
|
WARNING: first call `vagrant up` fetches ~400MB of vbox image from the Internet.
|
||||||
|
|
||||||
1. Call `vagrant up`
|
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
|
## 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).
|
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
|
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
|
## Manual setup
|
||||||
|
|
||||||
|
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -14,6 +14,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
|
|
||||||
config.vm.provision "puppet" do |puppet|
|
config.vm.provision "puppet" do |puppet|
|
||||||
puppet.options = "--verbose --debug"
|
puppet.options = "--verbose --debug"
|
||||||
|
puppet.manifests_path = "."
|
||||||
|
puppet.manifest_file = "explain.pp"
|
||||||
puppet.facter = {
|
puppet.facter = {
|
||||||
"use_vagrant" => true
|
"use_vagrant" => true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user