From 63a31232cda06727a35350bd1e1318e6ae0a9111 Mon Sep 17 00:00:00 2001 From: Eimhin Laverty Date: Mon, 17 Dec 2018 11:29:26 +0000 Subject: [PATCH] pdksync_heads/master-0-gbf720df --- .gitattributes | 1 - .pdkignore | 13 +++++++++++++ .puppet-lint.rc | 1 - .travis.yml | 7 +++---- Rakefile | 1 + metadata.json | 6 +++--- spec/default_facts.yml | 1 - spec/spec_helper.rb | 4 ++-- 8 files changed, 22 insertions(+), 12 deletions(-) diff --git a/.gitattributes b/.gitattributes index 6a4f81a..9032a01 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,3 @@ -#This file is generated by ModuleSync, do not edit. *.rb eol=lf *.erb eol=lf *.pp eol=lf diff --git a/.pdkignore b/.pdkignore index 650022e..b713b3b 100644 --- a/.pdkignore +++ b/.pdkignore @@ -22,3 +22,16 @@ /convert_report.txt /update_report.txt .DS_Store +/appveyor.yml +/.fixtures.yml +/Gemfile +/.gitattributes +/.gitignore +/.gitlab-ci.yml +/.pdkignore +/Rakefile +/.rspec +/.rubocop.yml +/.travis.yml +/.yardopts +/spec/ diff --git a/.puppet-lint.rc b/.puppet-lint.rc index f4abb47..e69de29 100644 --- a/.puppet-lint.rc +++ b/.puppet-lint.rc @@ -1 +0,0 @@ ---no-single_quote_string_with_variables-check diff --git a/.travis.yml b/.travis.yml index f427aa5..aed69c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,4 @@ --- -sudo: false dist: trusty language: ruby cache: bundler @@ -13,7 +12,7 @@ script: - 'bundle exec rake $CHECK' bundler_args: --without system_tests rvm: - - 2.5.0 + - 2.5.1 env: global: - BEAKER_PUPPET_COLLECTION=puppet6 PUPPET_GEM_VERSION="~> 6.0" @@ -24,7 +23,7 @@ matrix: bundler_args: dist: trusty env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/debian-8 BEAKER_TESTMODE=apply - rvm: 2.5.0 + rvm: 2.5.1 script: bundle exec rake beaker services: docker sudo: required @@ -32,7 +31,7 @@ matrix: bundler_args: dist: trusty env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/ubuntu-14.04 BEAKER_TESTMODE=apply - rvm: 2.5.0 + rvm: 2.5.1 script: bundle exec rake beaker services: docker sudo: required diff --git a/Rakefile b/Rakefile index 112dc42..cf0d523 100644 --- a/Rakefile +++ b/Rakefile @@ -2,6 +2,7 @@ require 'puppetlabs_spec_helper/rake_tasks' require 'puppet-syntax/tasks/puppet-syntax' require 'puppet_blacksmith/rake_tasks' if Bundler.rubygems.find_name('puppet-blacksmith').any? require 'github_changelog_generator/task' if Bundler.rubygems.find_name('github_changelog_generator').any? +require 'puppet-strings/tasks' if Bundler.rubygems.find_name('puppet-strings').any? require 'puppet_pot_generator/rake_tasks' def changelog_user diff --git a/metadata.json b/metadata.json index 977bb29..dab3e4c 100644 --- a/metadata.json +++ b/metadata.json @@ -41,6 +41,6 @@ } ], "template-url": "https://github.com/puppetlabs/pdk-templates", - "template-ref": "heads/master-0-gabccfb1", - "pdk-version": "1.7.0" -} + "template-ref": "heads/master-0-gbf720df", + "pdk-version": "1.8.0" +} \ No newline at end of file diff --git a/spec/default_facts.yml b/spec/default_facts.yml index e10d991..ea1e480 100644 --- a/spec/default_facts.yml +++ b/spec/default_facts.yml @@ -2,7 +2,6 @@ # # Facts specified here will override the values provided by rspec-puppet-facts. --- -concat_basedir: "" ipaddress: "172.16.254.254" is_pe: false macaddress: "AA:AA:AA:AA:AA:AA" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a7281d5..35654b3 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -36,8 +36,8 @@ end def ensure_module_defined(module_name) module_name.split('::').reduce(Object) do |last_module, next_module| - last_module.const_set(next_module, Module.new) unless last_module.const_defined?(next_module) - last_module.const_get(next_module) + last_module.const_set(next_module, Module.new) unless last_module.const_defined?(next_module, false) + last_module.const_get(next_module, false) end end -- 2.32.3