-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! Fixes #17224: error about rudder-lang in logs
- Loading branch information
gpoblon
committed
Jun 12, 2020
1 parent
e3a43d8
commit cd8fbf2
Showing
8 changed files
with
69 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
rudder-lang/tests/test_files/tester/simplest/technique.cf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "simplest", | ||
"description": "rudderlang simplest for a complete loop", | ||
"version": "1.0", | ||
"bundle_name": "simplest", | ||
"bundle_args": [], | ||
"parameter": [], | ||
"method_calls": [ | ||
{ | ||
"class_context": "debian", | ||
"component": "File absent", | ||
"method_name": "file_absent", | ||
"args": [ | ||
"tmp" | ||
] | ||
} | ||
] | ||
} |
13 changes: 13 additions & 0 deletions
13
rudder-lang/tests/test_files/tester/simplest/technique.cf.rl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This file has been generated with rltranslate | ||
@format=0 | ||
@name="simplest" | ||
@description="rudderlang simplest for a complete loop" | ||
@version="1.0" | ||
@parameters= [ | ||
] | ||
|
||
resource simplest() | ||
simplest state technique() { | ||
@component = "File absent" | ||
if debian_family => file("tmp").absent() as file_absent_tmp | ||
} |
15 changes: 15 additions & 0 deletions
15
rudder-lang/tests/test_files/tester/simplest/technique.cf.rl.cf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# generated by rudder-lang | ||
# @name simplest | ||
# @description rudderlang simplest for a complete loop | ||
# @version 1.0 | ||
|
||
bundle agent simplest_technique | ||
{ | ||
vars: | ||
"resources_dir" string => "${this.promise_dirname}/resources"; | ||
methods: | ||
"File absent_${report_data.directive_id}_0" usebundle => _method_reporting_context("File absent", "tmp"), | ||
if => concat("debian_family"); | ||
"File absent_${report_data.directive_id}_0" usebundle => file_absent("tmp"), | ||
if => concat("debian_family"); | ||
} |
18 changes: 18 additions & 0 deletions
18
rudder-lang/tests/test_files/tester/simplest/technique.cf.rl.cf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "simplest", | ||
"description": "rudderlang simplest for a complete loop", | ||
"version": "1.0", | ||
"bundle_name": "simplest_technique", | ||
"bundle_args": [], | ||
"parameter": [], | ||
"method_calls": [ | ||
{ | ||
"class_context": "debian_family", | ||
"component": "File absent", | ||
"method_name": "file_absent", | ||
"args": [ | ||
"tmp" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters