Resource Type: foreman_location

Defined in:
lib/puppet/type/foreman_location.rb
Providers:
location

Overview

Adds a location to the Foreman database.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • admin_password

    The password the for the admin user that connects to Foreman’s REST API.

  • admin_user

    The admin user that connects to Foreman’s REST API.

  • host

    The host that the Foreman service is running on.

  • name (namevar)

    The name of the location to add.

  • provider

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

  • ssl_ca_file (defaults to: /etc/foreman/pki/cacerts/cacerts.pem)

    The CA file by which the the :host should be validated

  • ssl_client_cert (defaults to: /etc/foreman/pki/public/)

    The client PKI certificate that will be recognized by the :host

  • ssl_client_key (defaults to: /etc/foreman/pki/private/)

    The client PKI private key that will be recognized by the :host

  • ssl_version (defaults to: TLSv1_2)

    The SSL version that should be negotiated with the remote host

    You can get a list of valid versions by running the following on the client system:

    ruby -ropenssl -e 'puts OpenSSL::SSL::SSLContext::METHODS'