vagrant-hpelinux 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: adcdc11db5ed3d70356e3f0403153aaad0bfdd0b
4
+ data.tar.gz: 0d75395c018db6f67feb1d5b1c439a59f9d00f9b
5
+ SHA512:
6
+ metadata.gz: 52708d659f6c0d1cd8a58b138232e60e3ddf48737b0b2d96020e810994d3122e0df21bd62991912667459f117f85821aa5d687526c53e56e286b6ddf99f7074e
7
+ data.tar.gz: b2ccc27442dcd6cabe2f24bc90ff72c99cdf45ac323df7f3a77e44baf4ac76964373ab49338963df923337291ccad4f8e05a753f67e85c398d2ecd18722a2fc7
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ source 'https://rubygems.org'
2
+
3
+ group :development do
4
+ # We depend on Vagrant for development, but we don't add it as a
5
+ # gem dependency because we expect to be installed within the
6
+ # Vagrant environment itself using `vagrant plugin`.
7
+ gem "vagrant", :git => "git://github.com/mitchellh/vagrant.git"
8
+ end
9
+
10
+ group :plugins do
11
+ gem "vagrant-hpelinux", path: "."
12
+ end
13
+
14
+ gem "rake", "~> 10.0"
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2016 Tim Potter <tpot@hpe.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1 @@
1
+ require "vagrant-hpelinux/plugin"
@@ -0,0 +1,14 @@
1
+ require "vagrant"
2
+
3
+ module VagrantPlugins
4
+ module HPELinuxGuest
5
+
6
+ class Guest < Vagrant.plugin("2", :guest)
7
+ def detect?(machine)
8
+ machine.communicate.test("cat /etc/issue | grep 'HPE Linux'")
9
+ end
10
+ end
11
+
12
+ end
13
+ end
14
+
@@ -0,0 +1,18 @@
1
+ require "vagrant"
2
+
3
+ module VagrantPlugins
4
+ module HPELinuxGuest
5
+
6
+ class Plugin < Vagrant.plugin("2")
7
+ name "HPE Linux guest"
8
+ description "HPE Linux guest support."
9
+
10
+ guest(:hpelinux, :debian) do
11
+ require_relative("guest")
12
+ Guest
13
+ end
14
+ end
15
+
16
+ end
17
+ end
18
+
@@ -0,0 +1,3 @@
1
+ module VagrantHPELinux
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,20 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/vagrant-hpelinux/version', __FILE__)
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = "vagrant-hpelinux"
6
+ s.version = VagrantHPELinux::VERSION
7
+ s.platform = Gem::Platform::RUBY
8
+ s.authors = ["Tim Potter"]
9
+ s.email = ["tpot@hpe.com"]
10
+ s.license = "MIT"
11
+ s.homepage = "https://github.hpe.com/timothy-potter/vagrant-hpelinux"
12
+ s.summary = %q{A Vagrant plugin to handle HPE Linux guests}
13
+ s.description = %q{A Vagrant plugin to handle HPE Linux guests}
14
+
15
+ s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|testdrive)/}) }
16
+ s.bindir = "exe"
17
+ s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+ s.require_paths = ["lib"]
19
+
20
+ end
metadata ADDED
@@ -0,0 +1,51 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vagrant-hpelinux
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Tim Potter
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-08-30 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A Vagrant plugin to handle HPE Linux guests
14
+ email:
15
+ - tpot@hpe.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - Gemfile
21
+ - LICENSE
22
+ - lib/vagrant-hpelinux.rb
23
+ - lib/vagrant-hpelinux/guest.rb
24
+ - lib/vagrant-hpelinux/plugin.rb
25
+ - lib/vagrant-hpelinux/version.rb
26
+ - vagrant-hpelinux.gemspec
27
+ homepage: https://github.hpe.com/timothy-potter/vagrant-hpelinux
28
+ licenses:
29
+ - MIT
30
+ metadata: {}
31
+ post_install_message:
32
+ rdoc_options: []
33
+ require_paths:
34
+ - lib
35
+ required_ruby_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ requirements: []
46
+ rubyforge_project:
47
+ rubygems_version: 2.0.14.1
48
+ signing_key:
49
+ specification_version: 4
50
+ summary: A Vagrant plugin to handle HPE Linux guests
51
+ test_files: []