Showing with 430 additions and 144 deletions.
  1. +10 −5 .github/CONTRIBUTING.md
  2. +9 −6 .github/ISSUE_TEMPLATE.md
  3. +3 −0 .github/PULL_REQUEST_TEMPLATE.md
  4. +2 −1 .gitignore
  5. +1 −1 .msync.yml
  6. +11 −0 .rubocop.yml
  7. +10 −8 .travis.yml
  8. +13 −8 CHANGELOG.md
  9. +7 −3 Gemfile
  10. +71 −23 README.md
  11. +2 −11 Rakefile
  12. +1 −0 manifests/params.pp
  13. +2 −2 metadata.json
  14. +3 −0 spec/acceptance/nodesets/centos-511-x64.yml
  15. +0 −10 spec/acceptance/nodesets/centos-59-x64.yml
  16. +0 −12 spec/acceptance/nodesets/centos-64-x64-pe.yml
  17. +0 −10 spec/acceptance/nodesets/centos-65-x64.yml
  18. +3 −0 spec/acceptance/nodesets/centos-66-x64-pe.yml
  19. +3 −0 spec/acceptance/nodesets/centos-66-x64.yml
  20. +3 −0 spec/acceptance/nodesets/centos-72-x64.yml
  21. +3 −0 spec/acceptance/nodesets/debian-78-x64.yml
  22. +3 −0 spec/acceptance/nodesets/debian-82-x64.yml
  23. +19 −0 spec/acceptance/nodesets/docker/centos-5.yml
  24. +20 −0 spec/acceptance/nodesets/docker/centos-6.yml
  25. +18 −0 spec/acceptance/nodesets/docker/centos-7.yml
  26. +19 −0 spec/acceptance/nodesets/docker/debian-7.yml
  27. +20 −0 spec/acceptance/nodesets/docker/debian-8.yml
  28. +19 −0 spec/acceptance/nodesets/docker/ubuntu-12.04.yml
  29. +21 −0 spec/acceptance/nodesets/docker/ubuntu-14.04.yml
  30. +19 −0 spec/acceptance/nodesets/docker/ubuntu-16.04.yml
  31. +15 −0 spec/acceptance/nodesets/fedora-24-x64.yml
  32. +18 −0 spec/acceptance/nodesets/fedora-25-x64.yml
  33. +3 −0 spec/acceptance/nodesets/ubuntu-server-1204-x64.yml
  34. +0 −10 spec/acceptance/nodesets/ubuntu-server-12042-x64.yml
  35. +3 −0 spec/acceptance/nodesets/ubuntu-server-1404-x64.yml
  36. +15 −0 spec/acceptance/nodesets/ubuntu-server-1604-x64.yml
  37. +34 −32 spec/classes/unattended_upgrades_spec.rb
  38. +9 −1 spec/default_facts.yml
  39. +17 −0 spec/spec_helper.rb
  40. +1 −1 templates/options.erb
15 changes: 10 additions & 5 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -52,6 +53,11 @@ check various syntax and style things. You can run these locally with:
bundle exec rake lint
bundle exec rake validate

It will also run some [Rubocop](http://batsov.com/rubocop/) tests
against it. You can run those locally ahead of time with:

bundle exec rake rubocop

## Running the unit tests

The unit test suite covers most of the code, as mentioned above please
Expand All @@ -71,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
Expand All @@ -85,9 +90,9 @@ with:
bundle exec rake acceptance

This will run the tests on an Ubuntu 12.04 virtual machine. You can also
run the integration tests against Centos 6.5 with.
run the integration tests against Centos 6.6 with.

BEAKER_set=centos-64-x64 bundle exec rake acceptances
BEAKER_set=centos-66-x64 bundle exec rake acceptances

If you don't want to have to recreate the virtual machine every time you
can use `BEAKER_DESTROY=no` and `BEAKER_PROVISION=no`. On the first run you will
Expand Down
15 changes: 9 additions & 6 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
<!--
Thank you for contributing to this project!
- This project has a Contributor Code of Conduct: https://voxpupuli.org/coc/
- Please check that here is no existing issue or PR that addresses your problem.
- Please fill the following form to enable us to help you.
- Our vulnerabilities reporting process is at https://voxpupuli.org/security/
-->

### 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
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!--
Thank you for contributing to this project!
- This project has a Contributor Code of Conduct: https://voxpupuli.org/coc/
- Please check that here is no existing issue or PR that addresses your problem.
- Our vulnerabilities reporting process is at https://voxpupuli.org/security/
-->
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ coverage/
log/
.idea/
*.iml
.*.sw
.*.sw?
.yardoc/
2 changes: 1 addition & 1 deletion .msync.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
modulesync_config_version: '0.12.8'
modulesync_config_version: '0.16.7'
11 changes: 11 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ Style/AndOr:
Style/RedundantSelf:
Enabled: True

Metrics/BlockLength:
Enabled: False

# Method length is not necessarily an indicator of code quality
Metrics/MethodLength:
Enabled: False
Expand Down Expand Up @@ -507,3 +510,11 @@ RSpec/ExampleLength:

RSpec/NamedSubject:
Enabled: False

# disabled for now since they cause a lot of issues
# these issues aren't easy to fix
RSpec/RepeatedDescription:
Enabled: False

RSpec/NestedGroups:
Enabled: False
18 changes: 10 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,26 @@ 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
env: PUPPET_VERSION="~> 4.0" CHECK=test
allow_failures:
- rvm: 2.4.0-preview1
- rvm: 2.4.0
branches:
only:
- master
- /^v\d/
notifications:
email: false
deploy:
provider: puppetforge
deploy:
branch: ha-bug-puppet-forge
user: puppet
password:
secure: "PzzvPB326Yx0hheLbusZGYCGW4i1jOOMjwJMC/7QpbN4+gvMdmHpmQP3XeQ5tm+YYXqLPMyr1he1viTln8GPqLk1qpzF55H5mTakPxMjWZfRYvM+Q7lmtOEsBEXXSJk0ZYwMHXGVd8ouDrhaRzS2JqnhCAhLat0HeLcERWZx6Ok="
Expand Down
21 changes: 13 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 2017-01-12 - Release 2.2.0

This is the last release with Puppet 3 support!
- Fix several markdown issues
- Fix order of options to prevent swapping
- Add missing badges
- Add missing ToC
- Fix several rubocop issues
- Include the release pocket on Ubuntu Xenial and Yakkety.
- Bump min version_requirement for Puppet
- Modulesync with latest Vox Pupuli defaults

## 2016-10-05 - Release 2.1.0

Expand All @@ -11,7 +22,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Add support for Ubuntu 16.04 and 16.10
- Ubuntu: Issue EOL warning for unsupported release


## 2016-05-26 - Release 2.0.0

- Drop Ruby1.8 Support
Expand All @@ -22,15 +32,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Update default parameters for legacy_origin option
- Add options support


## 2016-01-11 - Release 1.1.1
### Changed

- CHANGELOG: Fixed comparison URL's for the releases
- CHANGELOG: Fixed changed header for 1.1.1
- Fix a facts lookup issue that caused us to break on Ubuntu


## 2016-01-08 - Release 1.1.0

### Added
Expand All @@ -48,26 +56,22 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- rubocop clean
- integrate in modulesync


## 2015-04-23 - Release 1.0.3

### Changed
- Tested on Puppet 4.
- Remove inclusion of `apt` class.


## 2015-04-22 - Release 1.0.2

### Changed
- Resolve some Travis related packaging issues.


## 2015-04-22 - Release 1.0.1

### Changed
- Resolve some Travis related packaging issues.


## 2015-04-22 - Release 1.0.0

### Added
Expand All @@ -76,7 +80,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- README with full documentation.
- Boilerplate such as Gemfile, Travis configuration, LICENSE and so on.

[unreleased]: https://github.com/voxpupuli/puppet-unattended_upgrades/compare/HEAD...2.1.0
[unreleased]: https://github.com/voxpupuli/puppet-unattended_upgrades/compare/HEAD...2.2.0
[2.2.0]: https://github.com/voxpupuli/puppet-unattended_upgrades/compare/2.2.0...2.1.0
[2.1.0]: https://github.com/voxpupuli/puppet-unattended_upgrades/compare/2.1.0...2.0.0
[2.0.0]: https://github.com/voxpupuli/puppet-unattended_upgrades/compare/2.0.0...1.1.1
[1.1.1]: https://github.com/voxpupuli/puppet-unattended_upgrades/compare/1.1.1...1.1.0
Expand Down
10 changes: 7 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end

group :test do
gem 'puppetlabs_spec_helper', '~> 1.2.2', :require => false
gem 'rspec-puppet', :require => false, :git => 'https://github.com/rodjek/rspec-puppet.git'
gem 'rspec-puppet', '~> 2.5', :require => false
gem 'rspec-puppet-facts', :require => false
gem 'rspec-puppet-utils', :require => false
gem 'puppet-lint-absolute_classname-check', :require => false
Expand All @@ -25,9 +25,12 @@ group :test do
gem 'metadata-json-lint', :require => false
gem 'puppet-blacksmith', :require => false
gem 'voxpupuli-release', :require => false, :git => 'https://github.com/voxpupuli/voxpupuli-release-gem.git'
gem 'puppet-strings', '0.4.0', :require => false
gem 'rubocop-rspec', '~> 1.6', :require => false if RUBY_VERSION >= '2.3.0'
gem 'puppet-strings', '~> 1.0.0', :require => false
gem 'rubocop-rspec', '~> 1.9.0', :require => false if RUBY_VERSION >= '2.3.0'
gem 'json_pure', '<= 2.0.1', :require => false if RUBY_VERSION < '2.0.0'
gem 'mocha', '>= 1.2.1', :require => false
gem 'coveralls', :require => false if RUBY_VERSION >= '2.0.0'
gem 'simplecov-console', :require => false if RUBY_VERSION >= '2.0.0'
end

group :development do
Expand All @@ -45,6 +48,7 @@ group :system_tests do
else
gem 'beaker-rspec', :require => false
end
gem 'serverspec', :require => false
gem 'beaker-puppet_install_helper', :require => false
end

Expand Down
Loading