Puppet Class: classroom_legacy::master::windows

Defined in:
manifests/master/windows.pp

Overview



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File 'manifests/master/windows.pp', line 9

class classroom_legacy::master::windows {
  require pe_repo::platform::windows_x86_64
  assert_private('This class should not be called directly')

  $publicdir = $classroom_legacy::params::publicdir

  File {
    ensure => file,
    owner  => 'root',
    group  => 'root',
    mode   => '0644',
  }

  $destination = "${publicdir}/current"

  file { "${destination}/setup_windows.ps1":
    source => "puppet:///modules/classroom_legacy/windows/setup_windows.ps1",
  }

  file { "${destination}/windows-x86_64/setup_classroom.ps1":
    source => "puppet:///modules/classroom_legacy/windows/setup_classroom.ps1",
  }
}