Resource Type: scap_source

Defined in:
modules/scap/lib/puppet/type/scap_source.rb
Providers:
default

Overview

Puppet type to set up scap repositories on the scap master

Properties

  • ensure (defaults to: present)

    If the repository must be set up or not

    Supported values:
    • present
    • absent
  • repository

    Repository name in the VCS. Defaults to the resource name

Parameters

  • base_path (defaults to: /srv/deployment)

    The base path for deploying the repositories

  • group (defaults to: wikidev)

    Group owner of the cloned repository. Defaults to 'wikidev'

  • name (namevar)

    Name of the scap source

  • origin (defaults to: gerrit)

    The VCS to fetch data from

    Supported values:
    • gerrit
    • phabricator
    • gitlab
  • owner (defaults to: trebuchet)

    Owner of the cloned repository. Defaults to 'trebuchet'

  • provider

    The specific backend to use for this `scap_source` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • scap_repository (defaults to: false)

    String or boolean.

    If you set this to a string, it will be assumed to be a repository name This scap repository will then be cloned into /srv/deployment/$title/scap. If this is set to true your scap_repository will be assumed to live at $title/scap in gerrit.

    You can use this keep your scap configs separate from your source repositories. Default: false.