Showing with 18 additions and 12 deletions.
  1. +1 −2 .fixtures.yml
  2. +0 −2 .travis.yml
  3. +9 −3 CHANGELOG.md
  4. +1 −1 Gemfile
  5. +3 −1 README.md
  6. +0 −2 manifests/init.pp
  7. +1 −1 metadata.json
  8. +3 −0 spec/classes/unattended_upgrades_spec.rb
3 changes: 1 addition & 2 deletions .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ fixtures:
stdlib:
repo: "puppetlabs-stdlib"
ref: "4.6.0"
repositories:
apt:
repo: "https://github.com/puppetlabs/puppetlabs-apt.git"
repo: "puppetlabs-apt"
ref: "2.0.0"
symlinks:
unattended_upgrades: "#{source_dir}"
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ matrix:
env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random" FUTURE_PARSER="yes"
- rvm: 2.1
env: PUPPET_VERSION="~> 4.0" ORDERING="random"
allow_failures:
- env: PUPPET_VERSION="~> 4.0" ORDERING="random"
notifications:
email: false

Expand Down
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased][unreleased]


## [1.0.3] - 2015-04-23
## Changed
- Tested on Puppet 4.
- Remove inclusion of `apt` class.

## [1.0.2] - 2015-04-22
### Changed
- Resolve some Travis related packaging issues.
Expand All @@ -20,6 +25,7 @@ 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/puppet-community/puppet-unattended_upgrades/compare/1.0.1...HEAD
[1.0.2]: https://github.com/olivierlacan/keep-a-changelog/compare/1.0.2...1.0.1
[1.0.1]: https://github.com/olivierlacan/keep-a-changelog/compare/1.0.1...1.0.0
[unreleased]: https://github.com/puppet-community/puppet-unattended_upgrades/compare/1.0.3...HEAD
[1.0.3]: https://github.com/puppet-community/puppet-unattended_upgrades/compare/1.0.3...1.0.2
[1.0.2]: https://github.com/puppet-community/puppet-unattended_upgrades/compare/1.0.2...1.0.1
[1.0.1]: https://github.com/puppet-community/puppet-unattended_upgrades/compare/1.0.1...1.0.0
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group :test do
gem "rake"
gem "puppet", ENV['PUPPET_VERSION'] || '~> 3.7.0'
gem "rspec", '< 3.2.0'
gem "rspec-puppet", :git => 'https://github.com/rodjek/rspec-puppet.git'
gem "rspec-puppet", '~> 2.1'
gem "puppetlabs_spec_helper"
gem "metadata-json-lint"
gem "rspec-puppet-facts"
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ The unattended\_upgrades module automates the configuration of apt package updat

### Beginning with unattended\_upgrades

All you need to do is include the module `include unattended_upgrades`.
All you need to do is include the apt module, `include apt`, and this module, `include unattended_upgrades` for it to work.

This module relies on the [apt](https://forge.puppetlabs.com/puppetlabs/apt) module and will not work without it.

## Usage

Expand Down
2 changes: 0 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
$verbose = 0,
) inherits ::unattended_upgrades::params {

include ::apt

validate_bool(
$install_on_shutdown,
$legacy_origin,
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppet-unattended_upgrades",
"version": "1.0.2",
"version": "1.0.3",
"author": "Puppet Community",
"summary": "Provides an interface for managing Apt unattended_upgrades with Puppet",
"license": "Apache-2.0",
Expand Down
3 changes: 3 additions & 0 deletions spec/classes/unattended_upgrades_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
:lsbistcodename => 'wheezy',
:lsbrelease => '7.0.3',
} }
let(:pre_condition) {
'include ::apt'
}

context 'with defaults on Debian' do
it { should contain_package('unattended-upgrades') }
Expand Down