refactor: reconfigure cobbler to module style

- split params into class
- split class into individual functions
This commit is contained in:
2024-05-07 22:37:16 +10:00
parent 7286dfe574
commit 72077d64a2
11 changed files with 184 additions and 122 deletions
@@ -1,6 +1,8 @@
# profiles::cobbler::ipxebins
class profiles::cobbler::ipxebins {
include profiles::cobbler::params
# download the custom undionly.kpxe file
# https://gist.github.com/rikka0w0/50895b82cbec8a3a1e8c7707479824c1
exec { 'download_undionly_kpxe':