diff --git a/modules/common/manifests/init.pp b/modules/common/manifests/init.pp index abb1110..2186d18 100644 --- a/modules/common/manifests/init.pp +++ b/modules/common/manifests/init.pp @@ -19,6 +19,11 @@ class common { path => '/home/jake', owner => 'jake' } + -> file { 'Projects directory': + ensure => directory, + path => '/home/jake/Projects', + owner => 'jake' + } exec {'Set Java version': command => 'archlinux-java set intellij-jdk', diff --git a/modules/devices/manifests/work.pp b/modules/devices/manifests/work.pp index 7b0dc50..1e5b6b5 100644 --- a/modules/devices/manifests/work.pp +++ b/modules/devices/manifests/work.pp @@ -1,10 +1,5 @@ class devices::work { - file { 'Projects directory': - ensure => directory, - path => '/home/jake/Projects', - owner => 'jake' - } - -> vcsrepo { 'Vim runtime': + vcsrepo { 'Vim runtime': ensure => latest, provider => git, user => 'jake',