Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Commit

Permalink
Added base module files
Browse files Browse the repository at this point in the history
  • Loading branch information
maniacmurphy committed Aug 24, 2016
1 parent 4171beb commit ef5d42e
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
source 'https://rubygems.org'

gem 'gyoku'
gem 'hashdiff'
gem 'nori'
gem 'rest-client'
gem 'rbvmomi'

group :development, :test do
gem 'rake'
gem 'rspec', "~> 2.11.0", :require => false
gem 'mocha', "~> 0.10.5", :require => false
gem 'puppetlabs_spec_helper', :require => false
gem 'rspec-puppet', :require => false
gem 'puppet-lint'
end

puppetversion = ENV.key?('PUPPET_VERSION') ? ENV['PUPPET_VERSION'] : ['>= 3.3']
gem 'puppet', puppetversion
gem 'facter', '>= 1.7.0'
13 changes: 13 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright (C) 2014-2016 VMware, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
17 changes: 17 additions & 0 deletions Modulefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name 'vmware-nsx'
source '[email protected]:vmware/vmware-nsx.git'
author 'VMware'
license 'Apache 2.0'
summary 'VMware NSX puppet module'
description 'VMware NSX resource management.'
project_page 'https://github.com/vmware/vmware-nsx'

moduledir = File.dirname(__FILE__)
ENV['GIT_DIR'] = moduledir + '/.git'

git_version = %x{git describe --dirty --tags}.chomp.split('-')[0]
unless $?.success? and git_version =~ /^\d+\.\d+\.\d+/
raise "Unable to determine version using git: #{$?} => #{git_version.inspect}"
end
version git_version

2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require 'puppetlabs_spec_helper/rake_tasks'

0 comments on commit ef5d42e

Please sign in to comment.