awful 0.0.69 → 0.0.70

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1594283e90bf8e9ac7db11428c92db3e50c6ca7a
4
- data.tar.gz: 18cfd76917e6886a2296b0b47375d2109cef86e0
3
+ metadata.gz: 023f1990584357d114dc7e70c8d2971c1ecd00ce
4
+ data.tar.gz: 6b7861723e772dbc5c36902c433fb7ba95d16d18
5
5
  SHA512:
6
- metadata.gz: d1b546aa9d187a0c1a70f15e61f85d9842934e28ba2b6bf660060f1c12900c67627e1fc941e0ee1ef59385d5b3a1ccdee411dc1569eb68738b7f5104dd208ef4
7
- data.tar.gz: d4671f9a5430f062d034cfd2190064801465265d2fd3e7bec714372483b2217ff1f29815133bb2a0939d2467a00e94295cdfc8063759774ff2b8a080aab0085e
6
+ metadata.gz: 9ebd3dd3cf71c1bdbb0c300f119953278fc27732749188fdbe0d9e37ba985eebfdb1a13436b0423b792fbe3f57eb90017e50c665f3374f46190c7dccdfb460ff
7
+ data.tar.gz: ddf52bcfe5a26b5fc6830d7631a20fc8310b0093ef1b3af6acf53613de636f9d2a3ccce09fda5e384f8ae9bfa141b765019eea8c62d0b96657aa8261ddcb2828
@@ -66,12 +66,18 @@ module Awful
66
66
  end
67
67
 
68
68
  desc 'shell_script INSTANCE_IDS', 'run shell script on instances'
69
- method_option :commands, aliases: '-c', type: :array, default: [], desc: 'Commands to run'
70
- method_option :comment, type: :string, default: nil, desc: 'Brief command description'
69
+ method_option :commands, aliases: '-c', type: :array, default: [], desc: 'Commands to run'
70
+ method_option :comment, type: :string, default: nil, desc: 'Brief command description'
71
+ method_option :timeout, aliases: '-t', type: :numeric, default: nil, desc: 'Timeout in seconds'
72
+ method_option :bucket, aliases: '-b', type: :string, default: nil, desc: 'S3 bucket to save output'
73
+ method_option :prefix, aliases: '-p', type: :string, default: nil, desc: 'Prefix for S3 output key'
71
74
  def shell_script(*instance_ids)
72
75
  ssm.send_command(
73
76
  instance_ids: instance_ids,
74
77
  comment: options[:comment],
78
+ timeout_seconds: options[:timeout],
79
+ output_s3_bucket_name: options[:bucket],
80
+ output_s3_key_prefix: options[:prefix],
75
81
  document_name: 'AWS-RunShellScript',
76
82
  parameters: {
77
83
  commands: options[:commands]
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = '0.0.69'
2
+ VERSION = '0.0.70'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.69
4
+ version: 0.0.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-23 00:00:00.000000000 Z
11
+ date: 2015-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler