diff options
author | Michael Scherer <misc@mageia.org> | 2011-04-01 01:44:36 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-04-01 01:44:36 +0000 |
commit | ac644e624e78510a3173c542057c27a1d2395ae3 (patch) | |
tree | 5163d0fd9ed781720c4069abc3304770eb878bf5 /modules/auto_installation/manifests/init.pp | |
parent | 188405545d3a0b51a4c50ddfe9f2c8129e6fdecf (diff) | |
download | puppet-ac644e624e78510a3173c542057c27a1d2395ae3.tar puppet-ac644e624e78510a3173c542057c27a1d2395ae3.tar.gz puppet-ac644e624e78510a3173c542057c27a1d2395ae3.tar.bz2 puppet-ac644e624e78510a3173c542057c27a1d2395ae3.tar.xz puppet-ac644e624e78510a3173c542057c27a1d2395ae3.zip |
create a directory to hold menu file that will be included in the main file
Diffstat (limited to 'modules/auto_installation/manifests/init.pp')
-rw-r--r-- | modules/auto_installation/manifests/init.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/auto_installation/manifests/init.pp b/modules/auto_installation/manifests/init.pp index f6e39195..fb327518 100644 --- a/modules/auto_installation/manifests/init.pp +++ b/modules/auto_installation/manifests/init.pp @@ -10,6 +10,9 @@ class auto_installation { class variables { $pxe_dir = "/var/lib/pxe" + # m/ for menu. There is limitation on the path length so + # while we will likely not hit the limit, it may be easier + $pxe_menu_dir = "$pxe_dir/pxelinux.cfg/m/" } class pxe_menu inherits variables { @@ -32,7 +35,13 @@ class auto_installation { file { "$pxe_dir/pxelinux.cfg": ensure => directory, } + # m for menu, there is some limitation on the path lenght so I + # prefer to + file { "$pxe_menu_dir": + ensure => directory, + } + # default file should have exported ressources file { "$pxe_dir/pxelinux.cfg/default": ensure => present, |