Revision c3dc81a5
Added by Dominic Cleal about 8 years ago
app/models/compute_resources/foreman/model/gce.rb | ||
---|---|---|
before_create :setup_key_pair
|
||
validate :check_google_key_path
|
||
validates :key_path, :project, :email, :presence => true
|
||
attr_accessible :key_pair, :key_path, :project, :email
|
||
attr_accessible :key_pair, :key_path, :project, :email, :zone
|
||
|
||
delegate :flavors, :to => :client
|
||
|
Also available in: Unified diff
fixes #14170 - permit 'zone' parameter for GCE CR creation
(cherry picked from commit 7c9391e615812c629acef99405af2cafde5f4cfe)