abusesa: Fix duplicate declaration
This commit is contained in:
parent
b3f7b92e01
commit
afce28f5cd
3 changed files with 18 additions and 16 deletions
|
@ -93,7 +93,6 @@ class abusesa(
|
|||
#
|
||||
define abusesa::configwebhost() {
|
||||
|
||||
if ! defined(File["/srv/www/https/${name}/abusesa"]) {
|
||||
file { "/srv/www/https/${name}/abusesa":
|
||||
ensure => directory,
|
||||
mode => '0755',
|
||||
|
@ -107,6 +106,5 @@ define abusesa::configwebhost() {
|
|||
group => 'root',
|
||||
content => '',
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -85,7 +85,9 @@ class abusesa::live(
|
|||
#
|
||||
define abusesa::live::configwebhost($htdocs) {
|
||||
|
||||
if ! defined(Abusesa::Configwebhost[$name]) {
|
||||
abusesa::configwebhost { $name: }
|
||||
}
|
||||
|
||||
file { "/srv/www/https/${name}/abusesa/live":
|
||||
ensure => link,
|
||||
|
|
|
@ -136,7 +136,9 @@ class abusesa::search(
|
|||
#
|
||||
define abusesa::search::configwebhost($htdocs) {
|
||||
|
||||
if ! defined(Abusesa::Configwebhost[$name]) {
|
||||
abusesa::configwebhost { $name: }
|
||||
}
|
||||
|
||||
file { "/srv/www/https/${name}/abusesa/search":
|
||||
ensure => link,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue