#!/usr/bin/env ruby #^syntax detection # This file was generated by SecGen # <%= @time %> # Based on <%= @scenario %> # These modules are for system: <%= @currently_processing_system.name %> forge "https://forgeapi.puppetlabs.com" # specific versions of modules mod 'puppetlabs-stdlib', :path => '<%= LOCAL_PUPPET_DIR %>/stdlib' # '4.25.1', stdlib enables parsejson() in manifests and other useful functions mod 'puppetlabs-apt', '7.4.0' # pin apt to 7.4.0 as current version is incompatible with our base boxes # from local copy, for faster build times ### mod 'translate', :path => '<%= LOCAL_PUPPET_DIR %>/translate' mod 'puppetlabs-vcsrepo', :path => '<%= LOCAL_PUPPET_DIR %>/vcsrepo' # secgen helpers mod 'SecGen-secgen_functions', :path => '<%= SECGEN_FUNCTIONS_PUPPET_DIR %>' <% @currently_processing_system.module_selections.each do |selected_module| -%> <% case selected_module.module_type when 'vulnerability', 'service', 'utility', 'build' -%> mod 'SecGen-<%= selected_module.module_path_name %>/<%= selected_module.module_path_end %>', :path => '<%="#{ROOT_DIR}/#{selected_module.module_path}"%>' <% end -%> <% end -%>