This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 38
Improve syslinux::system class #76
Open
mikerenfro
wants to merge
13
commits into
voxpupuli:master
Choose a base branch
from
mikerenfro:feature_improve_syslinux_system
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Improve syslinux::system class #76
mikerenfro
wants to merge
13
commits into
voxpupuli:master
from
mikerenfro:feature_improve_syslinux_system
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mikerenfro
changed the title
Feature improve syslinux system
Improve syslinux::system class
Mar 20, 2023
smortex
reviewed
Mar 21, 2023
manifests/syslinux/system.pp
Outdated
Comment on lines
21
to
24
file { "${tftp_root}/syslinux/${file}": | ||
source => "${syslinux_dir}/${file}", | ||
require => Package['syslinux'], | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can manage the directory itself. If source
is a directory and recurse
is set to true, it should copy all files and not need an update if the files change at some point.
Suggested change
file { "${tftp_root}/syslinux/${file}": | |
source => "${syslinux_dir}/${file}", | |
require => Package['syslinux'], | |
} | |
file { "${tftp_root}/syslinux": | |
source => $syslinux_dir, | |
recurse => true, | |
require => Package['syslinux'], | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the changes I thought would work, but I'm getting CI errors on BSD. An extra set of eyes would be appreciated.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request (PR) description
Improve syslinux::system class
This Pull Request (PR) fixes the following issues
No issues submitted so far, but it looked like most of the development focus was on deploying syslinux from upstream sources rather than OS packages. Out of the box, the module didn't include all the files needed to present a working PXE menu.