blob: 3694a38897de411db5f720513f4912f639f39649 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
module LeapCli
module Commands
desc 'Apply recipes to a node or set of nodes'
long_desc 'The node filter can be the name of a node, service, or tag.'
arg_name '<node filter>'
command :deploy do |c|
c.action do |global_options,options,args|
nodes = ConfigManager.filter(args)
say "Deploying to these nodes: #{nodes.keys.join(', ')}"
if agree "Continue? "
say "deploy not yet implemented"
else
say "OK. Bye."
end
end
end
end
end
|