lib/chef/knife/profitbricks_lan_create.rb in knife-profitbricks-1.0.0 vs lib/chef/knife/profitbricks_lan_create.rb in knife-profitbricks-1.1.1
- old
+ new
@@ -9,10 +9,11 @@
option :datacenter_id,
short: '-D DATACENTER_UUID',
long: '--datacenter-id DATACENTER_UUID',
description: 'Name of the data center',
- proc: proc { |datacenter_id| Chef::Config[:knife][:datacenter_id] = datacenter_id }
+ proc: proc { |datacenter_id| Chef::Config[:knife][:datacenter_id] = datacenter_id },
+ required: true
option :name,
short: '-n NAME',
long: '--name NAME',
description: 'Name of the server'