class Sambot::Tasks::Check

Public Instance Methods

run(directory, options) click to toggle source
# File lib/sambot/tasks/check.rb, line 11
def run(directory, options)
  # For each directory
    # If a wrapper cookbook
      # Check if a .config.yml file is present
      # Check if the .config.yml file correctly points to inspec/tests
      # Check if inspec tests controls inspec.yml and controls folder
      # Check if a build configuration is present in the correct location
    # If a role cookbook
      # Check if a .config.yml file is present
      # Check as-dependencies and esure config.yml imports the compliance profiles
      # Check if a build configuration is present in the correct location
end