I tried to make a VPS node a self-hosted puppetmaster to test a Puppet module I'm writing. After applying role::puppet::self, provisioning failed:
root@xt-pp2:/home/maxsem# puppet agent -tv Warning: Certificate 'Puppet CA: virt1000.wikimedia.org' will expire on 2017-08-15T20:55:45UTC Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Info: Caching catalog for xt-pp2.xtools.eqiad.wmflabs Info: Applying configuration version '1501200654' Notice: /Stage[main]/Packages::Python_mysqldb/Package[python-mysqldb]/ensure: ensure changed 'purged' to 'present' Notice: /Stage[main]/Packages::Python3_ldap3/Package[python3-ldap3]/ensure: ensure changed 'purged' to 'present' Notice: /Stage[main]/Puppetmaster::Gitclone/File[/etc/puppet/templates]/ensure: created Notice: /Stage[main]/Puppetmaster::Ssl/File[/var/lib/puppet/server]/ensure: created Notice: /Stage[main]/Puppetmaster::Passenger/Package[puppetmaster-passenger]/ensure: ensure changed 'purged' to 'present' Notice: /Stage[main]/Puppetmaster::Gitclone/File[/etc/puppet/environments]/ensure: created Info: /Stage[main]/Puppetmaster::Gitclone/File[/etc/puppet/manifests]: Recursively backing up to filebucket Notice: /Stage[main]/Puppetmaster::Gitclone/File[/etc/puppet/manifests]/ensure: ensure changed 'directory' to 'link' Notice: /Stage[main]/Geoip::Data::Maxmind/File[/etc/GeoIP.conf]/ensure: defined content as '{md5}79383c104d2f2ee599fa100f23d8d030' Info: /Stage[main]/Geoip::Data::Maxmind/File[/etc/GeoIP.conf]: Scheduling refresh of Exec[geoipupdate] Notice: /Stage[main]/Packages::Links/Package[links]/ensure: ensure changed 'purged' to 'present' Notice: /Stage[main]/Puppetmaster::Scripts/File[/usr/local/bin/puppet-merge]/ensure: created Notice: /Stage[main]/Puppetmaster::Base_repo/File[/var/lib/git/operations]/ensure: created Notice: /Stage[main]/Puppetmaster::Gitclone/File[/var/lib/puppet/volatile]/ensure: created Notice: /Stage[main]/Puppetmaster::Gitclone/File[/var/lib/puppet/volatile/misc]/ensure: created Notice: /Stage[main]/Packages::Python3_yaml/Package[python3-yaml]/ensure: ensure changed 'purged' to 'present' Notice: /Stage[main]/Puppetmaster::Scripts/File[/usr/local/bin/puppet-facts-export]/ensure: defined content as '{md5}8ca1c6250839ed20d56b6b3fedd99b3d' Notice: /Stage[main]/Puppetmaster::Gitpuppet/User[gitpuppet]/ensure: created Notice: /Stage[main]/Puppetmaster::Gitclone/File[/var/lib/git/labs]/ensure: created Notice: /Stage[main]/Puppetmaster::Gitclone/Git::Clone[labs/private]/File[/var/lib/git/labs/private]/ensure: created Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install geoipupdate' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package geoipupdate Error: /Stage[main]/Geoip::Data::Maxmind/Package[geoipupdate]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install geoipupdate' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package geoipupdate [ . . . ] Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install puppetdb-terminus' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package puppetdb-terminus Error: /Stage[main]/Packages::Puppetdb_terminus/Package[puppetdb-terminus]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install puppetdb-terminus' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package puppetdb-terminus [ . . . ]