a bit more permissive dir is ok in this case

This commit is contained in:
Leif Johansson 2018-02-12 23:50:07 +01:00
parent a847bc334b
commit dff2aefc6e

View file

@ -159,7 +159,8 @@ class md_publisher(Array $allow_clients=['any'], $keyname=undef, String $dir="/v
undef => $::fqdn,
default => $keyname
}
file { '/var/www/html': ensure => directory, mode => '0644', owner => 'www-data', group =>'www-data' } ->
# this allows fileage check to work wo sudo
file { '/var/www/html': ensure => directory, mode => '0755', owner => 'www-data', group =>'www-data' } ->
sunet::rrsync {$dir:
ro => false,
ssh_key => safe_hiera('publisher_ssh_key',"NOT SET IN HIERA"),