generate site alias link

This commit is contained in:
Leif Johansson 2018-09-24 18:35:20 +02:00
parent 09d65bbe1a
commit 357bcd6975

View file

@ -24,10 +24,10 @@ class infra_ca_rp {
node default {
}
class site_alias($alias_name) {
class site_alias($alias_name=undef) {
file { "/var/www/$alias_name":
ensure => link,
target => "/var/www/$title"
target => "/var/www/$name"
}
}