Baseline install framework

This commit is contained in:
2022-09-08 20:31:57 -04:00
parent de9a0e3f72
commit 93a65223fc
7 changed files with 172 additions and 110 deletions

View File

@@ -4,5 +4,19 @@
#
# @example
# include klipper
class 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
}