zot
: Main class, includes all other classes
zot::config
: This class handles the zot configuration file.zot::install
: This class handles zot packages.zot::service
: This class handles the zot service
zot::to_yaml
: https://github.com/puppetlabs/puppet-specifications/blob/master/language/func-api.md#the-4x-api
Main class, includes all other classes
include zot
The following parameters are available in the zot
class:
archive_download_arch
archive_download_base
archive_download_os
archive_download_url
archive_download_version
binary_path
config_dir
config_dist_spec_version
config_epp_parameters
config_epp_template
config_file
config_hash
config_http
data_dir
config_log
config_extensions_lint
config_extensions_metrics
config_extensions_scrub
config_extensions_search
config_extensions_sync
config_extensions_ui
config_storage
gid
group
install_method
log_dir
manage_config_dir
manage_data_dir
manage_group
manage_log_dir
manage_service_file
manage_service
manage_sync_credentials_file
manage_user
package_ensure
package_name
service_enable
service_ensure
service_epp_parameters
service_epp_template
service_name
sync_credentials_file
sync_credentials
uid
user
Data type: String
Archictecture for the binary archive
Data type: Stdlib::HTTPUrl
Base url for the binary archive
Data type: String
OS for the binary archive
Data type: Optional[Stdlib::HTTPUrl]
Optional alternative url for downloading the archive
Data type: String
Verison for the binary archive
Data type: Stdlib::Unixpath
Path where the binary should be/is installed
Data type: Stdlib::Unixpath
Directory to place the configuration files
Data type: String
Dist spec version set in the configuration file
Data type: Hash
Hash with parameters to hash to the custom epp file
Data type: Optional[String]
Optional epp template for the configuration file
Data type: Stdlib::Unixpath
Full path to place the configuration file
Data type: Optional[Hash]
Optional config hash that will be converted to yaml for the config file
Data type: Hash
Hash containing the http section in the config file
Data type: Stdlib::Unixpath
Directory where to store the zot data
Data type: Hash
Hash containing the log section in the config file
Data type: Optional[Hash]
Hash containing the lint extension configuration in the config file
Data type: Optional[Hash]
Hash containing the metrics extension configuration in the config file
Data type: Optional[Hash]
Hash containing the scrub extension configuration in the config file
Data type: Optional[Hash]
Hash containing the search extension configuration in the config file
Data type: Optional[Hash]
Hash containing the sync extension configuration in the config file
Data type: Optional[Hash]
Hash containing the ui extension configuration in the config file
Default value: undef
Data type: Hash
Hash containing the storage section in the config file
Data type: Accounts::User::Uid
GID of the zot group
Data type: String
Name of the zot group
Data type: Enum['url', 'package', 'none']
Method to install zot Possible values: url, package or none
Data type: Stdlib::Unixpath
Directory to store the zot logs
Data type: Boolean
Whether to manage the zot config_dir
Data type: Boolean
Whether to manage the zot data_dir
Data type: Boolean
Whether to manage the zot group
Data type: Boolean
Whether to manage the zot log dir
Data type: Boolean
Whether to manage the zot systemd service file
Data type: Boolean
Whether to manage the zot service
Data type: Boolean
Whether to manage the sync credentials file
Data type: Boolean
Whether to manage the zot user
Data type: String
Ensure parameter of the zot package resource
Data type: String
Name of the zot package resource
Data type: Boolean
Determines if the service should be enabled
Data type: String
Ensure parameter of the zot service resource
Data type: Hash
Hash with parameters to hash to the custom epp file
Data type: Optional[String]
Optional epp template for the zot systemd service file
Data type: String
Name of the zot service
Data type: Stdlib::Unixpath
Path to store the sync credentials file
Data type: Hash
Content of the sync credentials file
Data type: Accounts::User::Uid
UID of the zot user
Data type: String
Name of the zot user
Type: Ruby 4.x API
https://github.com/puppetlabs/puppet-specifications/blob/master/language/func-api.md#the-4x-api
https://github.com/puppetlabs/puppet-specifications/blob/master/language/func-api.md#the-4x-api
Returns: Any
Returns a String with the structured data in YAML format.
Data type: Any
The data that should be transformed to YAML.
Data type: Optional[Integer]
Optional. An Integer which described the number of space characters used to indent.
Data type: Optional[Hash]
Optional. Pass a Hash of additional options. Refer to Ruby's psych library.