match dir

This commit is contained in:
Leif Johansson 2018-02-11 22:31:15 +01:00
parent af56b9a281
commit 40c9931fd0

View file

@ -146,8 +146,8 @@ class md_signer($dest_host="localhost",$dest_dir="/var/www/") {
}
}
class md_publisher(Array $allow_clients = []) {
sunet::rrsync {"/var/www":
class md_publisher(Array $allow_clients = [], String $dir = "/var/www/html") {
sunet::rrsync {$dir:
ssh_key => safe_hiera('publisher_ssh_key',"NOT SET IN HIERA"),
ssh_key_type => safe_hiera('publisher_ssh_key_type',"HOT SET IN HIERA")
}