From 114148c71019dbdc03731f9df509856696ab61cc Mon Sep 17 00:00:00 2001 From: Daniele Sluijters Date: Wed, 22 Apr 2015 16:40:30 +0200 Subject: Add CHANGELOG in http://keepachangelog.com format --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..478fe63 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Change Log +All notable changes to this project will be documented in this file. +This project adheres to [Semantic Versioning](http://semver.org/). + +## [Unreleased][unreleased] +### Added +- Full configuration of unattended-upgrades and all possible options for `APT::Periodic`. +- Test suite covering the current behaviour. +- README with full documentation. +- Boilerplate such as Gemfile, Travis configuration, LICENSE and so on. -- cgit v1.2.3 From fd169dc29490cf21f400603c8f0b812c771a7f27 Mon Sep 17 00:00:00 2001 From: Daniele Sluijters Date: Wed, 22 Apr 2015 16:40:52 +0200 Subject: Rakefile: Cleanup * Remove acceptance test runner * Remove blacksmith --- Rakefile | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Rakefile b/Rakefile index 1778d2a..2343b25 100644 --- a/Rakefile +++ b/Rakefile @@ -4,13 +4,6 @@ require 'puppet/vendor/semantic/lib/semantic' unless Puppet.version.to_f < 3.6 require 'puppet-lint/tasks/puppet-lint' require 'puppet-syntax/tasks/puppet-syntax' -# These gems aren't always present, for instance -# on Travis with --without development -begin - require 'puppet_blacksmith/rake_tasks' -rescue LoadError -end - Rake::Task[:lint].clear PuppetLint.configuration.relative = true @@ -33,11 +26,6 @@ exclude_paths = [ PuppetLint.configuration.ignore_paths = exclude_paths PuppetSyntax.exclude_paths = exclude_paths -desc "Run acceptance tests" -RSpec::Core::RakeTask.new(:acceptance) do |t| - t.pattern = 'spec/acceptance' -end - desc "Populate CONTRIBUTORS file" task :contributors do system("git log --format='%aN' | sort -u > CONTRIBUTORS") -- cgit v1.2.3 From 0ea6ff40bfa5c142fed138a9cb6eb1fbb4aa6a2e Mon Sep 17 00:00:00 2001 From: Daniele Sluijters Date: Wed, 22 Apr 2015 16:46:04 +0200 Subject: Gemfile: Remove unneeded groups * development group is not needed (don't use blacksmith) * systems_tests is not needed (no Beaker tests) --- Gemfile | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Gemfile b/Gemfile index a2f968e..cce9320 100644 --- a/Gemfile +++ b/Gemfile @@ -9,14 +9,3 @@ group :test do gem "metadata-json-lint" gem "rspec-puppet-facts" end - -group :development do - gem "travis" - gem "travis-lint" - gem "puppet-blacksmith" -end - -group :system_tests do - gem "beaker" - gem "beaker-rspec" -end -- cgit v1.2.3 From a15cfe993f126ba41f47b67e272b8c2894fd3e53 Mon Sep 17 00:00:00 2001 From: Daniele Sluijters Date: Wed, 22 Apr 2015 16:47:37 +0200 Subject: travis: Newlines and no need for bundler_args --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f34c2e3..f57f334 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,13 @@ --- language: ruby sudo: false + branches: only: - master -bundler_args: --without system_tests -script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" + +script: "bundle exec rake test SPEC_OPTS='--format documentation'" + matrix: fast_finish: true include: -- cgit v1.2.3 From 9a7123984dfd3c9ae95aa795963b74c4cde1ee14 Mon Sep 17 00:00:00 2001 From: Daniele Sluijters Date: Wed, 22 Apr 2015 16:47:57 +0200 Subject: travis: Add testing with future parser --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index f57f334..740091b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,8 @@ matrix: include: - rvm: 2.1.6 env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random" + - rvm: 2.1.6 + env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random" FUTURE_PARSER="yes" - rvm: 2.1.6 env: PUPPET_VERSION="~> 4.0" ORDERING="random" allow_failures: -- cgit v1.2.3