From d911f56e65c7d0608c11425c478d05393f697bbb Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Wed, 22 Jan 2014 11:04:46 -0500 Subject: [PATCH] Add symlinks for easy web access --- manifests/site.pp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/manifests/site.pp b/manifests/site.pp index 6d185c2..af2f9f9 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -90,3 +90,19 @@ file { '/var/www/tc362.atomaka.com/index.html': content => file('/tmp/puppet/files/index.html'), require => File['/var/www/tc362.atomaka.com'], } + +file { '/home/atomaka/web': + ensure => link, + owner => 'atomaka', + group => 'atomaka', + target => '/var/www/tc362.atomaka.com', + require => [ User['atomaka'], File['/var/www/tc362.atomaka.com'] ], +} + +file { '/home/jeff/web': + ensure => link, + owner => 'jeff', + group => 'jeff', + target => '/var/www/tc362.atomaka.com', + require => [ User['jeff'], File['/var/www/tc362.atomaka.com'] ], +}