$symlink = "/etc/apache2/sites-enabled/${name}"
} else {
$symlink = "/etc/apache2/sites-enabled/${name}.conf"
file { "/etc/apache2/sites-enabled/${name}":
ensure => absent,
$symlink = "/etc/apache2/sites-enabled/${name}"
} else {
$symlink = "/etc/apache2/sites-enabled/${name}.conf"
file { "/etc/apache2/sites-enabled/${name}":
ensure => absent,