Add projects directory in common rather than work
I work on projects outside of work, you know!
This commit is contained in:
parent
02fd0faf8d
commit
f946676d97
2 changed files with 6 additions and 6 deletions
|
@ -19,6 +19,11 @@ class common {
|
||||||
path => '/home/jake',
|
path => '/home/jake',
|
||||||
owner => 'jake'
|
owner => 'jake'
|
||||||
}
|
}
|
||||||
|
-> file { 'Projects directory':
|
||||||
|
ensure => directory,
|
||||||
|
path => '/home/jake/Projects',
|
||||||
|
owner => 'jake'
|
||||||
|
}
|
||||||
|
|
||||||
exec {'Set Java version':
|
exec {'Set Java version':
|
||||||
command => 'archlinux-java set intellij-jdk',
|
command => 'archlinux-java set intellij-jdk',
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
class devices::work {
|
class devices::work {
|
||||||
file { 'Projects directory':
|
vcsrepo { 'Vim runtime':
|
||||||
ensure => directory,
|
|
||||||
path => '/home/jake/Projects',
|
|
||||||
owner => 'jake'
|
|
||||||
}
|
|
||||||
-> vcsrepo { 'Vim runtime':
|
|
||||||
ensure => latest,
|
ensure => latest,
|
||||||
provider => git,
|
provider => git,
|
||||||
user => 'jake',
|
user => 'jake',
|
||||||
|
|
Loading…
Reference in a new issue