Moved BackupPC authentication configuration to htaccess file
This commit is contained in:
parent
1093ac1cf6
commit
7cb3953a96
4 changed files with 32 additions and 27 deletions
|
@ -83,7 +83,17 @@ class backuppc::server {
|
|||
|
||||
apache::configfile { "BackupPC.conf":
|
||||
http => false,
|
||||
content => template("backuppc/BackupPC.conf.erb"),
|
||||
source => "puppet:///modules/backuppc/backuppc-httpd.conf",
|
||||
require => Package["BackupPC"],
|
||||
}
|
||||
|
||||
file { "/usr/share/BackupPC/sbin/.htaccess":
|
||||
ensure => present,
|
||||
mode => 0644,
|
||||
owner => "root",
|
||||
group => "root",
|
||||
source => [ "puppet:///files/backuppc/htaccess",
|
||||
"puppet:///modules/backuppc/htaccess", ],
|
||||
require => Package["BackupPC"],
|
||||
}
|
||||
|
||||
|
@ -94,6 +104,15 @@ class backuppc::server {
|
|||
group => $apache::sslserver::group,
|
||||
require => Package["BackupPC"],
|
||||
}
|
||||
|
||||
file { "/etc/BackupPC/apache.users":
|
||||
ensure => present,
|
||||
mode => 0640,
|
||||
owner => "root",
|
||||
group => $apache::sslserver::group,
|
||||
require => Package["BackupPC"],
|
||||
}
|
||||
|
||||
file { "/etc/BackupPC/config.pl":
|
||||
ensure => present,
|
||||
source => "puppet:///files/backuppc/config.pl",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue