diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index e61f2650..5574191a 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -2,10 +2,11 @@ This module has grown over time based on a range of contributions from people using it. If you follow these contributing guidelines your patch will likely make it into a release a little quicker. - ## Contributing -Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. [Contributor Code of Conduct](https://voxpupuli.org/coc/). +Please note that this project is released with a Contributor Code of Conduct. +By participating in this project you agree to abide by its terms. +[Contributor Code of Conduct](https://voxpupuli.org/coc/). 1. Fork the repo. @@ -76,7 +77,6 @@ To run the linter, the syntax checker and the unit tests: bundle exec rake test - ## Integration tests The unit tests just check the code runs, not that it does exactly what diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 9ac4a2b0..593e7aa8 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,23 +1,26 @@ -### Affected Puppet, Ruby, OS and module versions/distributions +## Affected Puppet, Ruby, OS and module versions/distributions - Puppet: - Ruby: - Distribution: - Module version: -### How to reproduce (e.g Puppet code you use) +## How to reproduce (e.g Puppet code you use) -### What are you seeing +## What are you seeing -### What behaviour did you expect instead +## What behaviour did you expect instead -### Output log +## Output log -### Any additional information you'd like to impart +## Any additional information you'd like to impart diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 79272bf6..66f80444 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,5 +1,8 @@ diff --git a/.gitignore b/.gitignore index aa3993d3..82426da6 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,5 @@ coverage/ log/ .idea/ *.iml -.*.sw +.*.sw? .yardoc/ diff --git a/.msync.yml b/.msync.yml index e24f9086..f0107335 100644 --- a/.msync.yml +++ b/.msync.yml @@ -1 +1 @@ -modulesync_config_version: '0.15.0' +modulesync_config_version: '0.16.4' diff --git a/.travis.yml b/.travis.yml index 3f02a065..6e80237a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,24 +23,25 @@ matrix: env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" CHECK=test - rvm: 2.1.9 env: PUPPET_VERSION="~> 4.0" CHECK=test - - rvm: 2.2.5 + - rvm: 2.2.6 env: PUPPET_VERSION="~> 4.0" CHECK=test - - rvm: 2.3.1 + - rvm: 2.3.3 env: PUPPET_VERSION="~> 4.0" CHECK=build DEPLOY_TO_FORGE=yes - - rvm: 2.3.1 + - rvm: 2.3.3 env: PUPPET_VERSION="~> 4.0" CHECK=rubocop - - rvm: 2.3.1 + - rvm: 2.3.3 env: PUPPET_VERSION="~> 4.0" CHECK=test - - rvm: 2.4.0-preview1 + - rvm: 2.4.0-rc1 env: PUPPET_VERSION="~> 4.0" CHECK=test allow_failures: - - rvm: 2.4.0-preview1 + - rvm: 2.4.0-rc1 +branches: + only: + - master notifications: email: false deploy: provider: puppetforge - deploy: - branch: ha-bug-puppet-forge user: puppet password: secure: "" diff --git a/spec/default_facts.yml b/spec/default_facts.yml index a3f52bfd..4f365061 100644 --- a/spec/default_facts.yml +++ b/spec/default_facts.yml @@ -3,4 +3,3 @@ concat_basedir: "/tmp" ipaddress: "172.16.254.254" is_pe: false macaddress: "AA:AA:AA:AA:AA:AA" -selinux_config_mode: "disabled" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index cd45c0e8..32709c81 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,7 +2,7 @@ require 'rspec-puppet-facts' include RspecPuppetFacts -unless RUBY_VERSION =~ %r{^1.9} +if Dir.exist?(File.expand_path('../../lib', __FILE__)) && RUBY_VERSION !~ %r{^1.9} require 'coveralls' require 'simplecov' require 'simplecov-console' @@ -12,7 +12,10 @@ Coveralls::SimpleCov::Formatter ] SimpleCov.start do + track_files 'lib/**/*.rb' add_filter '/spec' + add_filter '/vendor' + add_filter '/.vendor' end end