Sha256: 5128a0ef122937bb62760775ce3781e6f2c0739aa18248e71c3d76bfd766f05b
Contents?: true
Size: 649 Bytes
Versions: 1
Compression:
Stored size: 649 Bytes
Contents
<%# name: Run OpenSCAP scans job_category: OpenSCAP description_format: Run scan for all OpenSCAP policies on host feature: foreman_openscap_run_scans provider_type: SSH snippet: false template_inputs: - name: policies required: false input_type: puppet_parameter puppet_class_name: foreman_scap_client puppet_parameter_name: policies advanced: false provider_type: SSH kind: job_template %> <% raise "Create and assign a policy to this host before proceeding" unless input('policies').respond_to? :map %> <% input('policies').map { |policy_config| policy_config['id'] }.each do |id| -%> /usr/bin/foreman_scap_client <%= id %> <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_openscap-1.0.5 | app/views/job_templates/run_openscap_scans.erb |