Skip to content

Commit

Permalink
Fixes #15908: Missleading old_class_prefix in permissions generic method
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdall committed Oct 9, 2019
1 parent ad1b0e1 commit 76d5ad3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tree/30_generic_methods/permissions.cf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ bundle agent permissions(path, mode, owner, group)
"reenable_reporting_${class_prefix}"
usebundle => enable_reporting,
ifvarclass => "should_report";

# old_class_prefix outcome is defined by pemissions_type_recursion
"new result classes" usebundle => _classes_copy("${inner_class_prefix}", "${class_prefix}");

"report" usebundle => _log_v3("Ensure permissions mode ${mode}, owner ${owner} and group ${group} on ${path}", "${path}", "${old_class_prefix}", "${class_prefix}", @{args});
Expand Down

0 comments on commit 76d5ad3

Please sign in to comment.