Sha256: ef49594a3216c0b3b94bebe6085cffd0bd49812ca2663253ffa69fa52ffcc31d
Contents?: true
Size: 530 Bytes
Versions: 8
Compression:
Stored size: 530 Bytes
Contents
# Support for checking syntax of Puppetfile class Onceover module CodeQuality module Puppetfile def self.puppetfile status = true if File.exist?("Puppetfile") CodeQuality::Formatter.start_test("Puppetfile") output, ok = CodeQuality::Executor.run("r10k puppetfile check") status &= ok CodeQuality::Formatter.end_test(output, ok) else logger.warn("No Puppetfile found... continuing") end status end end end end
Version data entries
8 entries across 8 versions & 1 rubygems