Sha256: 55e2d50d299febe0950afb16b88082731d3dc44042d56313d49f092fe78981d9

Contents?: true

Size: 258 Bytes

Versions: 8

Compression:

Stored size: 258 Bytes

Contents

namespace :puppet do
  desc "Check syntax of puppet manifests"
  task :check_syntax do
    FileList['manifests/**/*.pp'].each do |manifest|
      sh "puppet --color=false --confdir=/tmp --vardir=/tmp --parseonly --ignoreimport #{manifest}"
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
albanpeignier-gepetto-0.0.5 tasks/puppet.rake
albanpeignier-gepetto-0.0.6 tasks/puppet.rake
albanpeignier-gepetto-0.0.7 tasks/puppet.rake
gepetto-0.0.12 tasks/puppet.rake
gepetto-0.0.11 tasks/puppet.rake
gepetto-0.0.10 tasks/puppet.rake
gepetto-0.0.9 tasks/puppet.rake
gepetto-0.0.8 tasks/puppet.rake