diff options
| author | Josh Cooper <josh@puppet.com> | 2018-07-13 09:38:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-13 09:38:02 -0700 |
| commit | bd20d920a19e9b011dfd027a802985cea46ae04f (patch) | |
| tree | f882cd2b7c31ae08cd242882b0f7f1d1ed89cbbd /spec/fixtures/unit | |
| parent | 9d96ddecea6367abee1aa77859848b0c158fca80 (diff) | |
| parent | c957642d70f4b778736a9b49cf1ef9702e42c4f1 (diff) | |
| download | puppet-hosts_core-bd20d920a19e9b011dfd027a802985cea46ae04f.tar.gz puppet-hosts_core-bd20d920a19e9b011dfd027a802985cea46ae04f.tar.bz2 | |
Merge pull request #1 from puppetlabs/extraction
Initial host module extraction
Diffstat (limited to 'spec/fixtures/unit')
| -rw-r--r-- | spec/fixtures/unit/provider/host/parsed/valid_hosts | 19 |
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 |
