ccs_software
: Installs and configures CCS software
ccs_software::config
: Install /etc/ccs files.ccs_software::desktop
: Add desktop menu entries for CCS apps.ccs_software::install
: Install ccs software.ccs_software::log
: Create /var/log/ccs and install logrotation.ccs_software::pre
: Install ccs software prerequisitesccs_software::service
: Manages ccs systemd service units
Installs and configures CCS software
The following parameters are available in the ccs_software
class:
installations
service_workdir
services
base_path
etc_path
log_path
user
group
adm_user
adm_group
influx_url
influx_name
influx_username
influx_password
kafka_files
kafka_auths
service_email
pkglist_repo_url
release_repo_url
release_repo_ref
env
hostname
desktop
git_force
global_properties
udp_properties
Data type: Hash[String, Hash]
Hash of hashes which describes one or more CCS "installations" to manage.
Options:
- name-of-installation
String
: The top level hash keys are the name of the installation. Eg.,foo
would create the installation/opt/lsst/ccs/<foo>
.
Supported keys in nested hashes:
- repo_path - Overrides the default path to package list repo clone for this installation.
- repo_url - Overrides the
pkglist_repo_url
param for this installation. - repo_ref - Overrides the
pkglist_repo_ref
param for this installation. - env - Overides the
env
param for this installation. - hostname - Overides the
hostname
param for this installation. - aliases - [Array] of "alias" links to create for the current installation.
Default value: {}
Data type: Optional[String]
CWD for services
Default value: undef
Data type: Hash[String, Array[Variant[String, Hash]]]
Hash of Arrays of services to create systemd service units for.
Options:
- name-of-alias
String
: [Array] of service names/service executables (links under /opt/lsst//bin/) Alternatively, array element can also be a hash of the form { name: "h2db", key: "value", ... } Allowed keys: cmd, user, group, workdir, env, enable. Values specify the associated service file values/state.
Default value: {}
Data type: Stdlib::Absolutepath
Base path for [all] CCS installations.
Default value: '/opt/lsst'
Data type: Stdlib::Absolutepath
Path to global CCS configuration files.
Default value: '/etc/ccs'
Data type: Stdlib::Absolutepath
Path to CCS log files.
Default value: '/var/log/ccs'
Data type: String
Name of the role user under which CCS services will be run and the owner of config files
Default value: 'ccs'
Data type: String
Name of the role group
Default value: 'ccs'
Data type: String
Name of the admin role user which owns many of the installed files
Default value: 'ccsadm'
Data type: String
Name of the admin role group
Default value: 'ccsadm'
Data type: String[1]
String giving URL of the influxDB server.
Default value: 'https://camera-influxdb.dev.lsst.org:443'
Data type: String[1]
String giving name of the influxDB instance.
Default value: 'grafana'
Data type: Sensitive[String[1]]
Sensitive string giving influxDB username.
Default value: Sensitive('user')
Data type: Sensitive[String[1]]
Sensitive string giving influxDB password.
Default value: Sensitive('pass')
Data type: Hash[String, Hash]
Optional hash of kafka properties files and associated values. Eg: data-int: bootstrap_url: "bootstrap_url" registry_url: "registry_url"
Default value: {}
Data type: Hash[String, Array[Variant[Sensitive[String],String]]]
Optional (but required for each key of kafka_files) hash of kafka files and the associated username and password. Eg: data-int: - "user" - "pass"
Default value: {}
Data type: String
String giving email address (or comma separated addresses) to receive change of service status emails from systemd.
Default value: 'root@localhost'
Data type: Stdlib::HTTPUrl
URL of the git repo to use for install.py
package lists by default. This
may be overriden in a installations
hash with the repo_url
key.
Default value: 'https://github.com/lsst-camera-dh/dev-package-lists'
Data type: Stdlib::HTTPUrl
URL of the repo which contains the install.py
script.
Default value: 'https://github.com/lsst-it/release'
Data type: String
install.py
git repo ref.
Default value: 'IT-4348/python3'
Data type: Optional[String]
Name of the package list environment. Eg., ComCam
. This may be
overriden in a installation
hash with the env
key.
Default value: undef
Data type: Optional[String]
The "short" hostname used to select the installation set in a package lists repo.
Default value: $facts['networking']['hostname']
Data type: Boolean
Install desktop shortcuts.
Default value: false
Data type: Boolean
Force the update of managed git clones. This is done by passing force => true
to vcsrepo
type resources.
Default value: false
Data type: Array[String]
Array of extra strings to add to the ccsGlobal.properties file.
Default value: []
Data type: Array[String]
Array of extra strings to add to the udp_ccs.properties file.
Default value: []