diff options
Diffstat (limited to 'test/text')
| -rw-r--r-- | test/text/assignments | 9 | ||||
| -rw-r--r-- | test/text/facts | 9 | ||||
| -rw-r--r-- | test/text/functions | 3 | ||||
| -rw-r--r-- | test/text/groups | 7 | ||||
| -rw-r--r-- | test/text/one | 5 | ||||
| -rw-r--r-- | test/text/selectors | 27 |
6 files changed, 0 insertions, 60 deletions
diff --git a/test/text/assignments b/test/text/assignments deleted file mode 100644 index f45b83392..000000000 --- a/test/text/assignments +++ /dev/null @@ -1,9 +0,0 @@ -# $Id$ - -platform = :sunos - -platform = "this is a string of text" - -apache = service["apache"] { - :running => "1" -} diff --git a/test/text/facts b/test/text/facts deleted file mode 100644 index a1562dc82..000000000 --- a/test/text/facts +++ /dev/null @@ -1,9 +0,0 @@ -# $Id$ - -fact["videocard"] { - :interpreter => "/bin/sh", - :code => "lspci | grep VGA", - :os => "Linux" -} -platform = retrieve("platform") -card = retrieve("videocard") diff --git a/test/text/functions b/test/text/functions deleted file mode 100644 index 6d295bdb1..000000000 --- a/test/text/functions +++ /dev/null @@ -1,3 +0,0 @@ -# $Id$ - -platform = retrieve("platform") diff --git a/test/text/groups b/test/text/groups deleted file mode 100644 index 56690eefb..000000000 --- a/test/text/groups +++ /dev/null @@ -1,7 +0,0 @@ -# $Id$ - -# there need to be two forms of adding to groups: -# add the current host to a group, and add a list of hosts to a -# group by name - -group = "crap" diff --git a/test/text/one b/test/text/one deleted file mode 100644 index 12394b72d..000000000 --- a/test/text/one +++ /dev/null @@ -1,5 +0,0 @@ -# $Id$ - -service["sleeper"] { - :running => "1", -} diff --git a/test/text/selectors b/test/text/selectors deleted file mode 100644 index 7a2b26357..000000000 --- a/test/text/selectors +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ - -platform = :sunos - -funtest = platform ? { - :sunos => "yayness" - :aix => :goodness - :default => "badness" -} - -# this is a comment - -sleeper = service["sleeper"] { - :owner => platform ? { - :sunos => "luke" - :default => "root" - }, - # this is a bit retarded, because we'll get a null value if we're not on sunos - # but we don't currently allow selectors as parameter statements... - :group => platform ? :sunos => :luke -} - -# i guess it has to be solved this way... - -platform ? :sunos => service["sleeper"] { - :group => :luke -} |
