You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Puppet fails to create the keys because it can't find the eyaml command. Is this due to using puppet apply?
What behaviour did you expect instead
Puppet would be able to use eyaml without extra steps, or anything extra would be documented in the README.
Output log
Notice: Compiled catalog for puppet-server.private in environment production in 0.19 seconds
Notice: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys]/ensure: created
Notice: /Stage[main]/Hiera::Deep_merge/Hiera::Install[deep_merge]/Package[puppetserver deep_merge]/ensure: created
Notice: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Dependency Exec[createkeys] has failures: true
Notice: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem]: Dependency Exec[createkeys] has failures: true
Notice: /Stage[main]/Hiera/File[/etc/puppetlabs/puppet/hiera.yaml]: Dependency Exec[createkeys] has failures: true
Notice: /Stage[main]/Hiera/File[/etc/hiera.yaml]: Dependency Exec[createkeys] has failures: true
Notice: /Stage[main]/Hiera/Ini_setting[puppet.conf hiera_config main section]: Dependency Exec[createkeys] has failures: true
Error: Could not find command 'eyaml'
Error: /Stage[main]/Hiera::Eyaml/Exec[createkeys]/returns: change from 'notrun' to ['0'] failed: Could not find command 'eyaml'
Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Skipping because of failed dependencies
Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem]: Skipping because of failed dependencies
Warning: /Stage[main]/Hiera/File[/etc/puppetlabs/puppet/hiera.yaml]: Skipping because of failed dependencies
Warning: /Stage[main]/Hiera/File[/etc/hiera.yaml]: Skipping because of failed dependencies
Warning: /Stage[main]/Hiera/Ini_setting[puppet.conf hiera_config main section]: Skipping because of failed dependencies
Notice: Applied catalog in 83.40 seconds
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered:
iainhallam
changed the title
Brand new install can't fine eyaml command
Brand new install can't find eyaml command
Apr 19, 2018
Looks like the problem is that /opt/puppetlabs/puppet/lib/ruby/vendor_gems/bin/ (where the gem ends up putting the eyaml binary) isn't in the PATH. I got around this locally by symlinking the eyaml binary into /opt/puppetlabs/puppet/bin/.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
(Having already installed Puppet and Foreman using theforeman-puppet and theforeman-foreman/theforeman-foreman_proxy.)
What are you seeing
Puppet fails to create the keys because it can't find the
eyaml
command. Is this due to usingpuppet apply
?What behaviour did you expect instead
Puppet would be able to use
eyaml
without extra steps, or anything extra would be documented in the README.Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: