deploy_rubygem 0.60.37 → 0.60.39

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
  SHA256:
3
- metadata.gz: 7d7b7ddd45122fc2dd5f7344990aaa13a123e469146f2d1612be29196742e83b
4
- data.tar.gz: dde2749c7504646d51ba67978dbbe8bc4ea683698f775929fa67038403994f12
3
+ metadata.gz: e67727ff79c71317c60f72b756a65a87f732b4be7913bfd443dec0d5ec7bf5b0
4
+ data.tar.gz: 6f9feb8500f6b4d3db901c24b6514710113a1c526f0661dcc15b2d42dab89354
5
5
  SHA512:
6
- metadata.gz: c94be7a2c5ee004317e5b508c32cf80d62e9f5b7699a69d3b6c27c89a978751bdb2624018011405f92f6185d00b7c7b446464f1318d63cbe7b1f50cd6ed2c08d
7
- data.tar.gz: b09c8856baaedab3184c3ff95e6cb6a7a1d220d18c0310e9a18a1f9a3b029b05332f30e27b50d79a40fc3eaa2fdf12c56a9a683cb942dac3aec45c997bc127f9
6
+ metadata.gz: b5631a68599ccab674b873903374f3135309da8577955ca6fb513d8d2534e17c046f41e382b2cd2e4396d4fcdcb42c2f4b82e7dc0a002ecfd5212db71c94f0a2
7
+ data.tar.gz: e7e9862fc7eeb2b32ed980f32ec28f9da8115eaccf4d83f99adf925e3a57fb06ebe7216e6f11c8baf60ef9157599c504128768c86b90835a2e02f76979b50754
checksums.yaml.gz.sig CHANGED
Binary file
data/exe/deploy_rubygem CHANGED
@@ -2,11 +2,12 @@
2
2
 
3
3
  require 'deploy_rubygem'
4
4
 
5
+ abort DeployRubygem.deployer.no_option_txt if ARGV.empty?
5
6
  case ARGV[0]
6
7
  when 'install'
7
8
  DeployRubygem.deployer.install_chef_workstation
8
- when 'bootstrap_chef_workstation'
9
+ when 'bootstrap'
9
10
  DeployRubygem.deployer.bootstrap_chef_workstation(ARGV[0])
10
11
  else
11
- puts DeployRubygem.deployer.no_option_txt
12
+ puts DeployRubygem.deployer.unknown_option_txt(ARGV[0])
12
13
  end
@@ -35,6 +35,15 @@ module DeployRubygem
35
35
  compliance
36
36
  develop
37
37
  push
38
+ chef_install
39
+ end
40
+
41
+ def chef_install # :nodoc:
42
+ desc "@desc with #{__method__}"
43
+ task :install_chef_workstation do
44
+ extend DeployRubygem
45
+ install_chef_workstation
46
+ end
38
47
  end
39
48
 
40
49
  def test_framework # :nodoc:
@@ -64,7 +73,7 @@ module DeployRubygem
64
73
 
65
74
  def compliance # :nodoc:
66
75
  desc "@desc with #{__method__}"
67
- task :compliance do
76
+ task compliance: :install_chef_workstation do
68
77
  system('inspec exec compliance')
69
78
  end
70
79
  end
@@ -3,5 +3,5 @@
3
3
  # Set version for DeployRubygem
4
4
  module DeployRubygem
5
5
  # VERSION = new_deploy_rubygem.gvb_version.short_version
6
- VERSION = '0.60.37'
6
+ VERSION = '0.60.39'
7
7
  end
@@ -11,6 +11,10 @@ module DeployRubygem
11
11
  'Use "deploy_rubygem install" to install Chef dependencies'
12
12
  end
13
13
 
14
+ def unknown_option_txt(options)
15
+ "#{no_option_txt}\nUnknown options #{options}"
16
+ end
17
+
14
18
  def rubygem_test
15
19
  DeployRubygem.deployer
16
20
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy_rubygem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.37
4
+ version: 0.60.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Provencher
metadata.gz.sig CHANGED
Binary file