Commit a20257be authored by mh's avatar mh
Browse files

linting

parent 88338b07
...@@ -26,8 +26,8 @@ define webhosting::user_scripts::manage( ...@@ -26,8 +26,8 @@ define webhosting::user_scripts::manage(
require ::webhosting::user_scripts require ::webhosting::user_scripts
file{ file{
"user_scripts_${name}": "user_scripts_${name}":
path => $scripts_path,
ensure => directory, ensure => directory,
path => $scripts_path,
owner => root, owner => root,
group => $web_group, group => $web_group,
mode => '0440', mode => '0440',
...@@ -52,10 +52,10 @@ define webhosting::user_scripts::manage( ...@@ -52,10 +52,10 @@ define webhosting::user_scripts::manage(
if ($script_name in $scripts) or ($scripts == 'ALL') { if ($script_name in $scripts) or ($scripts == 'ALL') {
file{ file{
"${scripts_path}/${script_name}": "${scripts_path}/${script_name}":
ensure => directory, ensure => directory,
owner => $sftp_user, owner => $sftp_user,
group => $web_group, group => $web_group,
mode => '0600'; mode => '0600';
"incron_${script_name}_${name}": "incron_${script_name}_${name}":
path => "/etc/incron.d/${name}_${script_name}", path => "/etc/incron.d/${name}_${script_name}",
content => "${scripts_path}/${script_name}/ IN_CREATE /opt/webhosting_user_scripts/common/run_incron.sh \$@ \$#\n", 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