Commit ac0d7448 authored by Felipe Salum's avatar Felipe Salum
Browse files

Mostly improving Travis integration/tests

parent f5726150
......@@ -4,6 +4,11 @@ Release notes for the fsalum-newrelic module.
------------------------------------------
#### 4.0.2 - 2014-10-25
Updated LICENSE, added metadata.json and travis puppet validation
* PR #20 - Fixed PHP deprecated notice (@blaind)
#### 4.0.1 - 2014-08-13
* Added warning for deprecated classes `newrelic::server` and `newrelic::php`
......
source :rubygems
source ENV['GEM_SOURCE'] || "https://rubygems.org"
puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7']
......
name 'fsalum-newrelic'
version '4.0.1'
version '4.0.2'
source 'git://github.com/fsalum/puppet-newrelic.git'
author 'Felipe Salum'
license 'Apache License, Version 2.0'
......
require 'rubygems'
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.send("disable_80chars")
PuppetLint.configuration.fail_on_warnings
PuppetLint.configuration.send('relative')
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
PuppetLint.configuration.send('disable_class_parameter_defaults')
PuppetLint.configuration.send('disable_documentation')
PuppetLint.configuration.send('disable_single_quote_string_with_variables')
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
task :default => :lint
desc "Validate manifests, templates, and ruby files in lib."
task :validate do
Dir['manifests/**/*.pp'].each do |manifest|
sh "puppet parser validate --noop #{manifest}"
end
Dir['lib/**/*.rb'].each do |lib_file|
sh "ruby -c #{lib_file}"
end
Dir['templates/**/*.erb'].each do |template|
sh "erb -P -x -T '-' #{template} | ruby -c"
end
end
{
"name": "fsalum-newrelic",
"version": "4.0.1",
"version": "4.0.2",
"source": "git://github.com/fsalum/puppet-newrelic.git",
"author": "Felipe Salum",
"license": "Apache License, Version 2.0",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment