Skip to content

Latest commit

 

History

History
227 lines (127 loc) · 5.08 KB

REFERENCE.md

File metadata and controls

227 lines (127 loc) · 5.08 KB

Reference

Table of Contents

Classes

Classes

ccs_sal

Install stuff for CCS/SAL gateway.

Parameters

The following parameters are available in the ccs_sal class:

rpms

Data type: Hash[String,String,1]

Hash of packages and rpms to install. Eg: "ts_sal_utils" => "ts_sal_utils-4.0.0-1.x86_64.rpm"

ospl_home

Data type: String

String giving OSPL_HOME.

Default value: '/opt/OpenSpliceDDS/VX.Y.Z/example/example'

dds

Data type: Boolean

Boolean; if true install DDS support

Default value: true

dds_domain

Data type: String

String giving LSST_DDS_DOMAIN (eg base)

Default value: 'summit'

dds_interface

Data type: String

String giving name of SAL interface (eg somehost-dds)

Default value: 'localhost-dds'

dds_extra

Data type: String

String giving extra content for DDS setup file.

Default value: 'export LD_PRELOAD=${JAVA_HOME}/jre/lib/amd64/libjsig.so'

instrument

Data type: String

String giving instrument (eg comcam).

Default value: 'comcam'

java_home

Data type: String

String giving JAVA_HOME (only used by DDS).

Default value: '/usr/java/default'

kafka

Data type: Boolean

Boolean; if true install Kafka support kafka will be used.

Default value: false

kafka_broker_address

Data type: String

String giving broker address

Default value: 'sasquatch-tts-kafka-bootstrap.lsst.codes:9094'

kafka_registry_url

Data type: String

String giving registry URL

Default value: 'https://tucson-teststand.lsst.codes/schema-registry'

kafka_sasl_username

Data type: String

String giving SASL username

Default value: 'username'

kafka_sasl_password

Data type: String

String giving SASL password

Default value: 'password'

lfa

Data type: Hash

Hash of properties (id, secret, endpoint, bucket) for large file annex (lfa) configuration.

Default value: {}

prefix_service

Data type: Boolean

Boolean; if false do not prefix systemctl services with the instrument. Also applies to the .app files in /etc/ccs.

Default value: true

rpm_repo

Data type: String

String giving repo url for rpm download

Default value: 'https://repo-nexus.lsst.org/nexus/repository/ts_yum/releases'

rpm_requirements

Data type: Array[String]

Array of system rpm requirements to install

Default value: ['linuxptp']

rpms_private

Data type: Hash[String,String]

Optional hash of rpms to download from private repo.

Default value: {}

rpm_repo_private

Data type: Optional[String]

private repo name

Default value: undef

rpm_user

Data type: Optional[Variant[Sensitive[String[1]],String[1]]]

private repo username

Default value: undef

rpm_pass

Data type: Optional[Variant[Sensitive[String[1]],String[1]]]

private repo password

Default value: undef

ccs_sal::etc

Configure /etc for CCS/SAL

ccs_sal::rpms

Install rpms needed by CCS/SAL

ccs_sal::service

Manage systemd service files for CCS/SAL