Showing with 378 additions and 91 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 .pdkignore
  3. +0 −23 .project
  4. +8 −0 .rubocop.yml
  5. +47 −54 .sync.yml
  6. +1 −1 .travis.yml
  7. +27 −2 CHANGELOG.md
  8. +2 −0 CODEOWNERS
  9. +1 −0 Gemfile
  10. +258 −0 REFERENCE.md
  11. +14 −5 Rakefile
  12. +1 −0 appveyor.yml
  13. +7 −5 metadata.json
  14. +1 −0 spec/default_facts.yml
  15. +1 −0 spec/spec_helper.rb
  16. +2 −1 spec/spec_helper_acceptance.rb
  17. +6 −0 tasks/nix.sh
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
/convert_report.txt
/update_report.txt
.DS_Store
.project
.envrc
/inventory.yaml
1 change: 1 addition & 0 deletions .pdkignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
/convert_report.txt
/update_report.txt
.DS_Store
.project
.envrc
/inventory.yaml
/appveyor.yml
Expand Down
23 changes: 0 additions & 23 deletions .project

This file was deleted.

8 changes: 8 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ Bundler/DuplicatedGem:
Enabled: false
Bundler/OrderedGems:
Enabled: false
GetText/DecorateFunctionMessage:
Enabled: false
GetText/DecorateString:
Enabled: false
GetText/DecorateStringFormattingUsingInterpolation:
Enabled: false
GetText/DecorateStringFormattingUsingPercent:
Enabled: false
Layout/AccessModifierIndentation:
Enabled: false
Layout/AlignArray:
Expand Down
101 changes: 47 additions & 54 deletions .sync.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,53 @@
---
Gemfile:
required:
':development':
- gem: bolt
version: '~> 1.3'
condition: ENV['GEM_BOLT'] and ENV['PUPPET_GEM_VERSION'] != "~> 5.0"
':system_tests':
- gem: 'puppet-module-posix-system-r#{minor_version}'
platforms: ruby
- gem: 'puppet-module-win-system-r#{minor_version}'
platforms:
- mswin
- mingw
- x64_mingw
- gem: beaker-testmode_switcher
version: '~> 0.4'
- gem: master_manipulator
- gem: puppet-blacksmith
version: '~> 3.4'
- gem: beaker-task_helper
version: '~> 1.5'
condition: ENV['GEM_BOLT']
optional:
':development':
- gem: 'github_changelog_generator'
git: 'https://github.com/skywinder/github-changelog-generator'
ref: '20ee04ba1234e9e83eb2ffb5056e23d641c7a018'
condition: "Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')"

".gitlab-ci.yml":
delete: true
".rubocop.yml":
include_todos: true
selected_profile: false
".travis.yml":
global_env:
- GEM_BOLT=true
simplecov: true
appveyor.yml:
matrix_extras:
- PUPPET_GEM_VERSION: ~> 6.0
RUBY_VERSION: 25
CHECK: parallel_spec
- PUPPET_GEM_VERSION: ~> 6.0
RUBY_VERSION: 25-x64
CHECK: parallel_spec

.travis.yml:
global_env:
- GEM_BOLT=true

# For the moment don't do any rubocop checks.
.rubocop.yml:
include_todos: true
selected_profile: off

.gitlab-ci.yml:
delete: true

.gitignore:
- PUPPET_GEM_VERSION: "~> 6.0"
RUBY_VERSION: 25
CHECK: parallel_spec
- PUPPET_GEM_VERSION: "~> 6.0"
RUBY_VERSION: 25-x64
CHECK: parallel_spec
simplecov: true
Gemfile:
required:
- ---.project

spec/default_facts.yml:
unmanaged: true

":development":
- gem: bolt
version: "~> 1.3"
condition: ENV['GEM_BOLT'] and ENV['PUPPET_GEM_VERSION'] != "~> 5.0"
":system_tests":
- gem: puppet-module-posix-system-r#{minor_version}
platforms: ruby
- gem: puppet-module-win-system-r#{minor_version}
platforms:
- mswin
- mingw
- x64_mingw
- gem: beaker-testmode_switcher
version: "~> 0.4"
- gem: master_manipulator
- gem: puppet-blacksmith
version: "~> 3.4"
- gem: beaker-task_helper
version: "~> 1.5"
condition: ENV['GEM_BOLT']
optional:
":development":
- gem: github_changelog_generator
git: https://github.com/skywinder/github-changelog-generator
ref: 20ee04ba1234e9e83eb2ffb5056e23d641c7a018
condition: Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')
Rakefile:
changelog_user: puppetlabs
changelog_since_tag: 2.1.2
extras: |
# The beaker task requires the test fixtures created by the spec_prep task
beaker_task_exists = Rake::Task.task_defined?('beaker')
Expand All @@ -66,3 +57,5 @@ Rakefile:
spec_prep = Rake::Task['spec_prep']
beaker_task.enhance(beaker_task.prerequisite_tasks << spec_prep)
end
spec/spec_helper.rb:
coverage_report: true
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ before_install:
- gem --version
- bundle -v
script:
- 'bundle exec rake $CHECK'
- 'SIMPLECOV=yes bundle exec rake $CHECK'
bundler_args: --without system_tests
rvm:
- 2.5.3
Expand Down
29 changes: 27 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,30 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

## [v2.2.0](https://github.com/puppetlabs/puppetlabs-reboot/tree/v2.2.0) (2019-07-17)
## [v2.3.0](https://github.com/puppetlabs/puppetlabs-reboot/tree/v2.3.0) (2019-12-06)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-reboot/compare/2.1.2...v2.2.0)
[Full Changelog](https://github.com/puppetlabs/puppetlabs-reboot/compare/2.2.0...v2.3.0)

### Added

- \(FM-8700\) - Addition of Support for CentOs 8 [\#221](https://github.com/puppetlabs/puppetlabs-reboot/pull/221) ([david22swan](https://github.com/david22swan))
- pdksync - Add support on Debian10 [\#218](https://github.com/puppetlabs/puppetlabs-reboot/pull/218) ([lionce](https://github.com/lionce))
- Fix plan return value [\#209](https://github.com/puppetlabs/puppetlabs-reboot/pull/209) ([reidmv](https://github.com/reidmv))

### Fixed

- Fix reboot message for linux hosts [\#213](https://github.com/puppetlabs/puppetlabs-reboot/pull/213) ([nmaludy](https://github.com/nmaludy))

## [2.2.0](https://github.com/puppetlabs/puppetlabs-reboot/tree/2.2.0) (2019-07-24)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-reboot/compare/v2.2.0...2.2.0)

## [v2.2.0](https://github.com/puppetlabs/puppetlabs-reboot/tree/v2.2.0) (2019-07-24)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-reboot/compare/2.1.2...v2.2.0)

### Added

- \(FM-8051\) Add RedHat 8 support [\#207](https://github.com/puppetlabs/puppetlabs-reboot/pull/207) ([eimlav](https://github.com/eimlav))
- MODULES-8726: Ensure sbin is in the path [\#205](https://github.com/puppetlabs/puppetlabs-reboot/pull/205) ([xalimar](https://github.com/xalimar))
- \(MODULES-8148\) - Add SLES 15 support [\#191](https://github.com/puppetlabs/puppetlabs-reboot/pull/191) ([eimlav](https://github.com/eimlav))
Expand All @@ -19,6 +36,14 @@ All notable changes to this project will be documented in this file. The format
- \[MODULES-8718\] Check for root or sudo in the reboot task nix.sh script [\#203](https://github.com/puppetlabs/puppetlabs-reboot/pull/203) ([thilinapiy](https://github.com/thilinapiy))
- \(MODULES-8717\) Fix dependency issue on boltspec [\#202](https://github.com/puppetlabs/puppetlabs-reboot/pull/202) ([HelenCampbell](https://github.com/HelenCampbell))

# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]


## [2.1.2] - 2018-12-13
### Fixed
- Fix infinite reboot plan wait loop on Windows when reboot takes under a minute ([MODULES-8353](https://tickets.puppetlabs.com/browse/MODULES-8353))
Expand Down
2 changes: 2 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Setting ownership to the modules team
* @puppetlabs/modules
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ group :development do
gem "json", '= 1.8.1', require: false if Gem::Version.new(RUBY_VERSION.dup) == Gem::Version.new('2.1.9')
gem "json", '= 2.0.4', require: false if Gem::Requirement.create('~> 2.4.2').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "json", '= 2.1.0', require: false if Gem::Requirement.create(['>= 2.5.0', '< 2.7.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "rb-readline", '= 0.5.5', require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "puppet-module-posix-default-r#{minor_version}", '~> 0.3', require: false, platforms: [:ruby]
gem "puppet-module-posix-dev-r#{minor_version}", '~> 0.3', require: false, platforms: [:ruby]
gem "puppet-module-win-default-r#{minor_version}", '~> 0.3', require: false, platforms: [:mswin, :mingw, :x64_mingw]
Expand Down
Loading