summaryrefslogtreecommitdiffstats
path: root/test/text
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-04-13 15:27:29 +0000
committerLuke Kanies <luke@madstop.com>2005-04-13 15:27:29 +0000
commit464251503ee143ca56ee9b7a3341ca24c102433e (patch)
treedd2e3c86030a6e337e5f552478fe6ce1a0b2a42f /test/text
parent5807dced2619245be1da35d2df7505fea678a781 (diff)
downloadpuppet-464251503ee143ca56ee9b7a3341ca24c102433e.tar.gz
puppet-464251503ee143ca56ee9b7a3341ca24c102433e.tar.xz
puppet-464251503ee143ca56ee9b7a3341ca24c102433e.zip
reorganizing
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@99 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/text')
-rw-r--r--test/text/assignments9
-rw-r--r--test/text/facts9
-rw-r--r--test/text/functions3
-rw-r--r--test/text/groups7
-rw-r--r--test/text/one5
-rw-r--r--test/text/selectors27
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
-}