Skip to content

Commit

Permalink
adds region variable to rules template
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhipfel committed Mar 28, 2023
1 parent 35553c6 commit 2d675f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/node/openstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func (n *Node) getRules() (r config.Rule, err error) {
out := new(bytes.Buffer)
d := map[string]interface{}{
"node": n.Name,
"region": n.cfg.Region,
"inventory": data.Inventory,
}
err = t.Execute(out, d)
Expand Down

0 comments on commit 2d675f7

Please sign in to comment.