generate site alias link
This commit is contained in:
parent
dec03706c0
commit
09d65bbe1a
2 changed files with 4 additions and 4 deletions
|
@ -733,7 +733,7 @@ web-1.qa.sveidas.se:
|
|||
pages:
|
||||
site_alias:
|
||||
name: swedenconnect.se
|
||||
alias: www.swedenconnect.se
|
||||
alias_name: www.swedenconnect.se
|
||||
sunet::frontend::register_sites:
|
||||
sites:
|
||||
'swedenconnect.se':
|
||||
|
|
|
@ -24,10 +24,10 @@ class infra_ca_rp {
|
|||
node default {
|
||||
}
|
||||
|
||||
class site_alias($alias) {
|
||||
file { "/var/www/$alias":
|
||||
class site_alias($alias_name) {
|
||||
file { "/var/www/$alias_name":
|
||||
ensure => link,
|
||||
target => "/var/www/$name"
|
||||
target => "/var/www/$title"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue