summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2010-11-17 16:01:06 -0800
committerNick Lewis <nick@puppetlabs.com>2010-11-17 16:01:06 -0800
commitb5261cddc1b771fea57a14ea7174ec6d801076d5 (patch)
treedbe65a26b3637939d94af147ae2be0bd6c4432b0 /test
parent68b1404804d239670092a40607eacbf03757ba16 (diff)
parent2052f3611fd18cb93a43f4cfb547c9c9205a8952 (diff)
downloadpuppet-b5261cddc1b771fea57a14ea7174ec6d801076d5.tar.gz
puppet-b5261cddc1b771fea57a14ea7174ec6d801076d5.tar.xz
puppet-b5261cddc1b771fea57a14ea7174ec6d801076d5.zip
Merge branch 'ticket/next/5274' into next
Diffstat (limited to 'test')
-rw-r--r--test/data/providers/host/parsed/valid_hosts19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/data/providers/host/parsed/valid_hosts b/test/data/providers/host/parsed/valid_hosts
new file mode 100644
index 000000000..24636295d
--- /dev/null
+++ b/test/data/providers/host/parsed/valid_hosts
@@ -0,0 +1,19 @@
+# Some leading comment, that should be ignored
+# The next line is empty so it should be ignored
+
+::1 localhost
+
+# We now try another delimiter: Several tabs
+127.0.0.1 localhost
+
+# No test trailing spaces
+10.0.0.1 host1
+
+# Ok its time to test aliases
+2001:252:0:1::2008:8 ipv6host alias1
+192.168.0.1 ipv4host alias2 alias3
+
+# Testing inlinecomments now
+192.168.0.2 host3 # This is host3
+192.168.0.3 host4 alias10 # This is host4
+192.168.0.4 host5 alias11 alias12 # This is host5