Skip to content

Commit

Permalink
Merge pull request #147 from ncharles/bug_5865/int/correct_path_for_g…
Browse files Browse the repository at this point in the history
…eneric_method

Fixes #5865: Correct the path used byncf_rudder to look for generic meth...
  • Loading branch information
jooooooon committed Nov 28, 2014
2 parents 594f296 + 0019215 commit 8335393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/ncf_rudder.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def generate_value_xml(method_call,generic_method):
def get_technique_expected_reports(technique_metadata):
"""Generates technique expected reports from technique metadata"""
# Get all generic methods
generic_methods = ncf.get_all_generic_methods_metadata()
generic_methods = ncf.get_all_generic_methods_metadata(alt_path='/var/rudder/configuration-repository/ncf')

# Content start with a header
content = ["""# This file contains one line per report expected by Rudder from this technique
Expand Down Expand Up @@ -252,7 +252,7 @@ def canonify_expected_reports(expected_reports, dest):
def generate_rudder_reporting(technique):
"""Generate complementary reporting needed for Rudder in rudder_reporting.st file"""
# Get all generic methods
generic_methods = ncf.get_all_generic_methods_metadata()
generic_methods = ncf.get_all_generic_methods_metadata(alt_path='/var/rudder/configuration-repository/ncf')

content = []
content.append('bundle agent '+ technique['bundle_name']+'_rudder_reporting')
Expand Down

0 comments on commit 8335393

Please sign in to comment.