/[adm]/puppet/modules/auto_installation/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/auto_installation/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1443 by misc, Fri Apr 1 01:44:35 2011 UTC revision 1444 by misc, Fri Apr 1 01:44:36 2011 UTC
# Line 10  Line 10 
10  class auto_installation {  class auto_installation {
11      class variables {      class variables {
12          $pxe_dir = "/var/lib/pxe"          $pxe_dir = "/var/lib/pxe"
13            # m/  for menu. There is limitation on the path length so
14            # while we will likely not hit the limit, it may be easier
15            $pxe_menu_dir = "$pxe_dir/pxelinux.cfg/m/"
16      }      }
17    
18      class pxe_menu inherits variables {      class pxe_menu inherits variables {
# Line 32  class auto_installation { Line 35  class auto_installation {
35          file { "$pxe_dir/pxelinux.cfg":          file { "$pxe_dir/pxelinux.cfg":
36              ensure => directory,              ensure => directory,
37          }          }
38            # m for menu, there is some limitation on the path lenght so I
39            # prefer to
40            file { "$pxe_menu_dir":
41                ensure => directory,
42            }
43    
44            
45          # default file should have exported ressources          # default file should have exported ressources
46          file { "$pxe_dir/pxelinux.cfg/default":          file { "$pxe_dir/pxelinux.cfg/default":
47              ensure => present,              ensure => present,

Legend:
Removed from v.1443  
changed lines
  Added in v.1444

  ViewVC Help
Powered by ViewVC 1.1.30