Skip to content

Commit

Permalink
Perform Modulesync (0.3.0)
Browse files Browse the repository at this point in the history
- Remove testing against Ruby 1.8.7
- Tidy up Markdown a little
  • Loading branch information
juniorsysadmin committed Mar 28, 2016
1 parent 56f1e0e commit 2f81c13
Show file tree
Hide file tree
Showing 16 changed files with 385 additions and 419 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ spec/fixtures/
.vagrant/
.bundle/
coverage/
*.iml
.idea/
log/
.idea/
*.iml
.*.sw
2 changes: 1 addition & 1 deletion .rspec
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--format documentation
--color
--color
66 changes: 66 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
AllCops:
Include:
- ./**/*.rb
Exclude:
- vendor/**/*
- pkg/**/*
- spec/fixtures/**/*

# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 328

# 'Complexity' is very relative
Metrics/PerceivedComplexity:
Enabled: false

# 'Complexity' is very relative
Metrics/CyclomaticComplexity:
Enabled: false

# 'Complexity' is very relative
Metrics/AbcSize:
Enabled: false

# Method length is not necessarily an indicator of code quality
Metrics/MethodLength:
Enabled: false

# Module length is not necessarily an indicator of code quality
Metrics/ModuleLength:
Enabled: false

# Class length is not necessarily an indicator of code quality
Metrics/ClassLength:
Enabled: false

# dealbreaker:
Style/TrailingCommaInArguments:
Enabled: false
Style/TrailingCommaInLiteral:
Enabled: false
Style/ClosingParenthesisIndentation:
Enabled: false

Lint/AmbiguousRegexpLiteral:
Enabled: true
Style/RegexpLiteral:
Enabled: true
Style/WordArray:
Enabled: true

# this catches the cases of using `module` for parser functions, types, or
# providers
Style/ClassAndModuleChildren:
Enabled: false

Style/Documentation:
Description: 'Document classes and non-namespace modules.'
Enabled: false

# More comfortable block layouts
Style/BlockDelimiters:
Enabled: False

Style/MultilineBlockLayout:
Enabled: False
16 changes: 11 additions & 5 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ spec/spec_helper_acceptance.rb:
dependencies:
- puppetlabs-stdlib
- puppetlabs-powershell
spec/acceptance/nodesets/centos-59-x64.yml:
spec/acceptance/nodesets/centos-511-x64.yml:
unmanaged: true
spec/acceptance/nodesets/centos-64-x64-pe.yml:
spec/acceptance/nodesets/centos-66-x64-pe.yml:
unmanaged: true
spec/acceptance/nodesets/centos-65-x64.yml:
spec/acceptance/nodesets/centos-66-x64.yml:
unmanaged: true
spec/acceptance/nodesets/ubuntu-server-10044-x64.yml:
spec/acceptance/nodesets/centos-72-x64.yml:
unmanaged: true
spec/acceptance/nodesets/ubuntu-server-12042-x64.yml:
spec/acceptance/nodesets/ubuntu-server-1204-x64.yml:
unmanaged: true
spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
unmanaged: true
spec/acceptance/nodesets/debian-78-x64.yml:
unmanaged: true
spec/acceptance/nodesets/debian-82-x64.yml:
unmanaged: true
.travis.yml:
secure: "hz3gZgI7pMtV6H4m2T1Y418bJ0puwSir2j7oWdkDjB0YjSMwHERvQbbxxfLa47Y/sN2RKo7f5fzMFudriqkw75zyUtnpe4UWITVmQ8DkOQc/G0xb2aCOdenV2CEWZ1fQloL2/n5dYlMgw22iXgb2ARCjhgLYUZG2A9XDKQaQSUk="
45 changes: 29 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,44 @@
notifications:
email: false
language: ruby
bundler_args: --without development system_tests
---
sudo: false
language: ruby
cache: bundler
bundler_args: --without system_tests
before_install: rm Gemfile.lock || true
script: bundle exec rake test
script:
- 'bundle exec rake $CHECK'
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 1.7.0"
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
- rvm: 2.1.0
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES=yes FUTURE_PARSER="yes"

env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" CHECK=test
- rvm: 2.1.8
env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" CHECK=test
- rvm: 1.9.3
env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" CHECK=test FUTURE_PARSER=yes
- rvm: 2.1.8
env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" CHECK=test FUTURE_PARSER=yes
- rvm: 2.1.8
env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=test
- rvm: 2.2.4
env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=test
- rvm: 2.2.4
env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=rubocop
- rvm: 2.3.0
env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=test
allow_failures:
- rvm: 2.3.0
env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=test
notifications:
email: false
deploy:
provider: puppetforge
user: puppet
password:
password:
secure: "hz3gZgI7pMtV6H4m2T1Y418bJ0puwSir2j7oWdkDjB0YjSMwHERvQbbxxfLa47Y/sN2RKo7f5fzMFudriqkw75zyUtnpe4UWITVmQ8DkOQc/G0xb2aCOdenV2CEWZ1fQloL2/n5dYlMgw22iXgb2ARCjhgLYUZG2A9XDKQaQSUk="
on:
tags: true
# all_branches is required to use tags
all_branches: true
# Only publish if our main Ruby target builds
rvm: 1.9.3
condition: "$FUTURE_PARSER = yes"
55 changes: 28 additions & 27 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,63 +1,64 @@
##2015-05-01 - Release 1.1.0
###Summary
## 2015-05-01 - Release 1.1.0
### Summary

A few small features in this release. First release under the new puppet-community namespace

####Features
#### Features

- added new timeout `parameter` for features that take longer than the default 300 seconds to complete.
- added support for kernelversion 10 for people deploying on Windows 10

##2014-10-13 - Release 1.0.0
###Summary
## 2014-10-13 - Release 1.0.0
### Summary

Finally bumping to 1.0.

####Features
#### Features

- adding `source` paramater
- updating documentation
- adding `source` paramater
- updating documentation

##2014-08-14 - Release 0.2.0
###Summary
## 2014-08-14 - Release 0.2.0
### Summary

Small release to bump stdlib dependency to be 4.0 minimum

##2014-04-14 - Release 0.1.2
###Summary
## 2014-04-14 - Release 0.1.2
### Summary

This release fixes some minor idempotency and platform specific bugs

####Bugfixes
#### Bugfixes

- fixing idempotency
- fixed installation on windows 2008
- fixing idempotency
- fixed installation on windows 2008

##2014-04-04 - Release 0.1.1
###Summary
## 2014-04-04 - Release 0.1.1
### Summary

This release adds support for windows 2012

##2014-04-04 - Release 0.1.0
###Summary
## 2014-04-04 - Release 0.1.0
### Summary

This release adding some new parameters to install sub features and management tools

####Features
#### Features

- added `includemanagementtools` and `includesubfeatures` parameters
- added `includemanagementtools` and `includesubfeatures` parameters

####Bugfixes
#### Bugfixes

- limit module usage for Windows 2008 R2 and newer versions of Windows
- limit module usage for Windows 2008 R2 and newer versions of Windows


##2014-03-30 - Release 0.0.3
###Summary
## 2014-03-30 - Release 0.0.3

### Summary

This release replaces all the hardcoded powershell with uses of the joshcopper/powershell provider

##2014-01-19 - Release 0.0.2
###Summary
## 2014-01-19 - Release 0.0.2
### Summary

Initial version.
Loading

0 comments on commit 2f81c13

Please sign in to comment.