xdmod: Manage XDMoDxdmod::ondemand: Manage XDMoD OnDemand plugin
xdmod::akrr::config: Manage XDMoD AKRR configsxdmod::akrr::install: Manage XDMoD AKRR installxdmod::akrr::service: Manage XDMoD AKRR servicexdmod::akrr::user: Manage XDMoD AKRR userxdmod::apache: Manage XDMoD Apache configsxdmod::config: Manage XDMoD configsxdmod::config::simplesamlphp: Manage XDMoD simplesamlphpxdmod::cron: Manage XDMOD cron resourcesxdmod::database: Manage XDMoD databasesxdmod::install: Manage XDMoD packagesxdmod::params: XDMoD module defaultsxdmod::supremm::compute::pcp: Manage XDMoD compute PCPxdmod::supremm::config: Manage XDMoD SUPReMM configsxdmod::supremm::database: Manage XDMoD SUPReMM databasesxdmod::supremm::install: Manage XDMoD SUPReMM packagesxdmod::user: Manage XDMoD user
xdmod::akrr::setting: Manage AKRR config setting value
xdmod_appkernel_setting: Section/setting name to manage from appkernels.inixdmod_ondemand_setting: Section/setting name to manage from ondemand.inixdmod_portal_setting: Section/setting name to manage from portal_settings.inixdmod_supremm_setting: Section/setting name to manage from supremm.ini
xdmod::member_substring: Function to test member substring
Manage XDMoD
The following parameters are available in the xdmod class:
versionxdmod_appkernels_versionxdmod_supremm_versiondatabasewebakrrsupremmsupremm_databasecomputeenable_appkernelenable_supremmenable_ondemandlocal_repo_namemanage_epelmanage_phppackage_ensurexdmod_supremm_package_ensurexdmod_appkernels_package_ensurepackage_namepackage_urlappkernels_package_nameappkernels_package_urlxdmod_supremm_package_namexdmod_supremm_package_urlphp_mongodb_versiondatabase_hostdatabase_portdatabase_userdatabase_passwordakrr_database_userakrr_database_passwordweb_hostakrr_hostschedulershredder_commandshred_hour_startshred_minutesingest_hourenable_update_checkmanage_apache_vhostapache_vhost_nameapache_ssl_certapache_ssl_keyapache_ssl_chainportal_settingshierarchy_levelshierarchiesgroup_to_hierarchyuser_pi_namesorganization_nameorganization_abbrevresourcesresource_specssender_emaildebug_recipientphp_timezonecenter_logo_sourcecenter_logo_widthuser_dashboardcors_domainschromium_pathmanage_useruser_uidgroup_giddata_warehouse_export_directorydata_warehouse_export_retention_duration_daysdata_warehouse_export_hash_saltmanage_simplesamlphpsimplesamlphp_config_contentsimplesamlphp_config_sourcesimplesamlphp_authsources_contentsimplesamlphp_authsources_sourcesimplesamlphp_metadata_contentsimplesamlphp_metadata_sourcesimplesamlphp_cert_countrysimplesamlphp_cert_organizationsimplesamlphp_cert_commonnameakrr_source_urlakrr_versionakrr_homemanage_akrr_userakrr_userakrr_user_groupakrr_user_group_gidakrr_user_uidakrr_user_shellakrr_user_homeakrr_user_managehomeakrr_user_commentakrr_user_systemakrr_restapi_portakrr_restapi_rw_passwordakrr_restapi_ro_passwordakrr_cron_mailtoakrr_ingestor_cron_timesappkernel_reports_manager_cron_timessupremm_versionsupremm_package_ensuresupremm_package_urlsupremm_package_namesupremm_cron_index_archivessupremm_mongodb_passwordsupremm_mongodb_hostsupremm_mongodb_urisupremm_mongodb_replica_setsupremm_resourcessupremm_prometheus_mappingsupremm_archive_out_dirsupremm_cron_summarize_commanduse_pcppcp_declare_methodpcp_resourcepcp_pmlogger_path_suffixpcp_pmlogger_config_templatepcp_pmlogger_config_sourcepcp_logging_static_freqpcp_logging_standard_freqpcp_static_metricspcp_standard_metricspcp_environ_metricspcp_merge_metricspcp_hotproc_exclude_usersstorage_roles_sourcecron_timesmanage_cronmanage_supremm_cronmanage_akrr_cronmanage_appkernel_cronmanage_storage_cron
Data type: String
Version of XDMoD to install
Default value: $xdmod::params::version
Data type: String
Version of XDMoD AppKernels to install
Default value: $xdmod::params::xdmod_appkernels_version
Data type: String
Version of XDMoD SUPReMM to install
Default value: $xdmod::params::xdmod_supremm_version
Data type: Boolean
Sets database role
Default value: true
Data type: Boolean
Sets web role
Default value: true
Data type: Boolean
Sets akrr role
Default value: false
Data type: Boolean
Sets supremm role
Default value: false
Data type: Boolean
Sets supremm database role
Default value: false
Data type: Boolean
Sets compute role
Default value: false
Data type: Boolean
Enable XDMoD AppKernel support
Default value: false
Data type: Boolean
Enable XDMod SUPReMM support
Default value: false
Data type: Boolean
Enable the XDMOD OnDemand plugin and necessary database
Default value: false
Data type: Optional[String]
Name of yum repo hosting RPMs
Default value: undef
Data type: Boolean
Boolean that sets if EPEL should be managed
Default value: true
Data type: Boolean
Boolean that sets if PHP should be managed
Default value: true
Data type: String
XDMoD package ensure property
Default value: 'present'
Data type: String
XDMoD supremm package ensure property
Default value: 'present'
Data type: String
XDMoD appkernels package ensure property
Default value: 'present'
Data type: String
XDMoD package name
Default value: $xdmod::params::package_name
Data type: Variant[Stdlib::HTTPSUrl, Stdlib::HTTPUrl]
XDMoD package RPM URL, not used if local_repo_name is defined
Default value: $xdmod::params::package_url
Data type: String
XDMoD appkernels package name
Default value: $xdmod::params::appkernels_package_name
Data type: Variant[Stdlib::HTTPSUrl, Stdlib::HTTPUrl]
XDMoD appkernels package RPM URL, not used if local_repo_name is defined
Default value: $xdmod::params::appkernels_package_url
Data type: String
XDMoD supremm package name
Default value: $xdmod::params::xdmod_supremm_package_name
Data type: Variant[Stdlib::HTTPSUrl, Stdlib::HTTPUrl]
XDMoD supremm package RPM URL, not used if local_repo_name is defined
Default value: $xdmod::params::xdmod_supremm_package_url
Data type: String[1]
The PHP MongoDB version
Default value: '1.18.1'
Data type: String
XDMoD database host
Default value: '127.0.0.1'
Data type: Integer
XDMoD database port
Default value: 3306
Data type: String
XDMoD database user
Default value: 'xdmod'
Data type: String
XDMoD database password
Default value: 'changeme'
Data type: String
AKRR database user
Default value: 'akrr'
Data type: String
AKRR database password
Default value: 'changeme'
Data type: String
FQDN of web host
Default value: 'localhost'
Data type: String
FQDN of AKRR host
Default value: 'localhost'
Data type: Enum['slurm','torque','pbs','sge']
Scheduler to shred, used to define default shred commands and PI column
Default value: 'slurm'
Data type: Optional[Variant[String, Array]]
Shred command(s)
Default value: undef
Data type: Integer[0,23]
The numeric hour to start shredding
Default value: 1
Data type: Integer
Time in minutes between shred operations if multiple shred commands
Default value: 5
Data type: Optional[Integer[0,23]]
The numeric hour to start ingest
Default value: undef
Data type: Boolean
Enable XDMoD update check
Default value: true
Data type: Boolean
Manage the XMDoD Apache Virtual Host
Default value: true
Data type: String
The Apache Virtual Host name
Default value: $xdmod::params::apache_vhost_name
Data type: Stdlib::Unixpath
Path to SSL cert used by Apache
Default value: '/etc/pki/tls/certs/localhost.crt'
Data type: Stdlib::Unixpath
Path to SSL private key used by Apache
Default value: '/etc/pki/tls/private/localhost.key'
Data type: Optional[Stdlib::Unixpath]
Path to SSL chain used by Apache
Default value: undef
Data type: Hash
Hash of portal_settings.ini settings to pass to xdmod_portal_setting resources
Default value: $xdmod::params::portal_settings
Data type: Xdmod::Hierarchy_Levels
Hierarchy levels used when defining hierarchies
Default value: $xdmod::params::hierarchy_levels
Data type: Array
Hierarchy lines, see XDMoD docs
Default value: $xdmod::params::hierarchies
Data type: Hash
Group to Hierarchy mappings, see XDMoD docs
Default value: $xdmod::params::group_to_hierarchy
Data type: Array
User and PI names, see XDMoD docs
Default value: $xdmod::params::user_pi_names
Data type: Optional[String]
Organization name for XDMoD instance
Default value: undef
Data type: Optional[String]
Organization abbreviation for XDMoD instance
Default value: undef
Data type: Array[Xdmod::Resource]
Resources to define resources.json
Default value: []
Data type: Array[Xdmod::Resource_Spec]
Resource specs for resource_specs.json
Default value: []
Data type: String
Configure sender for EMail
Default value: $xdmod::params::sender_email
Data type: String
Configure email addres to receive debug information
Default value: ''
Data type: Optional[String]
PHP Timezone
Default value: undef
Data type: Optional[String]
Source to image that will be used as center logo in XDMoD
Default value: undef
Data type: Optional[Integer]
The width of file from center_logo_source
Default value: undef
Data type: Enum['on','off']
The value for user_dashboard in portal_settings.ini
Default value: 'off'
Data type: Array
The value for domains in cors section of portal_settings.ini
Default value: []
Data type: Stdlib::Absolutepath
The value for chromium_path in reporting section of portal_settings.ini
Default value: '/usr/lib64/chromium-browser/headless_shell'
Data type: Boolean
Boolean that sets if managing XMDoD user
Default value: true
Data type: Optional[Integer]
XMDoD user UID
Default value: undef
Data type: Optional[Integer]
XDMoD user group GID
Default value: undef
Data type: Stdlib::Absolutepath
Path used for data warehouse export
Default value: '/var/spool/xdmod/export'
Data type: Integer
portal_settings.ini section=data_warehouse_export setting=retention_duration_days
Default value: 30
Data type: String
portal_settings.ini section=data_warehouse_export setting=hash_salt
Default value: sha256($facts['networking']['fqdn'])
Data type: Boolean
Boolean that sets if managing simplesamlphp
Default value: false
Data type: Optional[String]
The content for simplesamlphp config
Default value: undef
Data type: Optional[String]
The source for simplesamlphp config
Default value: undef
Data type: Optional[String]
The content for simplesaml php authsources
Default value: undef
Data type: Optional[String]
The source for simplesaml php authsources
Default value: undef
Data type: Optional[String]
The simplesamlphp metadata content
Default value: undef
Data type: Optional[String]
The simplesamlphp metadata source
Default value: undef
Data type: String
The simplesamlphp cert country
Default value: 'US'
Data type: Optional[String]
The simplesamlphp cert organization
Default value: undef
Data type: Optional[String]
The simplesamlphp cert commonname
Default value: undef
Data type: Variant[Stdlib::HTTPSUrl, Stdlib::HTTPUrl]
The AKRR source URL
Default value: $xdmod::params::akrr_source_url
Data type: String
The AKRR version. This version is used to build default akrr_source_url.
Default value: $xdmod::params::akrr_version
Data type: Optional[Stdlib::Unixpath]
AKRR home path
Default value: undef
Data type: Boolean
Boolean to manage AKRR user
Default value: true
Data type: String
AKRR username
Default value: 'akrr'
Data type: String
AKRR user group name
Default value: 'akrr'
Data type: Optional[Integer]
AKRR user gropu GID
Default value: undef
Data type: Optional[Integer]
AKRR user UID
Default value: undef
Data type: Stdlib::Unixpath
AKRR user shell
Default value: '/bin/bash'
Data type: Optional[Stdlib::Unixpath]
AKRR user home
Default value: undef
Data type: Boolean
AKRR user managehome property
Default value: true
Data type: String
AKRR user comment
Default value: 'AKRR'
Data type: Boolean
AKRR user system property
Default value: true
Data type: Integer
AKRR restapi port
Default value: 8091
Data type: String
AKRR restapi RW password
Default value: $xdmod::params::akrr_restapi_rw_password
Data type: String
AKRR restapi RO password
Default value: $xdmod::params::akrr_restapi_ro_password
Data type: Optional[String]
AKRR cron MAILTO
Default value: undef
Data type: Array[Integer, 2, 2]
AKRR ingestor cron times
Default value: [0,5]
Data type: Array[Integer, 2, 2]
AppKernel report manager cron times
Default value: [0,6]
Data type: String
Version of SUPReMM to install, builds supremm_package_url if not defined
Default value: $xdmod::params::supremm_version
Data type: String
SUPReMM package ensure property
Default value: 'present'
Data type: Variant[Stdlib::HTTPSUrl, Stdlib::HTTPUrl]
The URL to download SUPReMM RPM from
Default value: $xdmod::params::supremm_package_url
Data type: String
SUPReMM RPM package name
Default value: 'supremm'
Data type: Boolean
SUPReMM whether to run indexarchives.py
Default value: true
Data type: String
SUPReMM mongodb password
Default value: 'changeme'
Data type: String
SUPReMM mongodb host
Default value: 'localhost'
Data type: Optional[String]
SUPReMM mongodb URI
Default value: undef
Data type: Optional[String]
SUPReMM mongodb replica set
Default value: undef
Data type: Array[Xdmod::Supremm_Resource]
SUPReMM resources
Default value: []
Data type: Hash
SUPReMM Prometheus mapping
Default value: {}
Data type: Stdlib::Absolutepath
The path to supremm archive out
Default value: '/dev/shm/supremm_test'
Data type: Optional[Stdlib::Absolutepath]
The path to summarize command for SUPREMM
Default value: undef
Data type: Boolean
Boolean that PCP should be used for SUPREMM
Default value: true
Data type: Enum['include', 'resource']
Should pcp class be included or declared like a resource
Default value: 'resource'
Data type: Optional[String]
PCP resource name
Default value: undef
Data type: Optional[String]
PCP pmlogger path suffix
Default value: undef
Data type: String
Template for pmlogger config
Default value: 'xdmod/supremm/compute/pcp/pmlogger-supremm.config.erb'
Data type: Optional[String]
Source for pmlogger config
Default value: undef
Data type: String
Frequency for PCP logging static metrics
Default value: '1 hour'
Data type: String
Frequency for PCP logging standard metrics
Default value: '30 sec'
Data type: Array
PCP static metrics
Default value: $xdmod::params::supremm_pcp_static_metrics
Data type: Array
PCP standard metrics
Default value: $xdmod::params::supremm_pcp_standard_metrics
Data type: Array
PCP environment metrics
Default value: $xdmod::params::supremm_pcp_environ_metrics
Data type: Boolean
Boolean that PCP metrics should be merged with defaults
Default value: true
Data type: Array
Users to exclude from PCP hotproc
Default value: $xdmod::params::supremm_pcp_hotproc_exclude_users
Data type: String
The source of storage roles.json
Default value: 'puppet:///modules/xdmod/roles.d/storage.json'
Data type: Array[Integer, 2, 2]
The cron times for XDMOD cron jobs
Default value: [1, 0]
Data type: Boolean
Manage XDMOD cron files
Default value: true
Data type: Boolean
Manage SUPREMM cron files
Default value: true
Data type: Boolean
Manage AKRR cron files
Default value: true
Data type: Boolean
Manage App Kernel cron files
Default value: true
Data type: Boolean
Manage Storage cron files
Default value: true
Manage XDMoD OnDemand plugin
The following parameters are available in the xdmod::ondemand class:
geoip_useridgeoip_licensekeyversionpackage_namepackage_ensurepackage_urllog_formatmanage_cronupdate_timer_hour
Data type: Optional[String]
The MaxMind GeoIP user ID Must be set if you wish to use GeoIP database
Default value: undef
Data type: Optional[String]
The MaxMind GeoIP license key Must be set if you wish to use GeoIP database
Default value: undef
Data type: String
Version of XDMOD OnDemand to install
Default value: $xdmod::params::xdmod_ondemand_version
Data type: String
The XDMOD OnDemand package name
Default value: 'xdmod-ondemand'
Data type: String
The state of XDMOD OnDemand package when using local repo
Default value: 'installed'
Data type: Stdlib::HTTPSUrl
The URL of the XDMOD OnDemand package when not using local repo
Default value: $xdmod::params::ondemand_package_url
Data type: String
Log format to use for parsing access logs
Default value: '%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"'
Data type: Boolean
Manage OnDemand cron files
Default value: true
Data type: String[1]
The hour when to run geoip update timer
Default value: '00'
Manage AKRR config setting value
The following parameters are available in the xdmod::akrr::setting defined type:
Data type: String[1]
Setting value
Data type: Optional[Any]
Should value be quoted
Default value: undef
Section/setting name to manage from appkernels.ini
The following properties are available in the xdmod_appkernel_setting type.
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
The value of the setting to be defined.
The following parameters are available in the xdmod_appkernel_setting type.
namevar
Section/setting name to manage from appkernels.ini
The specific backend to use for this xdmod_appkernel_setting resource. You will seldom need to specify this --- Puppet
will usually discover the appropriate provider for your platform.
Valid values: true, false
Whether to hide the value from Puppet logs. Defaults to false.
Default value: false
Section/setting name to manage from ondemand.ini
The following properties are available in the xdmod_ondemand_setting type.
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
The value of the setting to be defined.
The following parameters are available in the xdmod_ondemand_setting type.
namevar
Section/setting name to manage from ondemand.ini
The specific backend to use for this xdmod_ondemand_setting resource. You will seldom need to specify this --- Puppet
will usually discover the appropriate provider for your platform.
Valid values: true, false
Whether to hide the value from Puppet logs. Defaults to false.
Default value: false
Section/setting name to manage from portal_settings.ini
The following properties are available in the xdmod_portal_setting type.
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
The value of the setting to be defined.
The following parameters are available in the xdmod_portal_setting type.
namevar
Section/setting name to manage from portal_settings.ini
The specific backend to use for this xdmod_portal_setting resource. You will seldom need to specify this --- Puppet
will usually discover the appropriate provider for your platform.
Valid values: true, false
Whether to hide the value from Puppet logs. Defaults to false.
Default value: false
Section/setting name to manage from supremm.ini
The following properties are available in the xdmod_supremm_setting type.
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
The value of the setting to be defined.
The following parameters are available in the xdmod_supremm_setting type.
namevar
Section/setting name to manage from supremm.ini
The specific backend to use for this xdmod_supremm_setting resource. You will seldom need to specify this --- Puppet
will usually discover the appropriate provider for your platform.
Valid values: true, false
Whether to hide the value from Puppet logs. Defaults to false.
Default value: false
Type: Ruby 4.x API
Function to test member substring
member(['nfsclient.bytes.write.server','infiniband.hca.type'], '^nfsclient')member(['nfsclient.bytes.write.server','nfsclient.bytes.write.server'], '^infiniband')Function to test member substring
Returns: String Returns present if substring in array
member(['nfsclient.bytes.write.server','infiniband.hca.type'], '^nfsclient')member(['nfsclient.bytes.write.server','nfsclient.bytes.write.server'], '^infiniband')Data type: Array
The array to check.
Data type: String
The substring used for check.
The Xdmod::Hierarchy_Levels data type.
Alias of
Struct[{
top => Struct[{
label => String,
info => String,
}],
Optional[middle] => Struct[{
label => String,
info => String,
}],
Optional[bottom] => Struct[{
label => String,
info => String,
}],
}]The Xdmod::Resource data type.
Alias of
Struct[{
resource => String,
name => String,
Optional[description] => String,
Optional[resource_type] => String,
Optional[resource_allocation_type] => String,
Optional[pi_column] => String,
Optional[timezone] => String,
Optional[shared_jobs] => Boolean,
Optional[shred_directory] => Stdlib::Absolutepath,
}]The Xdmod::Resource_Spec data type.
Alias of
Struct[{
resource => String,
start_date => Optional[String],
end_date => Optional[String],
processors => Integer,
nodes => Integer,
ppn => Integer,
cpu_node_count => Optional[Integer],
cpu_processor_count => Optional[Integer],
cpu_ppn => Optional[Integer],
gpu_node_count => Optional[Integer],
gpu_processor_count => Optional[Integer],
gpu_ppn => Optional[Integer],
}]The Xdmod::Supremm_Resource data type.
Alias of
Struct[{
NotUndef[resource] => String[1],
Optional[enabled] => Boolean,
NotUndef[resource_id] => Integer,
Optional[collection] => String[1],
Optional[datasource] => Enum['pcp','prometheus'],
Optional[datasetmap] => String[1],
Optional[datasetmap_source] => Stdlib::Filesource,
Optional[hardware] => Struct[{
Optional[gpfs] => Variant[String, Array],
Optional[network] => Variant[String, Array],
Optional[mounts] => Hash,
Optional[block] => Variant[String, Array],
Optional[gpus] => Variant[String, Array],
}],
Optional[batchscript] => Struct[{
NotUndef[path] => Stdlib::Absolutepath,
Optional[timestamp_mode] => Enum['start','submit','end','none'],
}],
Optional[pcp_log_dir] => Stdlib::Unixpath,
Optional[hostname_mode] => Enum['fqdn','hostname'],
Optional[host_name_ext] => String[1],
Optional[fast_index] => Boolean,
Optional[timezone] => String,
Optional[prom_host] => String[1],
Optional[prom_user] => String[1],
Optional[prom_password] => String[1],
}]