set chef env on project creating in client
This commit is contained in:
parent
53ce4e266b
commit
dc08bcfa1f
@ -20,6 +20,7 @@ class DeployEnvEc2 < DeployEnv
|
||||
set_image(o)
|
||||
vpc_id = set_subnets(o)
|
||||
set_groups(o, vpc_id)
|
||||
set_chef_env(o)
|
||||
end
|
||||
end
|
||||
|
||||
@ -48,4 +49,10 @@ class DeployEnvEc2 < DeployEnv
|
||||
end
|
||||
end
|
||||
|
||||
def set_chef_env(d)
|
||||
set_parameter d, :chef_env do
|
||||
enter_parameter('Chef environment: ')
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user