Add symlinks for easy web access
This commit is contained in:
parent
8746adcc92
commit
d911f56e65
1 changed files with 16 additions and 0 deletions
|
@ -90,3 +90,19 @@ file { '/var/www/tc362.atomaka.com/index.html':
|
||||||
content => file('/tmp/puppet/files/index.html'),
|
content => file('/tmp/puppet/files/index.html'),
|
||||||
require => File['/var/www/tc362.atomaka.com'],
|
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'] ],
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue