Skip to content

Commit

Permalink
renamed tftp class to avoid class name space issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ohadlevy committed Aug 9, 2011
1 parent 1540027 commit b4fe12b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion foreman/manifests/proxy.pp
Expand Up @@ -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}

Expand Down
@@ -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"]
Expand All @@ -20,5 +20,6 @@
link_file{$syslinux_files:
source_path => $syslinux_root,
target_path => $tftproot,
require => Class["tftp::install"];
}
}

0 comments on commit b4fe12b

Please sign in to comment.