mirror of
https://github.com/ardichoke/puppet-klipper.git
synced 2026-05-11 02:25:37 -04:00
23 lines
704 B
Puppet
23 lines
704 B
Puppet
# @summary
|
|
#
|
|
# Installs and manages klipper
|
|
#
|
|
# @example
|
|
# include klipper
|
|
#
|
|
# @param src_path The filesystem path to clone the klipper source code to
|
|
# @param version The version of klipper to install
|
|
# @param user The account to run klipper under
|
|
# @param python_dir The path to place the klipper python virtualenv
|
|
# @param config_dir The path to place klipper config files
|
|
#
|
|
class klipper (
|
|
String $version = 'present',
|
|
String $user = 'pi',
|
|
Stdlib::Absolutepath $src_path = "/home/${klipper::user}/klipper",
|
|
Stdlib::Absolutepath $python_dir = "/home/${klipper::user}/klippy-env",
|
|
Stdlib::Absolutepath $config_dir = "/home/${klipper::user}/klipper_config",
|
|
) {
|
|
contain klipper::install
|
|
}
|