vagrant-registration 1.3.2 → 1.3.3
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 +4 -4
- data/README.adoc +6 -7
- data/lib/vagrant-registration/version.rb +1 -1
- data/plugins/guests/redhat/cap/subscription_manager.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ee8b2a17b88c5522eab39cbb431b498ae16fad453cfa16245f90a8951cd7190
|
|
4
|
+
data.tar.gz: 26f32e4322d3ef312bda7700fcd3a6056119aebc8414ce8a79f3ebb1f88b7dd9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 649c9c60d3db370b14be048ea35a3e49881cd1f1912e24f9563aa41256a082c296984f03f8dc4f2b1ce8313f4a987cd826fd3802cc7255d0e1adfd95ebb452b6
|
|
7
|
+
data.tar.gz: 97ef3fa04ba7310a4265ca3a2fb1a0cbf5556a8ca8e464060cf91a8d932735ae9802772e76043e241d1700a8ef02784c2c915ded39f9748ddcfce18b50464ce4
|
data/README.adoc
CHANGED
|
@@ -398,12 +398,11 @@ option to `false`:
|
|
|
398
398
|
|
|
399
399
|
== Development
|
|
400
400
|
|
|
401
|
-
The use of https://rvm.io[RVM] is recommended. Verified to work with
|
|
402
|
-
ruby 2.0.0p648.
|
|
401
|
+
The use of https://rvm.io[RVM] is recommended. Verified to work with ruby-2.2.10.
|
|
403
402
|
|
|
404
403
|
....
|
|
405
|
-
rvm install 2.
|
|
406
|
-
rvm use 2.
|
|
404
|
+
rvm install 2.2
|
|
405
|
+
rvm use 2.2
|
|
407
406
|
....
|
|
408
407
|
|
|
409
408
|
To install a development environment, clone the repo and prepare
|
|
@@ -475,10 +474,10 @@ To release a new version of vagrant-registration you will need to do the followi
|
|
|
475
474
|
* Follow [Semantic Versioning](http://semver.org/).
|
|
476
475
|
2. Then, create a matching GitHub Release (this will also create a tag):
|
|
477
476
|
* Preface the version number with a `v`.
|
|
478
|
-
* https://github.com/
|
|
477
|
+
* https://github.com/projectatomic/adb-vagrant-registration/releases
|
|
479
478
|
3. You will then need to build and push the new gem to RubyGems:
|
|
480
|
-
* `rake
|
|
481
|
-
* `gem push pkg/vagrant-registration-1.
|
|
479
|
+
* `rake build`
|
|
480
|
+
* `gem push pkg/vagrant-registration-1.3.2.gem`
|
|
482
481
|
4. Then, when John Doe runs the following, they will receive the updated vagrant-registration plugin:
|
|
483
482
|
* `vagrant plugin update`
|
|
484
483
|
* `vagrant plugin update vagrant-registration`
|
|
@@ -4,9 +4,9 @@ module VagrantPlugins
|
|
|
4
4
|
class SubscriptionManager
|
|
5
5
|
# Test that the machine is already registered
|
|
6
6
|
def self.subscription_manager_registered?(machine)
|
|
7
|
-
|
|
7
|
+
true if machine.communicate.sudo("/usr/sbin/subscription-manager list --consumed --pool-only | grep -E '^[a-f0-9]{32}$'")
|
|
8
8
|
rescue
|
|
9
|
-
|
|
9
|
+
false
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
# Test that we have subscription-manager installed
|
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.3.
|
|
4
|
+
version: 1.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Langdon White
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2020-03-20 00:00:00.000000000 Z
|
|
14
14
|
dependencies: []
|
|
15
15
|
description: Enables guests to be registered automatically which is especially useful
|
|
16
16
|
for RHEL or SLES guests.
|
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: 1.3.6
|
|
62
62
|
requirements: []
|
|
63
|
-
rubygems_version: 3.0.
|
|
63
|
+
rubygems_version: 3.0.6
|
|
64
64
|
signing_key:
|
|
65
65
|
specification_version: 4
|
|
66
66
|
summary: Automatic guest registration for Vagrant
|