Update eyaml README 97/49097/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 14 Dec 2017 00:00:41 +0000 (16:00 -0800)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 15 Dec 2017 18:10:26 +0000 (18:10 +0000)
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 <tbramwell@linuxfoundation.org>
(cherry picked from commit cef924d0f6a1a8df8ad4d61b425e2a0b29e25027)

config/utils/README.eyaml.rst

index 083d519..386a21b 100644 (file)
@@ -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