To set up eyaml with Puppet Server, install the hiera-eyaml gem with the following command:
$ sudo /opt/puppetlabs/bin/puppetserver gem install hiera-eyaml
You'll also need to install the Ruby gem a second time with the following command:
$ sudo /opt/puppetlabs/puppet/bin/gem install hiera-eyaml