set java version
This commit is contained in:
parent
0c2c57e02f
commit
2ae225d139
2 changed files with 9 additions and 1 deletions
|
@ -41,7 +41,6 @@ node default {
|
||||||
'intellij-idea-ultimate-edition-jre',
|
'intellij-idea-ultimate-edition-jre',
|
||||||
'intellij-jdk',
|
'intellij-jdk',
|
||||||
'jdk',
|
'jdk',
|
||||||
'jre',
|
|
||||||
'jshon',
|
'jshon',
|
||||||
'kodi',
|
'kodi',
|
||||||
'libinput',
|
'libinput',
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
node default {
|
node default {
|
||||||
|
Exec {
|
||||||
|
path => ['/usr/bin', '/usr/sbin', '/usr/local/bin', '/usr/local/sbin']
|
||||||
|
}
|
||||||
|
|
||||||
file {'autostart compton':
|
file {'autostart compton':
|
||||||
ensure => link,
|
ensure => link,
|
||||||
path => '/home/jake/.config/autostart/compton.desktop',
|
path => '/home/jake/.config/autostart/compton.desktop',
|
||||||
|
@ -6,4 +10,9 @@ node default {
|
||||||
owner => 'jake',
|
owner => 'jake',
|
||||||
source => '/usr/share/applications/compton.desktop'
|
source => '/usr/share/applications/compton.desktop'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exec {'set java':
|
||||||
|
command => 'archlinux-java set intellij-jdk',
|
||||||
|
unless => 'archlinux-java get | grep intellij-jdk'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue