I'm trying to figure out masterless environment with puppet. I'm using this link to install the newest version of Puppet on Ubuntu.
I'm using this repository https://github.com/szymonrychu/puppet-masterless and running the script: modules/os/files/puppet.sh.
It downloads current Puppet repository to the /opt/puppet
directory and then runs the code specified in it. (It sets cronjob pointing to the script, so it will run every hour)
After first run the hiera env is prepared (hiera.yaml) and deployed. From that point the code should start connect to hiera database, but it's not happening.
Most probably there is an issue in modules/os/files/hiera.yaml or in manifests/site.pp, but after several days of struggling I can't get it to work.