Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

renamed tftp class to avoid class name space issues

  • Loading branch information...
commit b4fe12b6e2bb7df29e4ade8efd3a8e0ba9cd5ada 1 parent 1540027
@ohadlevy authored
View
2  foreman/manifests/proxy.pp
@@ -6,7 +6,7 @@
include foreman::proxy::puppetca
include foreman::proxy::puppetrun
- include foreman::proxy::tftp
+ include foreman::proxy::tftp-deploy
package {"foreman-proxy": ensure => installed}
View
5 foreman/manifests/proxy/tftp.pp → foreman/manifests/proxy/tftp-deploy.pp
@@ -1,7 +1,7 @@
-class foreman::proxy::tftp {
+class foreman::proxy::tftp-deploy {
include tftp
- $syslinux_root = "/usr/lib/syslinux"
+ $syslinux_root = "/usr/share/syslinux"
$syslinux_files = ["pxelinux.0","menu.c32","chain.c32"]
$tftproot = "/var/lib/tftpboot"
$tftp_dir = ["${tftproot}/pxelinux.cfg","${tftproot}/build"]
@@ -20,5 +20,6 @@
link_file{$syslinux_files:
source_path => $syslinux_root,
target_path => $tftproot,
+ require => Class["tftp::install"];
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.