From: Trevor Bramwell Date: Thu, 14 Dec 2017 00:00:41 +0000 (-0800) Subject: Update eyaml README X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=b7316b60e93ad4bd9291f36965adbef4a0581eeb;p=pharos.git Update eyaml README On CentOS7 systems the gem command is contained in the 'rubygems' package, not 'ruby-gems'. After the keys have been moved, there is not reason to keep around the 'keys' directory. Change-Id: I5cb9f474276de75b650ddf323a279e139fb62d37 Signed-off-by: Trevor Bramwell (cherry picked from commit cef924d0f6a1a8df8ad4d61b425e2a0b29e25027) --- diff --git a/config/utils/README.eyaml.rst b/config/utils/README.eyaml.rst index 083d5192..386a21bb 100644 --- a/config/utils/README.eyaml.rst +++ b/config/utils/README.eyaml.rst @@ -12,7 +12,7 @@ Prerequisites .. code-block:: bash - $ sudo yum install ruby-gems || sudo apt-get install ruby + $ sudo yum install rubygems || sudo apt-get install ruby $ sudo gem install hiera-eyaml $ eyaml createkeys @@ -22,6 +22,7 @@ Prerequisites $ sudo mkdir -p /etc/eyaml_keys/ $ sudo mv ./keys/* /etc/eyaml_keys/ + $ sudo rmdir ./keys #. Set up eyaml config.yaml