Use single quotes where no variable interpolation is required.

This commit is contained in:
Garrett Honeycutt 2014-06-10 13:52:59 -04:00
parent 21be3b2da3
commit 8e50448b31
3 changed files with 3 additions and 3 deletions

View File

@ -11,6 +11,6 @@ rvm:
- 1.9.3
- 2.0.0
language: ruby
before_script: "gem install --no-ri --no-rdoc bundler"
before_script: 'gem install --no-ri --no-rdoc bundler'
script: 'bundle exec rake validate && bundle exec rake lint && SPEC_OPTS="--format documentation" bundle exec rake spec'
gemfile: Gemfile

View File

@ -1,4 +1,4 @@
source "https://rubygems.org"
source 'https://rubygems.org'
puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 3.3']
gem 'puppet', puppetversion

View File

@ -3,7 +3,7 @@ require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
desc "Run puppet in noop mode and check for syntax errors."
desc 'Run puppet in noop mode and check for syntax errors.'
task :validate do
Dir['manifests/**/*.pp'].each do |manifest|
sh "puppet parser validate --noop #{manifest}"