From 55ef0c58b39996fc25325f3f1baac5f9b6ddbcaf Mon Sep 17 00:00:00 2001 From: David Saenz Tagarro Date: Sun, 10 Jan 2016 23:32:15 +0100 Subject: [PATCH] Update requirements with data bags --- README.md | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6e08421..d2cb1c0 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,27 @@ Requirements - rvm_sl - phussionpassenger +#### Data bags + +Depends on data bag `users` and data bag item `deployer`. + +``` +# data_bags/users/deployer.json.sample + +{ + "id": "deployer", + "home": "/home/deployer", + "password": "abcdefghijklmnopqrstuvwxyz0123456789", + "shell": "/bin/bash" +} +``` + +Generate new password with: + +``` +openssl passwd -1 "theplaintextpassword" +``` + Attributes ---------- @@ -37,12 +58,6 @@ See `attributes/default.rb` for default values. * `node['rubystack']['deployer']['username']` - The deployer user name * `node['rubystack']['deployer']['password']` - The deployer user password -Generate new password with: - -``` -openssl passwd -1 "theplaintextpassword" -``` - #### rubystack::database See `attributes/database.rb` for default values.