Skip to content

Instantly share code, notes, and snippets.

@omarqureshi
Created January 28, 2014 17:52
Show Gist options
  • Save omarqureshi/8672633 to your computer and use it in GitHub Desktop.
Save omarqureshi/8672633 to your computer and use it in GitHub Desktop.
node "rackspace-search" inherits rackspace {
firewall {'920 accept es http':
port => 9200,
proto => 'tcp',
action => 'accept',
}
firewall {'930 accept es tcp':
port => 9300,
proto => 'tcp',
action => 'accept',
}
firewall {'003 allow es multicast':
port => 54328,
pkttype => "multicast",
proto => 'udp',
action => 'accept'
}
}
node "redacted" inherits "rackspace-search" {
class {"elasticsearch":
cluster_name => "buddy",
bind_address => "192.168.3.1",
}
}
node "redacted" inherits "rackspace-search" {
class {"elasticsearch":
cluster_name => "buddy",
bind_address => "192.168.3.2",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment