Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mr/falkor Puppet 4 version, transparent support for arrays and vagrant-based tests #12

Open
wants to merge 51 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
14347a1
Updates to allow for arrays to be used in defined type's parameters.
Jan 20, 2016
d3fa2d5
update content of 'Rakefile'
Oct 4, 2017
eaa3942
add '.ruby-version'
Oct 4, 2017
5be37b5
add '.ruby-gemset'
Oct 4, 2017
3a467fa
update layout for puppet module
Oct 4, 2017
33e9b7f
Merge remote-tracking branch 'merge/feature/array' into feature/array
Oct 4, 2017
c453035
update metadata
Oct 5, 2017
9746c20
lint
Oct 5, 2017
821ab18
bump to version '0.1.0'
Oct 5, 2017
d2ea644
Merge branch 'release/0.1.0' into production
Oct 5, 2017
efe0807
Merge tag 'v0.1.0'
Oct 5, 2017
0b125c1
correct module name
Oct 5, 2017
4e2e22e
bump to version '0.1.1'
Oct 5, 2017
b654a2f
Merge branch 'release/0.1.1' into production
Oct 5, 2017
da1634c
Merge tag 'v0.1.1'
Oct 5, 2017
f79564b
mispelling
Oct 5, 2017
055f130
dep on stdlib for empty() and is_a?()
Oct 5, 2017
25e7a1f
puppet string docs
Oct 5, 2017
ba6d4a3
support for string or array in ulimit::rule
Oct 5, 2017
4cf7459
vagrant-based infra for tests
Oct 5, 2017
5c1d2ed
ulimit::rule now suppports content and source
Oct 5, 2017
0e15d4a
lint
Oct 5, 2017
20e0407
bump to version '1.0.0'
Oct 5, 2017
afbdf1d
Merge branch 'release/1.0.0' into production
Oct 5, 2017
0b102e7
Merge tag 'v1.0.0'
Oct 5, 2017
52a6d4a
update readme
Oct 5, 2017
9efb600
metadata correction
Oct 5, 2017
efbb925
bump to version '1.0.1'
Oct 5, 2017
836d6e5
Merge branch 'release/1.0.1' into production
Oct 5, 2017
96b8f3b
Merge tag 'v1.0.1'
Oct 5, 2017
d340ff7
final tests on vagrant
Oct 5, 2017
1e94022
bump to version '1.0.2'
Oct 5, 2017
2c3127d
Merge branch 'release/1.0.2' into production
Oct 5, 2017
f5bc325
Merge tag 'v1.0.2'
Oct 5, 2017
20c3f2d
score improvement
Oct 5, 2017
9fc3b22
bump to version '1.0.3'
Oct 5, 2017
8dcdd7a
Merge branch 'release/1.0.3' into production
Oct 5, 2017
3d437b7
Merge tag 'v1.0.3'
Oct 5, 2017
054b036
LICENSE update
Oct 5, 2017
8372e51
correct issues links for the metadata
Oct 5, 2017
871f300
bump to version '1.0.4'
Oct 5, 2017
816ca70
Merge branch 'release/1.0.4' into production
Oct 5, 2017
2c33c55
Merge tag 'v1.0.4'
Oct 5, 2017
9521177
cosmetics
Oct 5, 2017
68193ee
bump to version '1.0.5'
Oct 5, 2017
7fcd2d6
Merge branch 'release/1.0.5' into production
Oct 5, 2017
446f626
Merge tag 'v1.0.5'
Oct 5, 2017
63343ce
support for any type of value for ulimit_value
Oct 5, 2017
b5e6843
bump to version '1.0.6'
Oct 5, 2017
46b9967
Merge branch 'release/1.0.6' into production
Oct 5, 2017
d7fb0cc
Merge tag 'v1.0.6'
Oct 5, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ruby-gemset
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
puppet-ulimit
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.1.10
32 changes: 16 additions & 16 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
source 'https://rubygems.org'

puppetversion = ENV.key?('PUPPET_VERSION') ? "~> #{ENV['PUPPET_VERSION']}" : ['>= 3.8.1']
gem 'puppet', puppetversion
gem 'falkorlib' #, :path => '~/git/github.com/Falkor/falkorlib'

if puppetversion =~ /^3/
## rspec-hiera-puppet is puppet 3 only
gem 'rspec-hiera-puppet', '>=1.0.0'
group :test do
gem "rake"
gem "puppet", ENV['PUPPET_GEM_VERSION'] || '~> 4.10.0'
gem 'puppet-strings'
gem 'puppetlabs_spec_helper'
gem 'metadata-json-lint'
gem "puppet-lint-absolute_classname-check"
gem "puppet-lint-leading_zero-check"
gem "puppet-lint-trailing_comma-check"
gem "puppet-lint-version_comparison-check"
gem "puppet-lint-classes_and_types_beginning_with_digits-check"
gem "puppet-lint-unquoted_string-check"
gem 'puppet-lint-resource_reference_syntax'
gem 'puppet-syntax'
end

facterversion = ENV.key?('FACTER_VERSION') ? "~> #{ENV['FACTER_VERSION']}" : ['>= 2.4.4']

gem 'facter', facterversion

gem 'rake'
gem 'rspec'
gem 'puppet-lint', '>=1.1.0'
gem 'rspec-puppet', :git => 'https://github.com/rodjek/rspec-puppet.git'
gem 'puppetlabs_spec_helper', '>=0.10.3'
gem 'puppet-syntax'

require 'falkorlib/tasks/puppet'
170 changes: 126 additions & 44 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,60 +1,142 @@
GIT
remote: https://github.com/rodjek/rspec-puppet.git
revision: ee85f33a47a671207f0c88713e1c82a55c096081
specs:
rspec-puppet (2.3.0)
rspec

GEM
remote: https://rubygems.org/
specs:
CFPropertyList (2.2.8)
diff-lcs (1.2.5)
facter (2.4.4)
CFPropertyList (~> 2.2.6)
hiera (2.0.0)
json_pure
json_pure (1.8.2)
activesupport (4.2.10)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
artii (2.1.2)
awesome_print (1.8.0)
configatron (3.2.0)
deep_merge (1.0.1)
diff-lcs (1.3)
diffy (3.2.0)
facter (2.4.6)
falkorlib (0.7.9)
activesupport (~> 4.0)
artii (>= 2.1)
awesome_print (~> 1.2)
configatron (~> 3.2)
deep_merge (~> 1.0.1)
diffy (>= 3.0)
facter (~> 2.4.1)
git_remote_branch (~> 0)
json (~> 1.8)
license-generator (~> 0)
logger (>= 1.2.8)
minigit (~> 0)
rake (~> 10.1, >= 10.1.0)
term-ansicolor (~> 1.3)
thor (>= 0.19)
thor-zsh_completion
fast_gettext (1.1.0)
gettext (3.2.4)
locale (>= 2.0.5)
text (>= 1.3.0)
gettext-setup (0.28)
fast_gettext (~> 1.1.0)
gettext (>= 3.0.2)
locale
git_remote_branch (0.3.8)
hiera (3.4.2)
i18n (0.8.6)
json (1.8.6)
json-schema (2.8.0)
addressable (>= 2.4)
json_pure (1.8.6)
license-generator (0.4.1)
thor
locale (2.1.2)
logger (1.2.8)
metaclass (0.0.4)
mocha (1.1.0)
metadata-json-lint (2.0.2)
json-schema (~> 2.8)
spdx-licenses (~> 1.0)
minigit (0.0.4)
minitest (5.10.3)
mocha (1.3.0)
metaclass (~> 0.0.1)
puppet (4.1.0)
public_suffix (3.0.0)
puppet (4.10.8)
facter (> 2.0, < 4)
hiera (>= 2.0, < 3)
json_pure
puppet-lint (1.1.0)
puppet-syntax (2.0.0)
gettext-setup (>= 0.10, < 1)
hiera (>= 2.0, < 4)
json_pure (~> 1.8)
locale (~> 2.1)
puppet-lint (2.3.3)
puppet-lint-absolute_classname-check (0.2.4)
puppet-lint (>= 1.0, < 3.0)
puppet-lint-classes_and_types_beginning_with_digits-check (0.1.2)
puppet-lint (>= 1.0, < 3.0)
puppet-lint-leading_zero-check (0.1.1)
puppet-lint (>= 1.0, < 3.0)
puppet-lint-resource_reference_syntax (1.0.10)
puppet-lint (>= 1.0, < 3.0)
puppet-lint-trailing_comma-check (0.3.2)
puppet-lint (>= 1.0, < 3.0)
puppet-lint-unquoted_string-check (0.3.0)
puppet-lint (>= 1.0, < 3.0)
puppet-lint-version_comparison-check (0.2.1)
puppet-lint (>= 1.0, < 3.0)
puppet-strings (1.1.0)
yard (~> 0.9.5)
puppet-syntax (2.4.1)
rake
puppetlabs_spec_helper (0.10.3)
mocha
puppet-lint
puppet-syntax
rake
rspec-puppet
rake (10.4.2)
rspec (3.2.0)
rspec-core (~> 3.2.0)
rspec-expectations (~> 3.2.0)
rspec-mocks (~> 3.2.0)
rspec-core (3.2.3)
rspec-support (~> 3.2.0)
rspec-expectations (3.2.1)
puppetlabs_spec_helper (2.3.2)
mocha (~> 1.0)
puppet-lint (~> 2.0)
puppet-syntax (~> 2.0)
rspec-puppet (~> 2.0)
rake (10.5.0)
rspec (3.6.0)
rspec-core (~> 3.6.0)
rspec-expectations (~> 3.6.0)
rspec-mocks (~> 3.6.0)
rspec-core (3.6.0)
rspec-support (~> 3.6.0)
rspec-expectations (3.6.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-mocks (3.2.1)
rspec-support (~> 3.6.0)
rspec-mocks (3.6.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-support (3.2.2)
rspec-support (~> 3.6.0)
rspec-puppet (2.6.9)
rspec
rspec-support (3.6.0)
spdx-licenses (1.1.0)
term-ansicolor (1.6.0)
tins (~> 1.0)
text (1.3.1)
thor (0.20.0)
thor-zsh_completion (0.1.4)
thor (~> 0)
thread_safe (0.3.6)
tins (1.15.0)
tzinfo (1.2.3)
thread_safe (~> 0.1)
yard (0.9.9)

PLATFORMS
ruby

DEPENDENCIES
facter (>= 2.4.4)
puppet (>= 3.8.1)
puppet-lint (>= 1.1.0)
falkorlib
metadata-json-lint
puppet (~> 4.10.0)
puppet-lint-absolute_classname-check
puppet-lint-classes_and_types_beginning_with_digits-check
puppet-lint-leading_zero-check
puppet-lint-resource_reference_syntax
puppet-lint-trailing_comma-check
puppet-lint-unquoted_string-check
puppet-lint-version_comparison-check
puppet-strings
puppet-syntax
puppetlabs_spec_helper (>= 0.10.3)
puppetlabs_spec_helper
rake
rspec
rspec-puppet!

BUNDLED WITH
1.15.4
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2012 Tom De Vylder
Copyright (C) 2012-2017 Tom De Vylder, Sebastien Varrette

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading