Commit a20257be authored by mh's avatar mh
Browse files

linting

parent 88338b07
......@@ -26,8 +26,8 @@ define webhosting::user_scripts::manage(
require ::webhosting::user_scripts
file{
"user_scripts_${name}":
path => $scripts_path,
ensure => directory,
path => $scripts_path,
owner => root,
group => $web_group,
mode => '0440',
......@@ -52,10 +52,10 @@ define webhosting::user_scripts::manage(
if ($script_name in $scripts) or ($scripts == 'ALL') {
file{
"${scripts_path}/${script_name}":
ensure => directory,
owner => $sftp_user,
group => $web_group,
mode => '0600';
ensure => directory,
owner => $sftp_user,
group => $web_group,
mode => '0600';
"incron_${script_name}_${name}":
path => "/etc/incron.d/${name}_${script_name}",
content => "${scripts_path}/${script_name}/ IN_CREATE /opt/webhosting_user_scripts/common/run_incron.sh \$@ \$#\n",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment