modules/mu/clouds/google/server_pool.rb in cloud-mu-3.0.1 vs modules/mu/clouds/google/server_pool.rb in cloud-mu-3.0.2
- old
+ new
@@ -378,9 +378,12 @@
"cloud" => "Google",
"project" => pool["project"],
"credentials" => pool["credentials"],
"type" => "service"
}
+ if user["name"].length < 6
+ user["name"] += Password.pronounceable(6)
+ end
configurator.insertKitten(user, "users", true)
pool['dependencies'] ||= []
pool['service_account'] = MU::Config::Ref.get(
type: "users",
cloud: "Google",