Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 260 Bytes
#test
namespace :puppet do
desc "Validate puppet manifests"
task :validate do
files = Dir.glob('modules/*/manifests/*.pp').select{ |f| !File.directory?(f) }
sh("puppet --parseonly #{files.join(' ')}")
end
end
task :default => 'puppet:validate'