eyaml command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
eyaml: command not found
or when using sudo you get the following error message
sudo: eyaml: command not found
Solutions to eyaml: command not found
How To Fix eyaml: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu eyaml is provided by hiera-eyaml package.
hiera-eyaml is:
A backend for Hiera that provides per-value encryption of sensitive data within yaml files to be used by Puppet.
Only the values are encrypted, allowing files to be swiftly reviewed without decryption.
The value of each key is encrypted individually, which means that “git diff” is meaningful.
Includes a command line tool for encrypting, decrypting, editing and rotating keys. This makes it almost as easy as using clear text files.
Basic asymmetric encryption (PKCS#7) is used by default. This does not require any native libraries to be compiled, and it allows users without the private key to encrypt values that the puppet master can decrypt
hiera-eyaml includes a pluggable encryption framework (e.g. GPG encryption (hiera-eyaml-gpg) can be used if you have the need for multiple keys and easier key rotation)
To fix this problem, we can install more using the command below.
sudo apt-get -y install hiera-eyaml
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install hiera-eyaml.
sudo apt -y install hiera-eyaml
Or if you have aptitude installed you can use the following command.
sudo aptitude install hiera-eyaml
Summary
In this tutorial we learn how to fix eyaml command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.