vagrant-registration 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a7c34f5e89fbe90dfc0194f6f467d1ef13e11bf
4
- data.tar.gz: 4941f9c200a6a8f50fb14fa9c6910b5d3d51ef2e
3
+ metadata.gz: 4191a4626a0062ffe74a7e58f3a81ccedec71aed
4
+ data.tar.gz: 4f804fb385b4b3078f3d1533616a790ab227dc3a
5
5
  SHA512:
6
- metadata.gz: 7b322d3bf982b1e5a380f53d420be07ad83ea1e6d04ee575402daa27d204f95aa4449fdf2c26d147d9ac38810b987e0ff57a50c500865206fdae92a3bb1a3389
7
- data.tar.gz: e9a80d397296c0098a1b1916e7f9351527c1e2e6269404714c015bc89834b3aa55f26bcda6a2779b53d9870fd5a2e59eeeb01aa4d121b4f895316aa6c9721762
6
+ metadata.gz: 77ecff557286bb6180d7cb2d300b48e6907e6bb361e12d48d2235241c24d391a4c38378e9778a91107576238bbd1b7b310f990b9777332ddf5d91273e73f2754
7
+ data.tar.gz: 4a199eb7a7d81e568e96c51a44313a4f4d3c1b563c233760f28ffdc0e34d7d3a39f052cfda3df6c24a3e8dd98609ef9acd0ddc99a94dd89a162b748567737974
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.1
4
+
5
+ - Fix regression: Use sudo when asking on registration managers being present
6
+
3
7
  ## 1.2.0
4
8
 
5
9
  - Fix: `vagrant destroy` not triggering subscription deactivation and removal, issue #57
@@ -1,6 +1,6 @@
1
1
  module VagrantPlugins
2
2
  # Registration plugin to auto-register guests on `vagrant up`
3
3
  module Registration
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
  end
6
6
  end
@@ -11,8 +11,8 @@ module VagrantPlugins
11
11
 
12
12
  # Test that we have rhn installed
13
13
  def self.rhn_register(machine)
14
- machine.communicate.test('/usr/sbin/rhn_check --version') &&
15
- machine.communicate.test('/usr/sbin/rhnreg_ks --version')
14
+ machine.communicate.test('/usr/sbin/rhn_check --version', sudo: true) &&
15
+ machine.communicate.test('/usr/sbin/rhnreg_ks --version', sudo: true)
16
16
  end
17
17
 
18
18
  # Register the machine using 'rhnreg_ks' command, config is (Open)Struct
@@ -11,7 +11,7 @@ module VagrantPlugins
11
11
 
12
12
  # Test that we have subscription-manager installed
13
13
  def self.subscription_manager(machine)
14
- machine.communicate.test('/usr/sbin/subscription-manager')
14
+ machine.communicate.test('/usr/sbin/subscription-manager', sudo: true)
15
15
  end
16
16
 
17
17
  # Register the machine using 'register' option, config is (Open)Struct
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-registration
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Langdon White
@@ -10,20 +10,20 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-01-26 00:00:00.000000000 Z
13
+ date: 2016-01-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: yard
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - '>='
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - '>='
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  version: '0'
29
29
  description: Enables guests to be registered automatically which is especially useful
@@ -35,24 +35,24 @@ executables: []
35
35
  extensions: []
36
36
  extra_rdoc_files: []
37
37
  files:
38
+ - CHANGELOG.md
39
+ - Gemfile
40
+ - LICENSE.md
41
+ - README.md
42
+ - Rakefile
38
43
  - lib/vagrant-registration.rb
44
+ - lib/vagrant-registration/action.rb
39
45
  - lib/vagrant-registration/action/register.rb
40
46
  - lib/vagrant-registration/action/unregister_on_destroy.rb
41
47
  - lib/vagrant-registration/action/unregister_on_halt.rb
42
- - lib/vagrant-registration/version.rb
43
- - lib/vagrant-registration/action.rb
44
48
  - lib/vagrant-registration/config.rb
45
49
  - lib/vagrant-registration/plugin.rb
50
+ - lib/vagrant-registration/version.rb
46
51
  - plugins/guests/redhat/cap/registration.rb
47
52
  - plugins/guests/redhat/cap/rhn_register.rb
48
53
  - plugins/guests/redhat/cap/subscription_manager.rb
49
54
  - plugins/guests/redhat/plugin.rb
50
55
  - resources/rhn_unregister.py
51
- - Rakefile
52
- - Gemfile
53
- - README.md
54
- - CHANGELOG.md
55
- - LICENSE.md
56
56
  - vagrant-registration.gemspec
57
57
  homepage: https://github.com/projectatomic/adb-vagrant-registration
58
58
  licenses:
@@ -64,18 +64,19 @@ require_paths:
64
64
  - lib
65
65
  required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - '>='
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: 1.3.6
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 2.0.14
77
+ rubygems_version: 2.4.8
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: Automatic guest registration for Vagrant
81
81
  test_files: []
82
+ has_rdoc: