Skip to content

Commit

Permalink
Add consul firewall rule
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Dec 13, 2024
1 parent 5dda12e commit cf93a14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site/profile/manifests/consul.pp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
$retry_join = $servers
}

nftables::rule { 'default_in-consul':
content => 'tcp dport 8500 accept comment "Accept consul"',
}

class { 'consul':
config_mode => '0640',
acl_api_token => lookup('profile::consul::acl_api_token'),
Expand Down

0 comments on commit cf93a14

Please sign in to comment.