From 5a050dd1b4e97037a2e6c480175c10ae9e2c8a79 Mon Sep 17 00:00:00 2001 From: Ondrej Kosarko Date: Thu, 25 Jun 2015 11:48:34 +0000 Subject: [PATCH] sources/installations dirs --- manifests/.first.pp.swp | Bin 12288 -> 12288 bytes manifests/first.pp | 17 +++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/manifests/.first.pp.swp b/manifests/.first.pp.swp index 6f50d0601faa546a4be1dee807e119d80d3dff7e..574bd4edd8835cafc2ffa1a53b1ac0103f89778a 100644 GIT binary patch delta 490 zcmZojXh@JsG6?hZRWR2xVE_UF1_skt-J!Y+EDT%{6Q!cL3Q7wKQcHA8Qj0eh=QD49 z$E?J|D7jfs;4?q(GF}D-H9m+Y$;pBW>P|)c3=DQatP8{ElNznApI=a- zUz}fBl$=_u9;*XZRFYVfo>~G@gDMS?P0cGVg_w|&nU}4@kOnkIp&F6_+ID7+@>~ bTZL!^C2)YC7^tKJ6@_|GNg;M}p?*IA1pkPr delta 80 zcmZojXh@JsG6?hZRWR2xVE_UF5CH-HToa|DH#X)nPfXz1{Ek_Phmm8mpulH-UUPm1 YhGHNFDdw0gsGz=CS-_fqa 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'], +}