-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv_config.pp
More file actions
74 lines (63 loc) · 2.15 KB
/
env_config.pp
File metadata and controls
74 lines (63 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
$user = 'pfaffle'
$realname = 'Craig Meinschein'
$userprofile = ["C:/Users/$user/","C:/Users/$user/AppData/","C:/Users/$user/AppData/Roaming"]
$tbprofiledir = ["${$userprofile[2]}/Thunderbird","${$userprofile[2]}/Thunderbird/Profiles","${$userprofile[2]}/Thunderbird/Profiles/76818gag.default"]
file { $userprofile:
ensure => directory,
source_permissions => ignore,
}
windows_env { 'GIT_SSH':
ensure => present,
mergemode => clobber,
user => $user,
value => 'C:\Program Files (x86)\PuTTY\plink.exe',
}
windows_env { 'PSModulePath':
ensure => present,
value => 'C:\Program Files\Common Files\Modules',
separator => ';',
}
file { 'ConEmu config':
ensure => file,
path => "${$userprofile[2]}/ConEmu.xml",
source => 'Z:/profile/ConEmu.xml',
source_permissions => ignore,
}
file { $tbprofiledir:
ensure => directory,
source_permissions => ignore,
}
file { 'Thunderbird profile ini':
ensure => file,
path => "${$tbprofiledir[0]}/profiles.ini",
source => 'Z:/profile/Thunderbird/profiles.ini',
source_permissions => ignore,
}
file { 'Thunderbird profile prefs`':
ensure => file,
path => "${$tbprofiledir[2]}/prefs.js",
source => 'Z:/profile/Thunderbird/Profiles/76818gag.default/prefs.js',
source_permissions => ignore,
}
file { 'vimrc':
ensure => file,
path => "${$userprofile[0]}/.vimrc",
source => 'Z:/profile/.vimrc',
source_permissions => ignore,
}
file { 'Run pageant script':
ensure => file,
path => "${$userprofile[2]}/Microsoft/Windows/Start Menu/Programs/Startup/run_pageant.cmd",
source => 'Z:/profile/run_pageant.cmd',
source_permissions => ignore,
}
file { "${userprofile[2]}/KiTTY":
ensure => directory,
source_permissions => ignore,
}
file { 'KiTTY config':
ensure => file,
path => "${$userprofile[2]}/KiTTY/kitty.ini",
source => 'Z:/profile/KiTTY/kitty.ini',
source_permissions => ignore,
}