diff --git a/manifests/.first.pp.swp b/manifests/.first.pp.swp index 6f50d06..574bd4e 100644 Binary files a/manifests/.first.pp.swp and b/manifests/.first.pp.swp differ diff --git a/manifests/first.pp b/manifests/first.pp index 255ce68..3709cd7 100644 --- a/manifests/first.pp +++ b/manifests/first.pp @@ -6,3 +6,20 @@ require => Exec['apt-update'], ensure => latest, } + +$my_dirs = [ "/opt/installations", "/opt/sources" ] +file { $my_dirs: + ensure => directory, +} + +file { '/installations': + ensure => link, + target => '/opt/installations', + require => File['/opt/installations'], +} + +file { '/sources': + ensure => link, + target => '/opt/sources', + require => File['/opt/sources'], +}