set java version

This commit is contained in:
Jake Howard 2017-10-19 20:29:10 +01:00
parent 0c2c57e02f
commit 2ae225d139
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 9 additions and 1 deletions

View file

@ -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',

View file

@ -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'
}
} }