Steps to replicate the issue (include links if applicable):
- Follow the documentation
What happens?:
The puppet runs in step 5 fails
physikerwelt@puppetmaster:/srv$ sudo -i run-puppet-agent Info: Using environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Info: Caching catalog for puppetmaster.5238620953c040e7a9effbe47d4e0932.eqiad1.wikimedia.cloud Info: Applying configuration version '(29ef8ab526) Dzahn - gerrit: set gerrit site dir Hiera value for new machine gerrit2003' Error: Cannot create /srv/puppet/server; parent directory /srv/puppet does not exist Error: /Stage[main]/Puppetserver/File[/srv/puppet/server]/ensure: change from 'absent' to 'directory' failed: Cannot create /srv/puppet/server; parent directory /srv/puppet does not exist Notice: /Stage[main]/Puppetserver/File[/srv/puppet/server/ssl]: Dependency File[/srv/puppet/server] has failures: true Warning: /Stage[main]/Puppetserver/File[/srv/puppet/server/ssl]: Skipping because of failed dependencies Notice: /Stage[main]/Profile::Puppetserver::Git/Exec[puppetserver-deploy-code]/returns: fatal: detected dubious ownership in repository at '/srv/git/operations/puppet' Notice: /Stage[main]/Profile::Puppetserver::Git/Exec[puppetserver-deploy-code]/returns: To add an exception for this directory, call: Notice: /Stage[main]/Profile::Puppetserver::Git/Exec[puppetserver-deploy-code]/returns: Notice: /Stage[main]/Profile::Puppetserver::Git/Exec[puppetserver-deploy-code]/returns: git config --global --add safe.directory /srv/git/operations/puppet Notice: /Stage[main]/Profile::Puppetserver::Git/Exec[puppetserver-deploy-code]/returns: ERROR: Unable to obtain the current branch Error: '/usr/local/bin/puppetserver-deploy-code' returned 1 instead of one of [0] Error: /Stage[main]/Profile::Puppetserver::Git/Exec[puppetserver-deploy-code]/returns: change from 'notrun' to ['0'] failed: '/usr/local/bin/puppetserver-deploy-code' returned 1 instead of one of [0] (corrective) Notice: /Stage[main]/Puppetserver/Service[puppetserver]: Dependency Exec[puppetserver-deploy-code] has failures: true Warning: /Stage[main]/Puppetserver/Service[puppetserver]: Skipping because of failed dependencies Notice: Applied catalog in 8.60 seconds
What should have happened instead?:
The run should succeed.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
I tried with and without the option creation of a second disk.