Classes
lidar::app_stack
: Configure a node to run LiDARlidar::report_processor
: Simple class to enable the LiDAR report processor
Data types
Tasks
get_service_status
: Get the status of the LiDAR docker-compose servicesupdate_all_images
: Automates the dance needed to get docker-compose to update the container for every serviceuse_updated_image
: Automates the dance needed to get docker-compose to use an updated image
This class takes care of configuring a node to run LiDAR.
include lidar::app_stack
realize(Group['docker'])
class { 'lidar::app_stack':
create_docker_group => false,
require => Group['docker'],
}
The following parameters are available in the lidar::app_stack
class.
Data type: Boolean
Enable/Disable collection of Analytic Data
Default value: true
Data type: Boolean
Ensure the docker group is present.
Default value: true
Data type: Boolean
Install and manage docker as part of app_stack
Default value: true
Data type: Integer
Secure port number to access the LiDAR UI
Default value: 443
Data type: String[1]
The version of docker-compose to install
Default value: '1.25.0'
Data type: String[1]
The string that comes before the name of each container. This can be changed to support private image repositories such as for internal testing or air gapped environments.
Default value: 'puppet/lidar-'
Data type: String[1]
The version of the LiDAR containers to use
Default value: '1.0.0-alpha.2'
Data type: String[1]
The log driver Docker will use
Default value: 'journald'
Data type: Optional[Array[String[1]]]
Users to be added to the docker group on the system
Default value: undef
Simple class to enable the LiDAR report processor
---
lidar::report_processor::lidar_url: 'https://lidar.example.com/in'
lidar::report_processor::pe_console: 'pe-console.example.com'
---
lidar::report_processor::lidar_url: 'https://lidar.example.com:8443/in'
lidar::report_processor::pe_console: 'pe-console.example.com'
# Settings applied to both a master and compilers
class { 'profile::masters_and_compilers':
class { 'lidar::report_processor':
lidar_url => 'https://lidar.example.com/in',
pe_console => 'pe-console.example.com',
}
}
# Settings applied to both a master and compilers
class { 'profile::masters_and_compilers':
class { 'lidar::report_processor':
lidar_url => 'https://lidar.example.com:8443/in',
pe_console => 'pe-console.example.com',
}
}
---
lidar::report_processor::lidar_url:
- 'https://lidar-prod.example.com:8443/in'
- 'https://lidar-staging.example.com:8443/in'
lidar::report_processor::pe_console: 'pe-console.example.com'
The following parameters are available in the lidar::report_processor
class.
Data type: Lidar::Url
The url to send reports to.
Data type: Boolean
Enable sending reports to LiDAR
Default value: true
Data type: Boolean
Enable managing the LiDAR routes file
Default value: true
Data type: String[1]
Default value: 'puppetdb'
Data type: String[1]
Default value: 'lidar'
Data type: String[1]
A string containg the list of report processors to enable
Default value: 'puppetdb,lidar'
Data type: Optional[Stdlib::Fqdn]
The FQDN of your PE Console.
Default value: undef
The Lidar::Url data type.
Alias of Variant[Array[Stdlib::HTTPUrl], Stdlib::HTTPUrl]
Get the status of the LiDAR docker-compose services
Supports noop? false
Automates the dance needed to get docker-compose to update the container for every service
Supports noop? false
Automates the dance needed to get docker-compose to use an updated image
Supports noop? false
Data type: Enum[frontdoor,identity,influxdb,ingest-queue,mongo,query,rabbitmq,ui]
The service you wish to update