Vagrant tests:
1. Start the puppet master node:
```
vagrant up --provision pergamon
vagrant provision pergamon # [1]
```
2. Start other nodes (one for production, another for staging)
```
vagrant up logstash0
vagrant up staging-worker0
```
Then connet to the nodes and trigger puppet agent
```
# vagrant ssh logstash0
$ puppet agent --test
```
it works, the node updates according to the pergamon instance ^
octocatalog:
```
bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging pergamon
Found host pergamon.softwareheritage.org
*******************************************
+ Exec[create /srv/softwareheritage/annex/webroot] =>
parameters =>
"command": "mkdir -p /srv/softwareheritage/annex/webroot"
"creates": "/srv/softwareheritage/annex/webroot"
"path": ["/bin", "/usr/bin", "/sbin", "/usr/sbin"]
*******************************************
+ Exec[create /srv/softwareheritage/bitbucket-archive/webroot] =>
parameters =>
"command": "mkdir -p /srv/softwareheritage/bitbucket-archive/webroot"
"creates": "/srv/softwareheritage/bitbucket-archive/webroot"
"path": ["/bin", "/usr/bin", "/sbin", "/usr/sbin"]
*******************************************
+ Exec[create /srv/softwareheritage/docs/webroot] =>
parameters =>
"command": "mkdir -p /srv/softwareheritage/docs/webroot"
"creates": "/srv/softwareheritage/docs/webroot"
"path": ["/bin", "/usr/bin", "/sbin", "/usr/sbin"]
*******************************************
+ File[/usr/local/share/swh-data] =>
parameters =>
"ensure": "directory"
"group": "root"
"mode": "0755"
"owner": "root"
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org
```
[1] for some unknown reasons as of yet this needs a second provision run [1] so the
puppetdb installs finalize correctly. We kept this out of scope as we time boxed it.