Skip to content

Commit 82d6777

Browse files
author
Jonathan Lassoff
committed
Add support for the ipsets section
Addresses #21
1 parent 67803e3 commit 82d6777

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ var (
3030
"extraDNSRecords": handleArray(),
3131
"grants": handleArray(),
3232
"groups": handleObject(),
33+
"ipsets": handleObject(),
3334
"nodeAttrs": handleArray(), // TODO: need to merge anything?
3435
"postures": handleObject(),
3536
"ssh": handleArray(),

testdata/input-parent.hujson

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,8 @@
6363
"tag:dave": [],
6464
"tag:jane": [],
6565
},
66+
67+
"ipsets": {
68+
"ipset:parent": ["192.0.2.0"],
69+
},
6670
}

0 commit comments

Comments
 (0)