We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4169a68 + 300a6ef commit f3656f8Copy full SHA for f3656f8
manifests/elasticsearch.pp
@@ -91,6 +91,9 @@
91
before => Class['elasticsearch']
92
}
93
94
+ realize Firewall['600 accept elasticsearch http traffic']
95
+ realize Firewall['600 accept elasticsearch cluster traffic']
96
+
97
$es_config = {
98
'network.host' => [ "${::ipaddress_eth0}", "127.0.0.1" ],
99
'http.cors.enabled' => true,
manifests/firewall/rules.pp
@@ -71,4 +71,16 @@
71
dport => '2003',
72
action => 'accept'
73
74
75
+ @firewall { '600 accept elasticsearch http traffic':
76
+ proto => 'tcp',
77
+ dport => '9200',
78
+ action => 'accept'
79
+ }
80
81
+ @firewall { '600 accept elasticsearch cluster traffic':
82
83
+ dport => '9300',
84
85
86
0 commit comments