aboutsummaryrefslogtreecommitdiff
path: root/spec/fixtures/unit/provider/host/parsed/valid_hosts
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppet.com>2018-07-09 17:15:39 -0700
committerJosh Cooper <josh@puppet.com>2018-07-09 19:44:47 -0700
commit2ac89832b7e065df4490d81b3080b2b570a172ad (patch)
treef9f4f28f30a77c958e8e850acf954336b2301dc9 /spec/fixtures/unit/provider/host/parsed/valid_hosts
parent1c6ae8bfde5175c5d3512f5acb5352fda94a4801 (diff)
downloadpuppet-hosts_core-2ac89832b7e065df4490d81b3080b2b570a172ad.tar.gz
puppet-hosts_core-2ac89832b7e065df4490d81b3080b2b570a172ad.tar.bz2
Initial host import from puppet#ee7cf4d28077be7d1bdbbe934ea012d41d33deff
Diffstat (limited to 'spec/fixtures/unit/provider/host/parsed/valid_hosts')
-rw-r--r--spec/fixtures/unit/provider/host/parsed/valid_hosts19
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/fixtures/unit/provider/host/parsed/valid_hosts b/spec/fixtures/unit/provider/host/parsed/valid_hosts
new file mode 100644
index 0000000..2463629
--- /dev/null
+++ b/spec/fixtures/unit/provider/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