Skip to content

Commit

Permalink
sources/installations dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarko committed Jun 25, 2015
1 parent 989c7b6 commit 5a050dd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Binary file modified manifests/.first.pp.swp
Binary file not shown.
17 changes: 17 additions & 0 deletions manifests/first.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}

0 comments on commit 5a050dd

Please sign in to comment.