lib/smart_machine/credentials.rb in smartmachine-1.0.1 vs lib/smart_machine/credentials.rb in smartmachine-1.1.0

- old
+ new

@@ -64,9 +64,18 @@ username: #{SecureRandom.hex(8)} password: #{SecureRandom.hex(16)} database_name: #{SecureRandom.hex(8)} redisone: password: #{SecureRandom.hex(16)} + nextcloudone: + admin_user: #{SecureRandom.hex(8)} + admin_password: #{SecureRandom.hex(16)} + mysql_user: #{SecureRandom.hex(8)} + mysql_password: #{SecureRandom.hex(16)} + mysql_database_name: #{SecureRandom.hex(8)} + terminalone: + username: #{SecureRandom.hex(8)} + password: #{SecureRandom.hex(16)} YAML end def read if File.exist? "config/credentials.yml.enc"