lib/sfn/config/inspect.rb in sfn-1.1.16 vs lib/sfn/config/inspect.rb in sfn-1.2.0
- old
+ new
@@ -6,31 +6,37 @@
class Inspect < Config
attribute(
:attribute, String,
:multiple => true,
- :description => 'Dot delimited attribute to view'
+ :description => 'Dot delimited attribute to view',
+ :short_flag => 'a'
)
attribute(
:nodes, [TrueClass, FalseClass],
- :description => 'Locate all instances and display addresses'
+ :description => 'Locate all instances and display addresses',
+ :short_flag => 'n'
)
attribute(
:instance_failure, [TrueClass, FalseClass],
:description => 'Display log file error from failed not if possible',
+ :short_flag => 'N'
)
attribute(
:failure_log_path, String,
:description => 'Path to remote log file for display on failure',
- :default => '/var/log/chef/client.log'
+ :default => '/var/log/chef/client.log',
+ :short_flag => 'f'
)
attribute(
:identity_file, String,
- :description => 'SSH identity file for authentication'
+ :description => 'SSH identity file for authentication',
+ :short_flag => 'D'
)
attribute(
:ssh_user, String,
- :description => 'SSH username for inspection connect'
+ :description => 'SSH username for inspection connect',
+ :short_flag => 's'
)
end
end
end