This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node db3 { | |
| include racknode | |
| lvm::volume { 'mysqllv': | |
| ensure => present, | |
| vg => 'mysqlvg', | |
| pv => '/dev/xvde1', | |
| fstype => 'xfs', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package solr | |
| import ( | |
| "encoding/xml" | |
| ) | |
| type SolrResponse struct { | |
| Results SolrResults `xml:"result"` | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define firewall::open_restricted_port($proto = 'tcp') { | |
| $port = $name | |
| $str = strip(generate("/etc/puppet/bin/mungeip.py")) | |
| $iplist = split($str, ':') | |
| $names = prefix($iplist, "100 allow restricted ${proto}-${port}/") | |
| firewall::open_port_loop_hack {$names: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # (@@) ( ) (@) ( ) @@ () @ O @ O @ | |
| # ( ) | |
| # (@@@@) | |
| # ( ) | |
| # | |
| # (@@@) | |
| # ==== ________ ___________ | |
| # _D _| |_______/ \__I_I_____===__|_________| | |
| # |(_)--- | H\________/ | | =|___ ___| _________________ |