~tieto/+junk/cfengine3

« back to all changes in this revision

Viewing changes to tests/units/unit_grep.cf~

  • Committer: Bazaar Package Importer
  • Author(s): Antonio Radici
  • Date: 2010-06-09 23:14:56 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100609231456-fsfppubmvvx4hntk
Tags: 3.0.5+dfsg-1
* New upstream release
* debian/watch: modified again to catch the newest versions
* debian/patches:
  + all patches: refreshed
  + cf-monitor-pid: removed, it is upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#######################################################
2
 
#
3
 
# join function to concat a list
4
 
#
5
 
#######################################################
6
 
 
7
 
body common control
8
 
 
9
 
{
10
 
any::
11
 
 
12
 
  bundlesequence  => {
13
 
                     test
14
 
                     };   
15
 
}
16
 
 
17
 
#######################################################
18
 
 
19
 
bundle agent test
20
 
 
21
 
{
22
 
vars:
23
 
 
24
 
  "mylist" slist => { "one", "two", "three", "four", "five" };
25
 
 
26
 
  "scalar" string => join("<->","mylist");
27
 
 
28
 
reports:
29
 
 
30
 
 linux::
31
 
 
32
 
  "Concatenated $(scalar)";
33
 
 
34
 
}