generate site alias link
This commit is contained in:
parent
09d65bbe1a
commit
357bcd6975
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue