Update eyaml README 69/48869/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 14 Dec 2017 00:00:41 +0000 (16:00 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 14 Dec 2017 00:00:41 +0000 (16:00 -0800)
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>
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