vagrant-registration 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-registration/version.rb +1 -1
- data/plugins/guests/fedora/guest.rb +1 -1
- data/test +1 -0
- metadata +3 -44
- data/vagrant-registration.spec +0 -90
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa760505439d0d6af37fe32571da569e85310ce2
|
4
|
+
data.tar.gz: f801c7044b6aa979c8301b004eb1b691fc636dde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8e77f4041f6fe2a130c89cdcf5a9c2be4d2771069700bdf659848b9758c7d5efa376aedcbde99f3cdef2dbc25b5af826926463aafc32bbbb9a8dbbd4cd9f823
|
7
|
+
data.tar.gz: e3d06c84435f876373f9877119431d95b9639419a224e2c6ba9ac07e6952c20917814d437d1c5998d7685669fbb475b0086e2ab24304b4170ff5dae6d004443c
|
@@ -4,7 +4,7 @@ module VagrantPlugins
|
|
4
4
|
module GuestFedora
|
5
5
|
class Guest < Vagrant.plugin("2", :guest)
|
6
6
|
def detect?(machine)
|
7
|
-
machine.communicate.test("grep 'Fedora release [
|
7
|
+
machine.communicate.test("grep 'Fedora release 1[6789]\\|Fedora release 2[0-9]' /etc/redhat-release")
|
8
8
|
end
|
9
9
|
end
|
10
10
|
end
|
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: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Langdon White
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-05-
|
12
|
+
date: 2015-05-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: yard
|
@@ -39,47 +39,6 @@ files:
|
|
39
39
|
- README.md
|
40
40
|
- Rakefile
|
41
41
|
- Vagrantfile
|
42
|
-
- doc/VagrantPlugins.html
|
43
|
-
- doc/VagrantPlugins/GuestFedora.html
|
44
|
-
- doc/VagrantPlugins/GuestFedora/Cap.html
|
45
|
-
- doc/VagrantPlugins/GuestFedora/Cap/ChangeHostName.html
|
46
|
-
- doc/VagrantPlugins/GuestFedora/Cap/ConfigureNetworks.html
|
47
|
-
- doc/VagrantPlugins/GuestFedora/Cap/Flavor.html
|
48
|
-
- doc/VagrantPlugins/GuestFedora/Cap/NFSClient.html
|
49
|
-
- doc/VagrantPlugins/GuestFedora/Cap/NetworkScriptsDir.html
|
50
|
-
- doc/VagrantPlugins/GuestFedora/Guest.html
|
51
|
-
- doc/VagrantPlugins/GuestFedora/Plugin.html
|
52
|
-
- doc/VagrantPlugins/GuestRedHat.html
|
53
|
-
- doc/VagrantPlugins/GuestRedHat/Cap.html
|
54
|
-
- doc/VagrantPlugins/GuestRedHat/Cap/RedHatCertification.html
|
55
|
-
- doc/VagrantPlugins/GuestRedHat/Cap/Register.html
|
56
|
-
- doc/VagrantPlugins/GuestRedHat/Cap/SubscriptionManager.html
|
57
|
-
- doc/VagrantPlugins/GuestRedHat/Cap/Unregister.html
|
58
|
-
- doc/VagrantPlugins/GuestRedHat/Plugin.html
|
59
|
-
- doc/VagrantPlugins/Registration.html
|
60
|
-
- doc/VagrantPlugins/Registration/Action.html
|
61
|
-
- doc/VagrantPlugins/Registration/Action/Register.html
|
62
|
-
- doc/VagrantPlugins/Registration/Action/Unregister.html
|
63
|
-
- doc/VagrantPlugins/Registration/Config.html
|
64
|
-
- doc/VagrantPlugins/Registration/Errors.html
|
65
|
-
- doc/VagrantPlugins/Registration/Errors/RegisterError.html
|
66
|
-
- doc/VagrantPlugins/Registration/Errors/UnregisterError.html
|
67
|
-
- doc/VagrantPlugins/Registration/Errors/VagrantRHELError.html
|
68
|
-
- doc/VagrantPlugins/Registration/Plugin.html
|
69
|
-
- doc/_index.html
|
70
|
-
- doc/class_list.html
|
71
|
-
- doc/css/common.css
|
72
|
-
- doc/css/full_list.css
|
73
|
-
- doc/css/style.css
|
74
|
-
- doc/file.README.html
|
75
|
-
- doc/file_list.html
|
76
|
-
- doc/frames.html
|
77
|
-
- doc/index.html
|
78
|
-
- doc/js/app.js
|
79
|
-
- doc/js/full_list.js
|
80
|
-
- doc/js/jquery.js
|
81
|
-
- doc/method_list.html
|
82
|
-
- doc/top-level-namespace.html
|
83
42
|
- dummy.box
|
84
43
|
- lib/vagrant-registration.rb
|
85
44
|
- lib/vagrant-registration/action.rb
|
@@ -99,12 +58,12 @@ files:
|
|
99
58
|
- plugins/guests/redhat/cap/registration.rb
|
100
59
|
- plugins/guests/redhat/cap/subscription_manager.rb
|
101
60
|
- plugins/guests/redhat/plugin.rb
|
61
|
+
- test
|
102
62
|
- tests/helpers.sh
|
103
63
|
- tests/run.sh
|
104
64
|
- tests/vagrantfiles/Vagrantfile.rhel_multi_machine
|
105
65
|
- tests/vagrantfiles/Vagrantfile.rhel_wrong_credentials
|
106
66
|
- vagrant-registration.gemspec
|
107
|
-
- vagrant-registration.spec
|
108
67
|
homepage:
|
109
68
|
licenses:
|
110
69
|
- GPL-2.0
|
data/vagrant-registration.spec
DELETED
@@ -1,90 +0,0 @@
|
|
1
|
-
# Generated from vagrant-registration-0.0.11.gem by gem2rpm -*- rpm-spec -*-
|
2
|
-
%global gem_name vagrant-registration
|
3
|
-
|
4
|
-
Name: rubygem-%{gem_name}
|
5
|
-
Version: 0.0.11
|
6
|
-
Release: 1%{?dist}
|
7
|
-
Summary: Enables guests to have a registration capability
|
8
|
-
Group: Development/Languages
|
9
|
-
License: GPL-2.0
|
10
|
-
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
11
|
-
BuildRequires: ruby(release)
|
12
|
-
BuildRequires: rubygems-devel >= 1.3.6
|
13
|
-
BuildRequires: ruby
|
14
|
-
# BuildRequires: rubygem(yard)
|
15
|
-
BuildArch: noarch
|
16
|
-
###$$$$$$$$$$$$$$$$$
|
17
|
-
Requires: ruby(rubygems) >= 1.3.6
|
18
|
-
|
19
|
-
BuildRequires: ruby
|
20
|
-
BuildRequires: rubygems-devel >= 1.3.6
|
21
|
-
# BuildRequires: rubygem(yard)
|
22
|
-
###$$$$$$$$$$$$$$$$$
|
23
|
-
|
24
|
-
%description
|
25
|
-
Enables guests to have a registration capability, this is expecially useful on
|
26
|
-
RHEL or SLES.
|
27
|
-
|
28
|
-
|
29
|
-
%package doc
|
30
|
-
Summary: Documentation for %{name}
|
31
|
-
Group: Documentation
|
32
|
-
Requires: %{name} = %{version}-%{release}
|
33
|
-
BuildArch: noarch
|
34
|
-
|
35
|
-
%description doc
|
36
|
-
Documentation for %{name}.
|
37
|
-
|
38
|
-
%prep
|
39
|
-
gem unpack %{SOURCE0}
|
40
|
-
|
41
|
-
%setup -q -D -T -n %{gem_name}-%{version}
|
42
|
-
|
43
|
-
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
44
|
-
|
45
|
-
%build
|
46
|
-
# Create the gem as gem install only works on a gem file
|
47
|
-
gem build %{gem_name}.gemspec
|
48
|
-
|
49
|
-
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
50
|
-
# by default, so that we can move it into the buildroot in %%install
|
51
|
-
%gem_install
|
52
|
-
|
53
|
-
%install
|
54
|
-
mkdir -p %{buildroot}%{gem_dir}
|
55
|
-
cp -a .%{gem_dir}/* \
|
56
|
-
%{buildroot}%{gem_dir}/
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
# Run the test suite
|
62
|
-
%check
|
63
|
-
pushd .%{gem_instdir}
|
64
|
-
|
65
|
-
popd
|
66
|
-
|
67
|
-
%files
|
68
|
-
%dir %{gem_instdir}
|
69
|
-
%exclude %{gem_instdir}/.gitignore
|
70
|
-
%license %{gem_instdir}/LICENSE.md
|
71
|
-
%{gem_instdir}/dummy.box
|
72
|
-
%{gem_libdir}
|
73
|
-
%{gem_instdir}/plugins
|
74
|
-
%exclude %{gem_cache}
|
75
|
-
%{gem_spec}
|
76
|
-
|
77
|
-
%files doc
|
78
|
-
%doc %{gem_docdir}
|
79
|
-
%doc %{gem_instdir}/CHANGELOG.md
|
80
|
-
%{gem_instdir}/Gemfile
|
81
|
-
%doc %{gem_instdir}/README.md
|
82
|
-
%{gem_instdir}/Rakefile
|
83
|
-
%{gem_instdir}/Vagrantfile
|
84
|
-
%doc %{gem_instdir}/doc
|
85
|
-
%{gem_instdir}/tests
|
86
|
-
%{gem_instdir}/vagrant-registration.gemspec
|
87
|
-
|
88
|
-
%changelog
|
89
|
-
* Mon Apr 27 2015 Josef Stribny <jstribny@redhat.com> - 0.0.11-1
|
90
|
-
- Initial package
|