diff options
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/swift/ChangeLog | 11 | ||||
-rw-r--r-- | sys-cluster/swift/files/swift-proxy-server.initd | 838 | ||||
-rw-r--r-- | sys-cluster/swift/files/swift-storage-server.confd | 775 | ||||
-rw-r--r-- | sys-cluster/swift/files/swift-storage-server.initd | 60 | ||||
-rw-r--r-- | sys-cluster/swift/metadata.xml | 13 | ||||
-rw-r--r-- | sys-cluster/swift/swift-1.7.4.ebuild | 151 |
6 files changed, 1848 insertions, 0 deletions
diff --git a/sys-cluster/swift/ChangeLog b/sys-cluster/swift/ChangeLog new file mode 100644 index 0000000..5f93ac8 --- /dev/null +++ b/sys-cluster/swift/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sys-cluster/swift +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*swift-1.7.4 (31 Dec 2012) + + 31 Dec 2012; Matthew Thode <prometheanfire@gentoo.org> +swift-1.7.4.ebuild, + +files/swift-proxy-server.initd, +files/swift-storage-server.confd, + +files/swift-storage-server.initd, +metadata.xml: + initial add of openstack-swift + diff --git a/sys-cluster/swift/files/swift-proxy-server.initd b/sys-cluster/swift/files/swift-proxy-server.initd new file mode 100644 index 0000000..b899a09 --- /dev/null +++ b/sys-cluster/swift/files/swift-proxy-server.initd @@ -0,0 +1,838 @@ + + + +<!DOCTYPE html> +<html> + <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# githubog: http://ogp.me/ns/fb/githubog#"> + <meta charset='utf-8'> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <title>openstack-overlay/sys-cluster/swift/files/swift-proxy-server.initd at master · hyves-org/openstack-overlay · GitHub</title> + <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" /> + <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub" /> + <link rel="apple-touch-icon-precomposed" sizes="57x57" href="apple-touch-icon-114.png" /> + <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114.png" /> + <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-144.png" /> + <link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144.png" /> + <meta name="msapplication-TileImage" content="/windows-tile.png"> + <meta name="msapplication-TileColor" content="#ffffff"> + + + + <link rel="icon" type="image/x-icon" href="/favicon.ico" /> + + <meta content="authenticity_token" name="csrf-param" /> +<meta content="g0jvX3j6uTvQ+QokqxNdMhyLQBYXkHbzFBelaieIZek=" name="csrf-token" /> + + <link href="https://a248.e.akamai.net/assets.github.com/assets/github-136f905f03a0a6ce0292d2e017a31c4fe548e2d0.css" media="screen" rel="stylesheet" type="text/css" /> + <link href="https://a248.e.akamai.net/assets.github.com/assets/github2-2326d6d1fbc034bffa9b37cad622815f40671037.css" media="screen" rel="stylesheet" type="text/css" /> + + + + <script src="https://a248.e.akamai.net/assets.github.com/assets/frameworks-eee761b9d5e06efb064aaaf528c44ef8e1601e71.js" type="text/javascript"></script> + <script src="https://a248.e.akamai.net/assets.github.com/assets/github-69e35ef6c3d5b779e39f65bd04a4e43ff670991e.js" type="text/javascript"></script> + + + <link rel='permalink' href='/hyves-org/openstack-overlay/blob/271137305359f85d0f21a85e5387fba068b26e88/sys-cluster/swift/files/swift-proxy-server.initd'> + <meta property="og:title" content="openstack-overlay"/> + <meta property="og:type" content="githubog:gitrepository"/> + <meta property="og:url" content="https://github.com/hyves-org/openstack-overlay"/> + <meta property="og:image" content="https://secure.gravatar.com/avatar/c5cfe5b5d4533c3637cd4315ff18e834?s=420&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png"/> + <meta property="og:site_name" content="GitHub"/> + <meta property="og:description" content="openstack-overlay - An overlay with the required ebuilds to install and run Openstack on Gentoo Linux"/> + + <meta name="description" content="openstack-overlay - An overlay with the required ebuilds to install and run Openstack on Gentoo Linux" /> + + <link href="https://github.com/hyves-org/openstack-overlay/commits/master.atom" rel="alternate" title="Recent Commits to openstack-overlay:master" type="application/atom+xml" /> + + </head> + + + <body class="logged_out page-blob vis-public env-production "> + <div id="wrapper"> + + + + + + + + + <div class="header header-logged-out"> + <div class="container clearfix"> + + <a class="header-logo-wordmark" href="https://github.com/"> + <img alt="GitHub" class="github-logo-4x" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@4x.png?1340659530" /> + <img alt="GitHub" class="github-logo-4x-hover" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@4x-hover.png?1340659530" /> + </a> + + +<ul class="top-nav"> + <li class="explore"><a href="https://github.com/explore">Explore GitHub</a></li> + <li class="search"><a href="https://github.com/search">Search</a></li> + <li class="features"><a href="https://github.com/features">Features</a></li> + <li class="blog"><a href="https://github.com/blog">Blog</a></li> +</ul> + + + <div class="header-actions"> + <a class="button primary classy" href="https://github.com/signup">Sign up for free</a> + <a class="button classy" href="https://github.com/login?return_to=%2Fhyves-org%2Fopenstack-overlay%2Fblob%2Fmaster%2Fsys-cluster%2Fswift%2Ffiles%2Fswift-proxy-server.initd">Sign in</a> + </div> + + </div> + </div> + + + + + + + + <div class="site hfeed" itemscope itemtype="http://schema.org/WebPage"> + <div class="hentry"> + + <div class="pagehead repohead instapaper_ignore readability-menu"> + <div class="container"> + <div class="title-actions-bar"> + + + + <ul class="pagehead-actions"> + + + <li> + <span class="star-button"><a href="/login?return_to=%2Fhyves-org%2Fopenstack-overlay" class="minibutton js-toggler-target entice tooltipped leftwards" title="You must be signed in to use this feature" rel="nofollow"><span class="mini-icon mini-icon-star"></span>Star</a><a class="social-count js-social-count" href="/hyves-org/openstack-overlay/stargazers">13</a></span> + </li> + <li> + <a href="/login?return_to=%2Fhyves-org%2Fopenstack-overlay" class="minibutton js-toggler-target fork-button entice tooltipped leftwards" title="You must be signed in to fork a repository" rel="nofollow"><span class="mini-icon mini-icon-fork"></span>Fork</a><a href="/hyves-org/openstack-overlay/network" class="social-count">8</a> + </li> + </ul> + + <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public"> + <span class="repo-label"><span>public</span></span> + <span class="mega-icon mega-icon-public-repo"></span> + <span class="author vcard"> + <a href="/hyves-org" class="url fn" itemprop="url" rel="author"> + <span itemprop="title">hyves-org</span> + </a></span> / + <strong><a href="/hyves-org/openstack-overlay" class="js-current-repository">openstack-overlay</a></strong> + </h1> + </div> + + + + <ul class="tabs"> + <li><a href="/hyves-org/openstack-overlay" class="selected" highlight="repo_sourcerepo_downloadsrepo_commitsrepo_tagsrepo_branches">Code</a></li> + <li><a href="/hyves-org/openstack-overlay/network" highlight="repo_network">Network</a></li> + <li><a href="/hyves-org/openstack-overlay/pulls" highlight="repo_pulls">Pull Requests <span class='counter'>0</span></a></li> + + <li><a href="/hyves-org/openstack-overlay/issues" highlight="repo_issues">Issues <span class='counter'>4</span></a></li> + + + + <li><a href="/hyves-org/openstack-overlay/graphs" highlight="repo_graphsrepo_contributors">Graphs</a></li> + + + </ul> + +<div class="tabnav"> + + <span class="tabnav-right"> + <ul class="tabnav-tabs"> + <li><a href="/hyves-org/openstack-overlay/tags" class="tabnav-tab" highlight="repo_tags">Tags <span class="counter blank">0</span></a></li> + </ul> + + </span> + + <div class="tabnav-widget scope"> + + + <div class="context-menu-container js-menu-container js-context-menu"> + <a href="#" + class="minibutton bigger switcher js-menu-target js-commitish-button btn-branch repo-tree" + data-hotkey="w" + data-ref="master"> + <span><em class="mini-icon mini-icon-branch"></em><i>branch:</i> master</span> + </a> + + <div class="context-pane commitish-context js-menu-content"> + <a href="#" class="close js-menu-close"><span class="mini-icon mini-icon-remove-close"></span></a> + <div class="context-title">Switch branches/tags</div> + <div class="context-body pane-selector commitish-selector js-navigation-container"> + <div class="filterbar"> + <input type="text" id="context-commitish-filter-field" class="js-navigation-enable js-filterable-field js-ref-filter-field" placeholder="Filter branches/tags"> + <ul class="tabs"> + <li><a href="#" data-filter="branches" class="selected">Branches</a></li> + <li><a href="#" data-filter="tags">Tags</a></li> + </ul> + </div> + + <div class="js-filter-tab js-filter-branches"> + <div data-filterable-for="context-commitish-filter-field" data-filterable-type=substring> + <div class="commitish-item branch-commitish selector-item js-navigation-item js-navigation-target selected"> + <span class="mini-icon mini-icon-confirm"></span> + <h4> + <a href="/hyves-org/openstack-overlay/blob/master/sys-cluster/swift/files/swift-proxy-server.initd" class="js-navigation-open" data-name="master" rel="nofollow">master</a> + </h4> + </div> + </div> + <div class="no-results">Nothing to show</div> + + + </div> + + <div class="js-filter-tab js-filter-tags filter-tab-empty" style="display:none"> + <div data-filterable-for="context-commitish-filter-field" data-filterable-type=substring> + </div> + <div class="no-results">Nothing to show</div> + </div> + + </div> + </div><!-- /.commitish-context-context --> + </div> + </div> <!-- /.scope --> + + <ul class="tabnav-tabs"> + <li><a href="/hyves-org/openstack-overlay" class="selected tabnav-tab" highlight="repo_source">Files</a></li> + <li><a href="/hyves-org/openstack-overlay/commits/master" class="tabnav-tab" highlight="repo_commits">Commits</a></li> + <li><a href="/hyves-org/openstack-overlay/branches" class="tabnav-tab" highlight="repo_branches" rel="nofollow">Branches <span class="counter ">1</span></a></li> + </ul> + +</div> + + + + + + + + </div> + </div><!-- /.repohead --> + + <div id="js-repo-pjax-container" class="container context-loader-container" data-pjax-container> + + + +<!-- blob contrib key: blob_contributors:v21:e884cf14b8a3f7a8f7641b174c8aa33f --> +<!-- blob contrib frag key: views10/v8/blob_contributors:v21:e884cf14b8a3f7a8f7641b174c8aa33f --> + +<div id="slider"> + + + <div class="frame-meta"> + + <p title="This is a placeholder element" class="js-history-link-replace hidden"></p> + <div class="breadcrumb"> + <span class='bold'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">openstack-overlay</span></a></span></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">sys-cluster</span></a></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster/swift" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">swift</span></a></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster/swift/files" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">files</span></a></span> / <strong class="final-path">swift-proxy-server.initd</strong> <span class="js-clippy mini-icon mini-icon-clippy " data-clipboard-text="sys-cluster/swift/files/swift-proxy-server.initd" data-copied-hint="copied!" data-copy-hint="copy to clipboard"></span> + </div> + + <a href="/hyves-org/openstack-overlay/find/master" class="js-slide-to" data-hotkey="t" style="display:none">Show File Finder</a> + + + <div class="commit file-history-tease"> + <img class="main-avatar" height="24" src="https://secure.gravatar.com/avatar/5e727048d87e750a1b21c6670acea0c3?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" /> + <span class="author"><a href="/lensen" rel="author">lensen</a></span> + <time class="js-relative-date" datetime="2012-09-11T01:39:08-07:00" title="2012-09-11 01:39:08">September 11, 2012</time> + <div class="commit-title"> + <a href="/hyves-org/openstack-overlay/commit/1caf08757b6494004c1f01939765ac4202000b12" class="message">Added reload, restart and status opts to init script</a> + </div> + + <div class="participation"> + <p class="quickstat"><a href="#blob_contributors_box" rel="facebox"><strong>1</strong> contributor</a></p> + + </div> + <div id="blob_contributors_box" style="display:none"> + <h2>Users on GitHub who have contributed to this file</h2> + <ul class="facebox-user-list"> + <li> + <img height="24" src="https://secure.gravatar.com/avatar/5e727048d87e750a1b21c6670acea0c3?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" /> + <a href="/lensen">lensen</a> + </li> + </ul> + </div> + </div> + + + </div><!-- ./.frame-meta --> + + <div class="frames"> + <div class="frame" data-permalink-url="/hyves-org/openstack-overlay/blob/271137305359f85d0f21a85e5387fba068b26e88/sys-cluster/swift/files/swift-proxy-server.initd" data-title="openstack-overlay/sys-cluster/swift/files/swift-proxy-server.initd at master · hyves-org/openstack-overlay · GitHub" data-type="blob"> + + <div id="files" class="bubble"> + <div class="file"> + <div class="meta"> + <div class="info"> + <span class="icon"><b class="mini-icon mini-icon-text-file"></b></span> + <span class="mode" title="File Mode">executable file</span> + <span>65 lines (49 sloc)</span> + <span>1.491 kb</span> + </div> + <ul class="button-group actions"> + <li> + <a class="grouped-button minibutton bigger lighter js-entice" href="" + data-entice="You must be signed in and on a branch to make or propose changes">Edit</a> + </li> + <li><a href="/hyves-org/openstack-overlay/raw/master/sys-cluster/swift/files/swift-proxy-server.initd" class="minibutton grouped-button bigger lighter" id="raw-url">Raw</a></li> + <li><a href="/hyves-org/openstack-overlay/blame/master/sys-cluster/swift/files/swift-proxy-server.initd" class="minibutton grouped-button bigger lighter">Blame</a></li> + <li><a href="/hyves-org/openstack-overlay/commits/master/sys-cluster/swift/files/swift-proxy-server.initd" class="minibutton grouped-button bigger lighter" rel="nofollow">History</a></li> + </ul> + </div> + <div class="data type-text"> + <table cellpadding="0" cellspacing="0" class="lines"> + <tr> + <td> + <pre class="line_numbers"><span id="L1" rel="#L1">1</span> +<span id="L2" rel="#L2">2</span> +<span id="L3" rel="#L3">3</span> +<span id="L4" rel="#L4">4</span> +<span id="L5" rel="#L5">5</span> +<span id="L6" rel="#L6">6</span> +<span id="L7" rel="#L7">7</span> +<span id="L8" rel="#L8">8</span> +<span id="L9" rel="#L9">9</span> +<span id="L10" rel="#L10">10</span> +<span id="L11" rel="#L11">11</span> +<span id="L12" rel="#L12">12</span> +<span id="L13" rel="#L13">13</span> +<span id="L14" rel="#L14">14</span> +<span id="L15" rel="#L15">15</span> +<span id="L16" rel="#L16">16</span> +<span id="L17" rel="#L17">17</span> +<span id="L18" rel="#L18">18</span> +<span id="L19" rel="#L19">19</span> +<span id="L20" rel="#L20">20</span> +<span id="L21" rel="#L21">21</span> +<span id="L22" rel="#L22">22</span> +<span id="L23" rel="#L23">23</span> +<span id="L24" rel="#L24">24</span> +<span id="L25" rel="#L25">25</span> +<span id="L26" rel="#L26">26</span> +<span id="L27" rel="#L27">27</span> +<span id="L28" rel="#L28">28</span> +<span id="L29" rel="#L29">29</span> +<span id="L30" rel="#L30">30</span> +<span id="L31" rel="#L31">31</span> +<span id="L32" rel="#L32">32</span> +<span id="L33" rel="#L33">33</span> +<span id="L34" rel="#L34">34</span> +<span id="L35" rel="#L35">35</span> +<span id="L36" rel="#L36">36</span> +<span id="L37" rel="#L37">37</span> +<span id="L38" rel="#L38">38</span> +<span id="L39" rel="#L39">39</span> +<span id="L40" rel="#L40">40</span> +<span id="L41" rel="#L41">41</span> +<span id="L42" rel="#L42">42</span> +<span id="L43" rel="#L43">43</span> +<span id="L44" rel="#L44">44</span> +<span id="L45" rel="#L45">45</span> +<span id="L46" rel="#L46">46</span> +<span id="L47" rel="#L47">47</span> +<span id="L48" rel="#L48">48</span> +<span id="L49" rel="#L49">49</span> +<span id="L50" rel="#L50">50</span> +<span id="L51" rel="#L51">51</span> +<span id="L52" rel="#L52">52</span> +<span id="L53" rel="#L53">53</span> +<span id="L54" rel="#L54">54</span> +<span id="L55" rel="#L55">55</span> +<span id="L56" rel="#L56">56</span> +<span id="L57" rel="#L57">57</span> +<span id="L58" rel="#L58">58</span> +<span id="L59" rel="#L59">59</span> +<span id="L60" rel="#L60">60</span> +<span id="L61" rel="#L61">61</span> +<span id="L62" rel="#L62">62</span> +<span id="L63" rel="#L63">63</span> +<span id="L64" rel="#L64">64</span> +</pre> + </td> + <td width="100%"> + <div class="highlight"><pre><div class='line' id='LC1'>#!/sbin/runscript</div><div class='line' id='LC2'># Copyright 1999-2011 Gentoo Foundation</div><div class='line' id='LC3'># Distributed under the terms of the GNU General Public License v2</div><div class='line' id='LC4'># $Header: $</div><div class='line' id='LC5'>#</div><div class='line' id='LC6'># Author: Cor Cornelisse <corcornelisse@gmail.com></div><div class='line' id='LC7'><br/></div><div class='line' id='LC8'>depend() {</div><div class='line' id='LC9'> need net</div><div class='line' id='LC10'>}</div><div class='line' id='LC11'><br/></div><div class='line' id='LC12'>opts="reload"</div><div class='line' id='LC13'><br/></div><div class='line' id='LC14'>BASENAME=$(echo $SVCNAME | cut -d '-' -f 1)</div><div class='line' id='LC15'>SERVERNAME=$(echo $SVCNAME | cut -c 7-)</div><div class='line' id='LC16'><br/></div><div class='line' id='LC17'>checkconfig() {</div><div class='line' id='LC18'> if [ ! -r /etc/${BASENAME}/${SERVICENAME} ]; then</div><div class='line' id='LC19'> eerror "No config file found: /etc/${BASENAME}/${SERVICENAME}"</div><div class='line' id='LC20'> return 1</div><div class='line' id='LC21'> fi</div><div class='line' id='LC22'> return 0</div><div class='line' id='LC23'>}</div><div class='line' id='LC24'><br/></div><div class='line' id='LC25'><br/></div><div class='line' id='LC26'>start() {</div><div class='line' id='LC27'> checkconfig || return $?</div><div class='line' id='LC28'><br/></div><div class='line' id='LC29'> ebegin "Starting ${SVCNAME}"</div><div class='line' id='LC30'> start-stop-daemon --start --pidfile "/var/run/${BASENAME}/${SERVERNAME}.pid" \</div><div class='line' id='LC31'> --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} start</div><div class='line' id='LC32'> eend $? "Failed to start ${SVCNAME}"</div><div class='line' id='LC33'>}</div><div class='line' id='LC34'><br/></div><div class='line' id='LC35'>stop() {</div><div class='line' id='LC36'> checkconfig || return $?</div><div class='line' id='LC37'><br/></div><div class='line' id='LC38'> ebegin "Stopping ${SVCNAME}"</div><div class='line' id='LC39'> start-stop-daemon --stop --pidfile "/var/run/${BASENAME}/${SERVERNAME}.pid" \</div><div class='line' id='LC40'> --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} stop </div><div class='line' id='LC41'> eend $? "Failed to stop ${SVCNAME}"</div><div class='line' id='LC42'>}</div><div class='line' id='LC43'><br/></div><div class='line' id='LC44'>reload() {</div><div class='line' id='LC45'> checkconfig || return $?</div><div class='line' id='LC46'><br/></div><div class='line' id='LC47'> ebegin "Reloading ${SVCNAME}"</div><div class='line' id='LC48'> start-stop-daemon --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} reload</div><div class='line' id='LC49'> eend $? "Failed to reload ${SVCNAME}"</div><div class='line' id='LC50'>}</div><div class='line' id='LC51'><br/></div><div class='line' id='LC52'>restart() {</div><div class='line' id='LC53'> checkconfig || return $?</div><div class='line' id='LC54'><br/></div><div class='line' id='LC55'> ebegin "Restarting ${SVCNAME}"</div><div class='line' id='LC56'> start-stop-daemon --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} restart</div><div class='line' id='LC57'> eend $? "Failed to restart ${SVCNAME}"</div><div class='line' id='LC58'>}</div><div class='line' id='LC59'><br/></div><div class='line' id='LC60'>status() {</div><div class='line' id='LC61'> start-stop-daemon --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} status</div><div class='line' id='LC62'> eend $? "Failed to get status for ${SVCNAME}"</div><div class='line' id='LC63'>}</div><div class='line' id='LC64'><br/></div></pre></div> + </td> + </tr> + </table> + </div> + + </div> + </div> + </div> + + <a href="#jump-to-line" rel="facebox" data-hotkey="l" class="js-jump-to-line" style="display:none">Jump to Line</a> + <div id="jump-to-line" style="display:none"> + <h2>Jump to Line</h2> + <form accept-charset="UTF-8" class="js-jump-to-line-form"> + <input class="textfield js-jump-to-line-field" type="text"> + <div class="full-button"> + <button type="submit" class="classy"> + Go + </button> + </div> + </form> + </div> + + </div> +</div> + +<div id="js-frame-loading-template" class="frame frame-loading large-loading-area" style="display:none;"> + <img class="js-frame-loading-spinner" src="https://a248.e.akamai.net/assets.github.com/images/spinners/octocat-spinner-128.gif?1347543525" height="64" width="64"> +</div> + + + </div> + </div> + <div class="context-overlay"></div> + </div> + + <div id="footer-push"></div><!-- hack for sticky footer --> + </div><!-- end of wrapper - hack for sticky footer --> + + <!-- footer --> + <div id="footer"> + <div class="container clearfix"> + + <dl class="footer_nav"> + <dt>GitHub</dt> + <dd><a href="https://github.com/about">About us</a></dd> + <dd><a href="https://github.com/blog">Blog</a></dd> + <dd><a href="https://github.com/contact">Contact & support</a></dd> + <dd><a href="http://enterprise.github.com/">GitHub Enterprise</a></dd> + <dd><a href="http://status.github.com/">Site status</a></dd> + </dl> + + <dl class="footer_nav"> + <dt>Applications</dt> + <dd><a href="http://mac.github.com/">GitHub for Mac</a></dd> + <dd><a href="http://windows.github.com/">GitHub for Windows</a></dd> + <dd><a href="http://eclipse.github.com/">GitHub for Eclipse</a></dd> + <dd><a href="http://mobile.github.com/">GitHub mobile apps</a></dd> + </dl> + + <dl class="footer_nav"> + <dt>Services</dt> + <dd><a href="http://get.gaug.es/">Gauges: Web analytics</a></dd> + <dd><a href="http://speakerdeck.com">Speaker Deck: Presentations</a></dd> + <dd><a href="https://gist.github.com">Gist: Code snippets</a></dd> + <dd><a href="http://jobs.github.com/">Job board</a></dd> + </dl> + + <dl class="footer_nav"> + <dt>Documentation</dt> + <dd><a href="http://help.github.com/">GitHub Help</a></dd> + <dd><a href="http://developer.github.com/">Developer API</a></dd> + <dd><a href="http://github.github.com/github-flavored-markdown/">GitHub Flavored Markdown</a></dd> + <dd><a href="http://pages.github.com/">GitHub Pages</a></dd> + </dl> + + <dl class="footer_nav"> + <dt>More</dt> + <dd><a href="http://training.github.com/">Training</a></dd> + <dd><a href="https://github.com/edu">Students & teachers</a></dd> + <dd><a href="http://shop.github.com">The Shop</a></dd> + <dd><a href="/plans">Plans & pricing</a></dd> + <dd><a href="http://octodex.github.com/">The Octodex</a></dd> + </dl> + + <hr class="footer-divider"> + + + <p class="right">© 2012 <span title="0.04159s from fe17.rs.github.com">GitHub</span> Inc. All rights reserved.</p> + <a class="left" href="https://github.com/"> + <span class="mega-icon mega-icon-invertocat"></span> + </a> + <ul id="legal"> + <li><a href="https://github.com/site/terms">Terms of Service</a></li> + <li><a href="https://github.com/site/privacy">Privacy</a></li> + <li><a href="https://github.com/security">Security</a></li> + </ul> + + </div><!-- /.container --> + +</div><!-- /.#footer --> + + + + +<div id="keyboard_shortcuts_pane" class="instapaper_ignore readability-extra" style="display:none"> + <h2>Keyboard Shortcuts <small><a href="#" class="js-see-all-keyboard-shortcuts">(see all)</a></small></h2> + + <div class="columns threecols"> + <div class="column first"> + <h3>Site wide shortcuts</h3> + <dl class="keyboard-mappings"> + <dt>s</dt> + <dd>Focus command bar</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>?</dt> + <dd>Bring up this help dialog</dd> + </dl> + </div><!-- /.column.first --> + + <div class="column middle" style='display:none'> + <h3>Commit list</h3> + <dl class="keyboard-mappings"> + <dt>j</dt> + <dd>Move selection down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>k</dt> + <dd>Move selection up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>c <em>or</em> o <em>or</em> enter</dt> + <dd>Open commit</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>y</dt> + <dd>Expand URL to its canonical form</dd> + </dl> + </div><!-- /.column.first --> + + <div class="column last js-hidden-pane" style='display:none'> + <h3>Pull request list</h3> + <dl class="keyboard-mappings"> + <dt>j</dt> + <dd>Move selection down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>k</dt> + <dd>Move selection up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>o <em>or</em> enter</dt> + <dd>Open issue</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt> + <dd>Submit comment</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> shift p</dt> + <dd>Preview comment</dd> + </dl> + </div><!-- /.columns.last --> + + </div><!-- /.columns.equacols --> + + <div class="js-hidden-pane" style='display:none'> + <div class="rule"></div> + + <h3>Issues</h3> + + <div class="columns threecols"> + <div class="column first"> + <dl class="keyboard-mappings"> + <dt>j</dt> + <dd>Move selection down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>k</dt> + <dd>Move selection up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>x</dt> + <dd>Toggle selection</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>o <em>or</em> enter</dt> + <dd>Open issue</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt> + <dd>Submit comment</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> shift p</dt> + <dd>Preview comment</dd> + </dl> + </div><!-- /.column.first --> + <div class="column last"> + <dl class="keyboard-mappings"> + <dt>c</dt> + <dd>Create issue</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>l</dt> + <dd>Create label</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>i</dt> + <dd>Back to inbox</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>u</dt> + <dd>Back to issues</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>/</dt> + <dd>Focus issues search</dd> + </dl> + </div> + </div> + </div> + + <div class="js-hidden-pane" style='display:none'> + <div class="rule"></div> + + <h3>Issues Dashboard</h3> + + <div class="columns threecols"> + <div class="column first"> + <dl class="keyboard-mappings"> + <dt>j</dt> + <dd>Move selection down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>k</dt> + <dd>Move selection up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>o <em>or</em> enter</dt> + <dd>Open issue</dd> + </dl> + </div><!-- /.column.first --> + </div> + </div> + + <div class="js-hidden-pane" style='display:none'> + <div class="rule"></div> + + <h3>Network Graph</h3> + <div class="columns equacols"> + <div class="column first"> + <dl class="keyboard-mappings"> + <dt><span class="badmono">←</span> <em>or</em> h</dt> + <dd>Scroll left</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="badmono">→</span> <em>or</em> l</dt> + <dd>Scroll right</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="badmono">↑</span> <em>or</em> k</dt> + <dd>Scroll up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="badmono">↓</span> <em>or</em> j</dt> + <dd>Scroll down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>t</dt> + <dd>Toggle visibility of head labels</dd> + </dl> + </div><!-- /.column.first --> + <div class="column last"> + <dl class="keyboard-mappings"> + <dt>shift <span class="badmono">←</span> <em>or</em> shift h</dt> + <dd>Scroll all the way left</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>shift <span class="badmono">→</span> <em>or</em> shift l</dt> + <dd>Scroll all the way right</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>shift <span class="badmono">↑</span> <em>or</em> shift k</dt> + <dd>Scroll all the way up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>shift <span class="badmono">↓</span> <em>or</em> shift j</dt> + <dd>Scroll all the way down</dd> + </dl> + </div><!-- /.column.last --> + </div> + </div> + + <div class="js-hidden-pane" > + <div class="rule"></div> + <div class="columns threecols"> + <div class="column first js-hidden-pane" > + <h3>Source Code Browsing</h3> + <dl class="keyboard-mappings"> + <dt>t</dt> + <dd>Activates the file finder</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>l</dt> + <dd>Jump to line</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>w</dt> + <dd>Switch branch/tag</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>y</dt> + <dd>Expand URL to its canonical form</dd> + </dl> + </div> + </div> + </div> + + <div class="js-hidden-pane" style='display:none'> + <div class="rule"></div> + <div class="columns threecols"> + <div class="column first"> + <h3>Browsing Commits</h3> + <dl class="keyboard-mappings"> + <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt> + <dd>Submit comment</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>escape</dt> + <dd>Close form</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>p</dt> + <dd>Parent commit</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>o</dt> + <dd>Other parent commit</dd> + </dl> + </div> + </div> + </div> + + <div class="js-hidden-pane" style='display:none'> + <div class="rule"></div> + <h3>Notifications</h3> + + <div class="columns threecols"> + <div class="column first"> + <dl class="keyboard-mappings"> + <dt>j</dt> + <dd>Move selection down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>k</dt> + <dd>Move selection up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>o <em>or</em> enter</dt> + <dd>Open notification</dd> + </dl> + </div><!-- /.column.first --> + + <div class="column second"> + <dl class="keyboard-mappings"> + <dt>e <em>or</em> shift i <em>or</em> y</dt> + <dd>Mark as read</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>shift m</dt> + <dd>Mute thread</dd> + </dl> + </div><!-- /.column.first --> + </div> + </div> + +</div> + + <div id="markdown-help" class="instapaper_ignore readability-extra"> + <h2>Markdown Cheat Sheet</h2> + + <div class="cheatsheet-content"> + + <div class="mod"> + <div class="col"> + <h3>Format Text</h3> + <p>Headers</p> + <pre> +# This is an <h1> tag +## This is an <h2> tag +###### This is an <h6> tag</pre> + <p>Text styles</p> + <pre> +*This text will be italic* +_This will also be italic_ +**This text will be bold** +__This will also be bold__ + +*You **can** combine them* +</pre> + </div> + <div class="col"> + <h3>Lists</h3> + <p>Unordered</p> + <pre> +* Item 1 +* Item 2 + * Item 2a + * Item 2b</pre> + <p>Ordered</p> + <pre> +1. Item 1 +2. Item 2 +3. Item 3 + * Item 3a + * Item 3b</pre> + </div> + <div class="col"> + <h3>Miscellaneous</h3> + <p>Images</p> + <pre> +![GitHub Logo](/images/logo.png) +Format: ![Alt Text](url) +</pre> + <p>Links</p> + <pre> +http://github.com - automatic! +[GitHub](http://github.com)</pre> +<p>Blockquotes</p> + <pre> +As Kanye West said: + +> We're living the future so +> the present is our past. +</pre> + </div> + </div> + <div class="rule"></div> + + <h3>Code Examples in Markdown</h3> + <div class="col"> + <p>Syntax highlighting with <a href="http://github.github.com/github-flavored-markdown/" title="GitHub Flavored Markdown" target="_blank">GFM</a></p> + <pre> +```javascript +function fancyAlert(arg) { + if(arg) { + $.facebox({div:'#foo'}) + } +} +```</pre> + </div> + <div class="col"> + <p>Or, indent your code 4 spaces</p> + <pre> +Here is a Python code example +without syntax highlighting: + + def foo: + if not bar: + return true</pre> + </div> + <div class="col"> + <p>Inline code for comments</p> + <pre> +I think you should use an +`<addr>` element here instead.</pre> + </div> + </div> + + </div> +</div> + + + <div id="ajax-error-message" class="flash flash-error"> + <span class="mini-icon mini-icon-exclamation"></span> + Something went wrong with that request. Please try again. + <a href="#" class="mini-icon mini-icon-remove-close ajax-error-dismiss"></a> + </div> + + + + <span id='server_response_time' data-time='0.04280' data-host='fe17'></span> + + </body> +</html> + diff --git a/sys-cluster/swift/files/swift-storage-server.confd b/sys-cluster/swift/files/swift-storage-server.confd new file mode 100644 index 0000000..625dcf5 --- /dev/null +++ b/sys-cluster/swift/files/swift-storage-server.confd @@ -0,0 +1,775 @@ + + + +<!DOCTYPE html> +<html> + <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# githubog: http://ogp.me/ns/fb/githubog#"> + <meta charset='utf-8'> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <title>openstack-overlay/sys-cluster/swift/files/swift-storage-server.confd at master · hyves-org/openstack-overlay · GitHub</title> + <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" /> + <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub" /> + <link rel="apple-touch-icon-precomposed" sizes="57x57" href="apple-touch-icon-114.png" /> + <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114.png" /> + <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-144.png" /> + <link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144.png" /> + <meta name="msapplication-TileImage" content="/windows-tile.png"> + <meta name="msapplication-TileColor" content="#ffffff"> + + + + <link rel="icon" type="image/x-icon" href="/favicon.ico" /> + + <meta content="authenticity_token" name="csrf-param" /> +<meta content="fQoN9Jn8nUuaW90HFyXJkgpgx+vwTvDigQm9nw2jNss=" name="csrf-token" /> + + <link href="https://a248.e.akamai.net/assets.github.com/assets/github-136f905f03a0a6ce0292d2e017a31c4fe548e2d0.css" media="screen" rel="stylesheet" type="text/css" /> + <link href="https://a248.e.akamai.net/assets.github.com/assets/github2-2326d6d1fbc034bffa9b37cad622815f40671037.css" media="screen" rel="stylesheet" type="text/css" /> + + + + <script src="https://a248.e.akamai.net/assets.github.com/assets/frameworks-eee761b9d5e06efb064aaaf528c44ef8e1601e71.js" type="text/javascript"></script> + <script src="https://a248.e.akamai.net/assets.github.com/assets/github-69e35ef6c3d5b779e39f65bd04a4e43ff670991e.js" type="text/javascript"></script> + + + <link rel='permalink' href='/hyves-org/openstack-overlay/blob/271137305359f85d0f21a85e5387fba068b26e88/sys-cluster/swift/files/swift-storage-server.confd'> + <meta property="og:title" content="openstack-overlay"/> + <meta property="og:type" content="githubog:gitrepository"/> + <meta property="og:url" content="https://github.com/hyves-org/openstack-overlay"/> + <meta property="og:image" content="https://secure.gravatar.com/avatar/c5cfe5b5d4533c3637cd4315ff18e834?s=420&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png"/> + <meta property="og:site_name" content="GitHub"/> + <meta property="og:description" content="openstack-overlay - An overlay with the required ebuilds to install and run Openstack on Gentoo Linux"/> + + <meta name="description" content="openstack-overlay - An overlay with the required ebuilds to install and run Openstack on Gentoo Linux" /> + + <link href="https://github.com/hyves-org/openstack-overlay/commits/master.atom" rel="alternate" title="Recent Commits to openstack-overlay:master" type="application/atom+xml" /> + + </head> + + + <body class="logged_out page-blob vis-public env-production "> + <div id="wrapper"> + + + + + + + + + <div class="header header-logged-out"> + <div class="container clearfix"> + + <a class="header-logo-wordmark" href="https://github.com/"> + <img alt="GitHub" class="github-logo-4x" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@4x.png?1338945075" /> + <img alt="GitHub" class="github-logo-4x-hover" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@4x-hover.png?1338945075" /> + </a> + + +<ul class="top-nav"> + <li class="explore"><a href="https://github.com/explore">Explore GitHub</a></li> + <li class="search"><a href="https://github.com/search">Search</a></li> + <li class="features"><a href="https://github.com/features">Features</a></li> + <li class="blog"><a href="https://github.com/blog">Blog</a></li> +</ul> + + + <div class="header-actions"> + <a class="button primary classy" href="https://github.com/signup">Sign up for free</a> + <a class="button classy" href="https://github.com/login?return_to=%2Fhyves-org%2Fopenstack-overlay%2Fblob%2Fmaster%2Fsys-cluster%2Fswift%2Ffiles%2Fswift-storage-server.confd">Sign in</a> + </div> + + </div> + </div> + + + + + + + + <div class="site hfeed" itemscope itemtype="http://schema.org/WebPage"> + <div class="hentry"> + + <div class="pagehead repohead instapaper_ignore readability-menu"> + <div class="container"> + <div class="title-actions-bar"> + + + + <ul class="pagehead-actions"> + + + <li> + <span class="star-button"><a href="/login?return_to=%2Fhyves-org%2Fopenstack-overlay" class="minibutton js-toggler-target entice tooltipped leftwards" title="You must be signed in to use this feature" rel="nofollow"><span class="mini-icon mini-icon-star"></span>Star</a><a class="social-count js-social-count" href="/hyves-org/openstack-overlay/stargazers">13</a></span> + </li> + <li> + <a href="/login?return_to=%2Fhyves-org%2Fopenstack-overlay" class="minibutton js-toggler-target fork-button entice tooltipped leftwards" title="You must be signed in to fork a repository" rel="nofollow"><span class="mini-icon mini-icon-fork"></span>Fork</a><a href="/hyves-org/openstack-overlay/network" class="social-count">8</a> + </li> + </ul> + + <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public"> + <span class="repo-label"><span>public</span></span> + <span class="mega-icon mega-icon-public-repo"></span> + <span class="author vcard"> + <a href="/hyves-org" class="url fn" itemprop="url" rel="author"> + <span itemprop="title">hyves-org</span> + </a></span> / + <strong><a href="/hyves-org/openstack-overlay" class="js-current-repository">openstack-overlay</a></strong> + </h1> + </div> + + + + <ul class="tabs"> + <li><a href="/hyves-org/openstack-overlay" class="selected" highlight="repo_sourcerepo_downloadsrepo_commitsrepo_tagsrepo_branches">Code</a></li> + <li><a href="/hyves-org/openstack-overlay/network" highlight="repo_network">Network</a></li> + <li><a href="/hyves-org/openstack-overlay/pulls" highlight="repo_pulls">Pull Requests <span class='counter'>0</span></a></li> + + <li><a href="/hyves-org/openstack-overlay/issues" highlight="repo_issues">Issues <span class='counter'>4</span></a></li> + + + + <li><a href="/hyves-org/openstack-overlay/graphs" highlight="repo_graphsrepo_contributors">Graphs</a></li> + + + </ul> + +<div class="tabnav"> + + <span class="tabnav-right"> + <ul class="tabnav-tabs"> + <li><a href="/hyves-org/openstack-overlay/tags" class="tabnav-tab" highlight="repo_tags">Tags <span class="counter blank">0</span></a></li> + </ul> + + </span> + + <div class="tabnav-widget scope"> + + + <div class="context-menu-container js-menu-container js-context-menu"> + <a href="#" + class="minibutton bigger switcher js-menu-target js-commitish-button btn-branch repo-tree" + data-hotkey="w" + data-ref="master"> + <span><em class="mini-icon mini-icon-branch"></em><i>branch:</i> master</span> + </a> + + <div class="context-pane commitish-context js-menu-content"> + <a href="#" class="close js-menu-close"><span class="mini-icon mini-icon-remove-close"></span></a> + <div class="context-title">Switch branches/tags</div> + <div class="context-body pane-selector commitish-selector js-navigation-container"> + <div class="filterbar"> + <input type="text" id="context-commitish-filter-field" class="js-navigation-enable js-filterable-field js-ref-filter-field" placeholder="Filter branches/tags"> + <ul class="tabs"> + <li><a href="#" data-filter="branches" class="selected">Branches</a></li> + <li><a href="#" data-filter="tags">Tags</a></li> + </ul> + </div> + + <div class="js-filter-tab js-filter-branches"> + <div data-filterable-for="context-commitish-filter-field" data-filterable-type=substring> + <div class="commitish-item branch-commitish selector-item js-navigation-item js-navigation-target selected"> + <span class="mini-icon mini-icon-confirm"></span> + <h4> + <a href="/hyves-org/openstack-overlay/blob/master/sys-cluster/swift/files/swift-storage-server.confd" class="js-navigation-open" data-name="master" rel="nofollow">master</a> + </h4> + </div> + </div> + <div class="no-results">Nothing to show</div> + + + </div> + + <div class="js-filter-tab js-filter-tags filter-tab-empty" style="display:none"> + <div data-filterable-for="context-commitish-filter-field" data-filterable-type=substring> + </div> + <div class="no-results">Nothing to show</div> + </div> + + </div> + </div><!-- /.commitish-context-context --> + </div> + </div> <!-- /.scope --> + + <ul class="tabnav-tabs"> + <li><a href="/hyves-org/openstack-overlay" class="selected tabnav-tab" highlight="repo_source">Files</a></li> + <li><a href="/hyves-org/openstack-overlay/commits/master" class="tabnav-tab" highlight="repo_commits">Commits</a></li> + <li><a href="/hyves-org/openstack-overlay/branches" class="tabnav-tab" highlight="repo_branches" rel="nofollow">Branches <span class="counter ">1</span></a></li> + </ul> + +</div> + + + + + + + + </div> + </div><!-- /.repohead --> + + <div id="js-repo-pjax-container" class="container context-loader-container" data-pjax-container> + + + +<!-- blob contrib key: blob_contributors:v21:b1fb44a60bb3ba0465708ef3f966ab67 --> +<!-- blob contrib frag key: views10/v8/blob_contributors:v21:b1fb44a60bb3ba0465708ef3f966ab67 --> + +<div id="slider"> + + + <div class="frame-meta"> + + <p title="This is a placeholder element" class="js-history-link-replace hidden"></p> + <div class="breadcrumb"> + <span class='bold'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">openstack-overlay</span></a></span></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">sys-cluster</span></a></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster/swift" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">swift</span></a></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster/swift/files" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">files</span></a></span> / <strong class="final-path">swift-storage-server.confd</strong> <span class="js-clippy mini-icon mini-icon-clippy " data-clipboard-text="sys-cluster/swift/files/swift-storage-server.confd" data-copied-hint="copied!" data-copy-hint="copy to clipboard"></span> + </div> + + <a href="/hyves-org/openstack-overlay/find/master" class="js-slide-to" data-hotkey="t" style="display:none">Show File Finder</a> + + + <div class="commit file-history-tease"> + <img class="main-avatar" height="24" src="https://secure.gravatar.com/avatar/2f42c07abd5729c33aa6ddedf4f8a8c2?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" /> + <span class="author"><span rel="author">Cor Cornelisse</span></span> + <time class="js-relative-date" datetime="2012-01-31T05:40:20-08:00" title="2012-01-31 05:40:20">January 31, 2012</time> + <div class="commit-title"> + <a href="/hyves-org/openstack-overlay/commit/adbc5d42f4ae86954257ee9050e882295b5a8cb5" class="message">New ebuild for swift version 1.4.5, includes init scripting, dependin…</a> + </div> + + <div class="participation"> + <p class="quickstat"><a href="#blob_contributors_box" rel="facebox"><strong>0</strong> contributors</a></p> + + </div> + <div id="blob_contributors_box" style="display:none"> + <h2>Users on GitHub who have contributed to this file</h2> + <ul class="facebox-user-list"> + </ul> + </div> + </div> + + + </div><!-- ./.frame-meta --> + + <div class="frames"> + <div class="frame" data-permalink-url="/hyves-org/openstack-overlay/blob/271137305359f85d0f21a85e5387fba068b26e88/sys-cluster/swift/files/swift-storage-server.confd" data-title="openstack-overlay/sys-cluster/swift/files/swift-storage-server.confd at master · hyves-org/openstack-overlay · GitHub" data-type="blob"> + + <div id="files" class="bubble"> + <div class="file"> + <div class="meta"> + <div class="info"> + <span class="icon"><b class="mini-icon mini-icon-text-file"></b></span> + <span class="mode" title="File Mode">file</span> + <span>6 lines (4 sloc)</span> + <span>0.182 kb</span> + </div> + <ul class="button-group actions"> + <li> + <a class="grouped-button minibutton bigger lighter js-entice" href="" + data-entice="You must be signed in and on a branch to make or propose changes">Edit</a> + </li> + <li><a href="/hyves-org/openstack-overlay/raw/master/sys-cluster/swift/files/swift-storage-server.confd" class="minibutton grouped-button bigger lighter" id="raw-url">Raw</a></li> + <li><a href="/hyves-org/openstack-overlay/blame/master/sys-cluster/swift/files/swift-storage-server.confd" class="minibutton grouped-button bigger lighter">Blame</a></li> + <li><a href="/hyves-org/openstack-overlay/commits/master/sys-cluster/swift/files/swift-storage-server.confd" class="minibutton grouped-button bigger lighter" rel="nofollow">History</a></li> + </ul> + </div> + <div class="data type-text"> + <table cellpadding="0" cellspacing="0" class="lines"> + <tr> + <td> + <pre class="line_numbers"><span id="L1" rel="#L1">1</span> +<span id="L2" rel="#L2">2</span> +<span id="L3" rel="#L3">3</span> +<span id="L4" rel="#L4">4</span> +<span id="L5" rel="#L5">5</span> +</pre> + </td> + <td width="100%"> + <div class="highlight"><pre><div class='line' id='LC1'>SERVERS="account container object"</div><div class='line' id='LC2'><br/></div><div class='line' id='LC3'>ACCOUNTSERVICE="server replicator auditor"</div><div class='line' id='LC4'>CONTAINERSERVICE="server replicator updater auditor"</div><div class='line' id='LC5'>OBJECTSERVICE="server replicator updater auditor"</div></pre></div> + </td> + </tr> + </table> + </div> + + </div> + </div> + </div> + + <a href="#jump-to-line" rel="facebox" data-hotkey="l" class="js-jump-to-line" style="display:none">Jump to Line</a> + <div id="jump-to-line" style="display:none"> + <h2>Jump to Line</h2> + <form accept-charset="UTF-8" class="js-jump-to-line-form"> + <input class="textfield js-jump-to-line-field" type="text"> + <div class="full-button"> + <button type="submit" class="classy"> + Go + </button> + </div> + </form> + </div> + + </div> +</div> + +<div id="js-frame-loading-template" class="frame frame-loading large-loading-area" style="display:none;"> + <img class="js-frame-loading-spinner" src="https://a248.e.akamai.net/assets.github.com/images/spinners/octocat-spinner-128.gif?1347543527" height="64" width="64"> +</div> + + + </div> + </div> + <div class="context-overlay"></div> + </div> + + <div id="footer-push"></div><!-- hack for sticky footer --> + </div><!-- end of wrapper - hack for sticky footer --> + + <!-- footer --> + <div id="footer"> + <div class="container clearfix"> + + <dl class="footer_nav"> + <dt>GitHub</dt> + <dd><a href="https://github.com/about">About us</a></dd> + <dd><a href="https://github.com/blog">Blog</a></dd> + <dd><a href="https://github.com/contact">Contact & support</a></dd> + <dd><a href="http://enterprise.github.com/">GitHub Enterprise</a></dd> + <dd><a href="http://status.github.com/">Site status</a></dd> + </dl> + + <dl class="footer_nav"> + <dt>Applications</dt> + <dd><a href="http://mac.github.com/">GitHub for Mac</a></dd> + <dd><a href="http://windows.github.com/">GitHub for Windows</a></dd> + <dd><a href="http://eclipse.github.com/">GitHub for Eclipse</a></dd> + <dd><a href="http://mobile.github.com/">GitHub mobile apps</a></dd> + </dl> + + <dl class="footer_nav"> + <dt>Services</dt> + <dd><a href="http://get.gaug.es/">Gauges: Web analytics</a></dd> + <dd><a href="http://speakerdeck.com">Speaker Deck: Presentations</a></dd> + <dd><a href="https://gist.github.com">Gist: Code snippets</a></dd> + <dd><a href="http://jobs.github.com/">Job board</a></dd> + </dl> + + <dl class="footer_nav"> + <dt>Documentation</dt> + <dd><a href="http://help.github.com/">GitHub Help</a></dd> + <dd><a href="http://developer.github.com/">Developer API</a></dd> + <dd><a href="http://github.github.com/github-flavored-markdown/">GitHub Flavored Markdown</a></dd> + <dd><a href="http://pages.github.com/">GitHub Pages</a></dd> + </dl> + + <dl class="footer_nav"> + <dt>More</dt> + <dd><a href="http://training.github.com/">Training</a></dd> + <dd><a href="https://github.com/edu">Students & teachers</a></dd> + <dd><a href="http://shop.github.com">The Shop</a></dd> + <dd><a href="/plans">Plans & pricing</a></dd> + <dd><a href="http://octodex.github.com/">The Octodex</a></dd> + </dl> + + <hr class="footer-divider"> + + + <p class="right">© 2012 <span title="0.04317s from fe2.rs.github.com">GitHub</span> Inc. All rights reserved.</p> + <a class="left" href="https://github.com/"> + <span class="mega-icon mega-icon-invertocat"></span> + </a> + <ul id="legal"> + <li><a href="https://github.com/site/terms">Terms of Service</a></li> + <li><a href="https://github.com/site/privacy">Privacy</a></li> + <li><a href="https://github.com/security">Security</a></li> + </ul> + + </div><!-- /.container --> + +</div><!-- /.#footer --> + + + + +<div id="keyboard_shortcuts_pane" class="instapaper_ignore readability-extra" style="display:none"> + <h2>Keyboard Shortcuts <small><a href="#" class="js-see-all-keyboard-shortcuts">(see all)</a></small></h2> + + <div class="columns threecols"> + <div class="column first"> + <h3>Site wide shortcuts</h3> + <dl class="keyboard-mappings"> + <dt>s</dt> + <dd>Focus command bar</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>?</dt> + <dd>Bring up this help dialog</dd> + </dl> + </div><!-- /.column.first --> + + <div class="column middle" style='display:none'> + <h3>Commit list</h3> + <dl class="keyboard-mappings"> + <dt>j</dt> + <dd>Move selection down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>k</dt> + <dd>Move selection up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>c <em>or</em> o <em>or</em> enter</dt> + <dd>Open commit</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>y</dt> + <dd>Expand URL to its canonical form</dd> + </dl> + </div><!-- /.column.first --> + + <div class="column last js-hidden-pane" style='display:none'> + <h3>Pull request list</h3> + <dl class="keyboard-mappings"> + <dt>j</dt> + <dd>Move selection down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>k</dt> + <dd>Move selection up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>o <em>or</em> enter</dt> + <dd>Open issue</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt> + <dd>Submit comment</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> shift p</dt> + <dd>Preview comment</dd> + </dl> + </div><!-- /.columns.last --> + + </div><!-- /.columns.equacols --> + + <div class="js-hidden-pane" style='display:none'> + <div class="rule"></div> + + <h3>Issues</h3> + + <div class="columns threecols"> + <div class="column first"> + <dl class="keyboard-mappings"> + <dt>j</dt> + <dd>Move selection down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>k</dt> + <dd>Move selection up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>x</dt> + <dd>Toggle selection</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>o <em>or</em> enter</dt> + <dd>Open issue</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt> + <dd>Submit comment</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> shift p</dt> + <dd>Preview comment</dd> + </dl> + </div><!-- /.column.first --> + <div class="column last"> + <dl class="keyboard-mappings"> + <dt>c</dt> + <dd>Create issue</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>l</dt> + <dd>Create label</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>i</dt> + <dd>Back to inbox</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>u</dt> + <dd>Back to issues</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>/</dt> + <dd>Focus issues search</dd> + </dl> + </div> + </div> + </div> + + <div class="js-hidden-pane" style='display:none'> + <div class="rule"></div> + + <h3>Issues Dashboard</h3> + + <div class="columns threecols"> + <div class="column first"> + <dl class="keyboard-mappings"> + <dt>j</dt> + <dd>Move selection down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>k</dt> + <dd>Move selection up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>o <em>or</em> enter</dt> + <dd>Open issue</dd> + </dl> + </div><!-- /.column.first --> + </div> + </div> + + <div class="js-hidden-pane" style='display:none'> + <div class="rule"></div> + + <h3>Network Graph</h3> + <div class="columns equacols"> + <div class="column first"> + <dl class="keyboard-mappings"> + <dt><span class="badmono">←</span> <em>or</em> h</dt> + <dd>Scroll left</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="badmono">→</span> <em>or</em> l</dt> + <dd>Scroll right</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="badmono">↑</span> <em>or</em> k</dt> + <dd>Scroll up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt><span class="badmono">↓</span> <em>or</em> j</dt> + <dd>Scroll down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>t</dt> + <dd>Toggle visibility of head labels</dd> + </dl> + </div><!-- /.column.first --> + <div class="column last"> + <dl class="keyboard-mappings"> + <dt>shift <span class="badmono">←</span> <em>or</em> shift h</dt> + <dd>Scroll all the way left</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>shift <span class="badmono">→</span> <em>or</em> shift l</dt> + <dd>Scroll all the way right</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>shift <span class="badmono">↑</span> <em>or</em> shift k</dt> + <dd>Scroll all the way up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>shift <span class="badmono">↓</span> <em>or</em> shift j</dt> + <dd>Scroll all the way down</dd> + </dl> + </div><!-- /.column.last --> + </div> + </div> + + <div class="js-hidden-pane" > + <div class="rule"></div> + <div class="columns threecols"> + <div class="column first js-hidden-pane" > + <h3>Source Code Browsing</h3> + <dl class="keyboard-mappings"> + <dt>t</dt> + <dd>Activates the file finder</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>l</dt> + <dd>Jump to line</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>w</dt> + <dd>Switch branch/tag</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>y</dt> + <dd>Expand URL to its canonical form</dd> + </dl> + </div> + </div> + </div> + + <div class="js-hidden-pane" style='display:none'> + <div class="rule"></div> + <div class="columns threecols"> + <div class="column first"> + <h3>Browsing Commits</h3> + <dl class="keyboard-mappings"> + <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt> + <dd>Submit comment</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>escape</dt> + <dd>Close form</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>p</dt> + <dd>Parent commit</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>o</dt> + <dd>Other parent commit</dd> + </dl> + </div> + </div> + </div> + + <div class="js-hidden-pane" style='display:none'> + <div class="rule"></div> + <h3>Notifications</h3> + + <div class="columns threecols"> + <div class="column first"> + <dl class="keyboard-mappings"> + <dt>j</dt> + <dd>Move selection down</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>k</dt> + <dd>Move selection up</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>o <em>or</em> enter</dt> + <dd>Open notification</dd> + </dl> + </div><!-- /.column.first --> + + <div class="column second"> + <dl class="keyboard-mappings"> + <dt>e <em>or</em> shift i <em>or</em> y</dt> + <dd>Mark as read</dd> + </dl> + <dl class="keyboard-mappings"> + <dt>shift m</dt> + <dd>Mute thread</dd> + </dl> + </div><!-- /.column.first --> + </div> + </div> + +</div> + + <div id="markdown-help" class="instapaper_ignore readability-extra"> + <h2>Markdown Cheat Sheet</h2> + + <div class="cheatsheet-content"> + + <div class="mod"> + <div class="col"> + <h3>Format Text</h3> + <p>Headers</p> + <pre> +# This is an <h1> tag +## This is an <h2> tag +###### This is an <h6> tag</pre> + <p>Text styles</p> + <pre> +*This text will be italic* +_This will also be italic_ +**This text will be bold** +__This will also be bold__ + +*You **can** combine them* +</pre> + </div> + <div class="col"> + <h3>Lists</h3> + <p>Unordered</p> + <pre> +* Item 1 +* Item 2 + * Item 2a + * Item 2b</pre> + <p>Ordered</p> + <pre> +1. Item 1 +2. Item 2 +3. Item 3 + * Item 3a + * Item 3b</pre> + </div> + <div class="col"> + <h3>Miscellaneous</h3> + <p>Images</p> + <pre> +![GitHub Logo](/images/logo.png) +Format: ![Alt Text](url) +</pre> + <p>Links</p> + <pre> +http://github.com - automatic! +[GitHub](http://github.com)</pre> +<p>Blockquotes</p> + <pre> +As Kanye West said: + +> We're living the future so +> the present is our past. +</pre> + </div> + </div> + <div class="rule"></div> + + <h3>Code Examples in Markdown</h3> + <div class="col"> + <p>Syntax highlighting with <a href="http://github.github.com/github-flavored-markdown/" title="GitHub Flavored Markdown" target="_blank">GFM</a></p> + <pre> +```javascript +function fancyAlert(arg) { + if(arg) { + $.facebox({div:'#foo'}) + } +} +```</pre> + </div> + <div class="col"> + <p>Or, indent your code 4 spaces</p> + <pre> +Here is a Python code example +without syntax highlighting: + + def foo: + if not bar: + return true</pre> + </div> + <div class="col"> + <p>Inline code for comments</p> + <pre> +I think you should use an +`<addr>` element here instead.</pre> + </div> + </div> + + </div> +</div> + + + <div id="ajax-error-message" class="flash flash-error"> + <span class="mini-icon mini-icon-exclamation"></span> + Something went wrong with that request. Please try again. + <a href="#" class="mini-icon mini-icon-remove-close ajax-error-dismiss"></a> + </div> + + + + <span id='server_response_time' data-time='0.04438' data-host='fe2'></span> + + </body> +</html> + diff --git a/sys-cluster/swift/files/swift-storage-server.initd b/sys-cluster/swift/files/swift-storage-server.initd new file mode 100644 index 0000000..58d1251 --- /dev/null +++ b/sys-cluster/swift/files/swift-storage-server.initd @@ -0,0 +1,60 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ +# +# Author: Cor Cornelisse <corcornelisse@gmail.com> + +depend() { + need net +} + +BASENAME=$(echo $SVCNAME | cut -d '-' -f 1) + +checkconfig() { + if [ ! -r /etc/${BASENAME}/${BASENAME}.conf ]; then + eerror "Missing required config file: /etc/${BASENAME}/${BASENAME}.conf" + return 1 + fi + for server in ${SERVERS}; do + if [ ! -r /etc/${BASENAME}/${server}-server.conf ]; then + eerror "Missing required config file: /etc/${BASENAME}/${SERVER}-server.conf" + return 1 + fi + done + return 0 +} + +start() { + checkconfig || return $? + + einfo "Starting all ${BASENAME} services:" + + for server in ${SERVERS}; do + for service in $(eval "echo \$${server^^}SERVICE"); do + ebegin "Starting $server-$service" + start-stop-daemon --start --pidfile \ + "/var/run/${BASENAME}/$server-$service.pid" \ + --exec /usr/bin/${BASENAME}-init \ + -- $server-$service start + eend $? "Failed to start $server-$service" + done + done +} + +stop() { + checkconfig || return $? + + einfo "Stopping all ${BASENAME} services:" + + for server in ${SERVERS}; do + for service in $(eval "echo \$${server^^}SERVICE"); do + ebegin "Stopping $server-$service" + start-stop-daemon --stop --pidfile \ + "/var/run/${BASENAME}/$server-$service.pid" \ + --exec /usr/bin/${BASENAME}-init \ + -- $server-$service stop + eend $? "Failed to stop $server-$service" + done + done +} diff --git a/sys-cluster/swift/metadata.xml b/sys-cluster/swift/metadata.xml new file mode 100644 index 0000000..f684f30 --- /dev/null +++ b/sys-cluster/swift/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <longdescription lang="en"> + Swift is a highly available, distributed, eventually consistent object/blob + store. + </longdescription> +</pkgmetadata> + diff --git a/sys-cluster/swift/swift-1.7.4.ebuild b/sys-cluster/swift/swift-1.7.4.ebuild new file mode 100644 index 0000000..73a6131 --- /dev/null +++ b/sys-cluster/swift/swift-1.7.4.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils eutils linux-info + +DESCRIPTION="Swift is a highly available, distributed, eventually consistent +object/blob store" +HOMEPAGE="https://launchpad.net/swift" +SRC_URI="http://launchpad.net/${PN}/folsom/${PV}/+download/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="proxy account container object test" + +DEPEND="dev-python/setuptools + test? ( dev-python/nose + dev-python/coverage + dev-python/nosexcover + dev-python/pep8 + >=dev-python/sphinx-1.1.2 )" + +RDEPEND="dev-python/eventlet + dev-python/greenlet + dev-python/netifaces + dev-python/pastedeploy + dev-python/simplejson + dev-python/pyxattr + dev-python/configobj + dev-python/webob + >=dev-python/webob-1.0.8 + <dev-python/webob-1.3 + >=dev-python/python-swiftclient-1.2.0" + +REQUIRED_USE="|| ( proxy account container object )" + +CONFIG_CHECK="~EXT3_FS_XATTR ~SQUASHFS_XATTR ~CIFS_XATTR ~JFFS2_FS_XATTR +~TMPFS_XATTR ~UBIFS_FS_XATTR ~EXT2_FS_XATTR ~REISERFS_FS_XATTR ~EXT4_FS_XATTR +~ZFS" + +pkg_setup() { + python_pkg_setup + enewuser swift + enewgroup swift +} + +src_install() { + distutils_src_install + + keepdir /etc/swift + insinto /etc/swift + + newins "etc/swift.conf-sample" "swift.conf" + newins "etc/swift-bench.conf-sample" "swift-bench.conf-sample" + newins "etc/rsyncd.conf-sample" "rsyncd.conf" + newins "etc/mime.types-sample" "mime.types-sample" + newins "etc/memcache.conf-sample" "memcache.conf-sample" + newins "etc/drive-audit.conf-sample" "drive-audit.conf-sample" + newins "etc/dispersion.conf-sample" "dispersion.conf-sample" + + if use proxy; then + newinitd "${FILESDIR}/swift-proxy.initd" "swift-proxy" + + newins "etc/proxy-server.conf-sample" "proxy-server.conf" + fi + if use account; then + newinitd "${FILESDIR}/swift-container.initd" "swift-account" + newins "etc/account-server.conf-sample" "account-server.conf" + fi + if use container; then + newinitd "${FILESDIR}/swift-container.initd" "swift-container" + newins "etc/container-server.conf-sample" "container-server.conf" + fi + if use object; then + newinitd "${FILESDIR}/swift-object.initd" "swift-obect" + newins "etc/object-server.conf-sample" "object-server.conf" + newins "object-expirer.conf-sample" "object-expirer.conf" + fi + + fowners swift:swift "/etc/swift" || die "fowners failed" +} + +pkg_postinst() { + elog "Openstack swift will default to using insecure http unless a" + elog "certificate is created in /etc/swift/cert.crt and the associated key" + elog "in /etc/swift/cert.key. These can be created with the following:" + elog " * cd /etc/swift" + elog " * openssl req -new -x509 -nodes -out cert.crt -keyout cert.key" + + if use proxy; then + elog "" + elog "The storage rings must be created with the following three" + elog "commands:" + elog " * cd /etc/swift" + elog " * swift-ring-builder account.builder create SIZE REPLICAS HOURS" + elog " * swift-ring-builder container.builder create SIZE REPLICAS HOURS" + elog " * swift-ring-builder object.builder create SIZE REPLICAS HOURS" + elog "" + elog "The ring building commands take three arguments: SIZE, REPLICAS," + elog "HOURS. Where SIZE is used to determine the total storage you" + elog "expect your swift cluster to use (e.g. 2^SIZE); REPLICAS is the" + elog "number of replicas to keep in the cluster of any piece of data;" + elog "and HOURS is the number of hours to restrict moving a partition" + elog "more than once." + elog "" + elog "Add zones to the rings with the following commands:" + elog " * swift-ring-builder account.builder add zZONE-IP:6002/DEV WEIGHT" + elog " * swift-ring-builder container.builder add zZONE-IP:6001/DEV WEIGHT" + elog " * swift-ring-builder object.builder add zZONE-IP:6000/DEV WEIGHT" + elog "" + elog "The zone parameters (ZONE, IP, DEV, and WEIGHT) dictate how the" + elog "zone is utilized in the cluster. ZONE is a unique number for the" + elog "zone being created. Every grouping of three commands run must" + elog "increment ZONE. IP is the IP of this proxy node. DEV is the" + elog "device to use for storage (e.g. sdb1, sda4, etc). WEIGHT is the" + elog "preference to utilize this device over others. Higher numbers" + elog "are higher preference and should be reserved for bigger or faster" + elog "disks." + elog "" + elog "Once this has all been done, the rings must be rebalanced:" + elog " * swift-ring-builder account.builder rebalance" + elog " * swift-ring-builder container.builder rebalance" + elog " * swift-ring-builder object.builder rebalance" + elog "" + elog "Copy the account.ring.gz, container.ring.gz, and object.ring.gz" + elog "files to all the proxy and swift nodes" + fi +} + +#src_install() +#{ +# distutils_src_install +# +# dodir "/var/run/swift" +# +# if use proxy-server; then +# newinitd "${FILESDIR}/swift-proxy-server.initd" swift-proxy-server +# fi +# +# if use storage-server; then +# newinitd "${FILESDIR}/swift-storage-server.initd" swift-storage-server +# newconfd "${FILESDIR}/swift-storage-server.confd" swift-storage-server +# fi +#} |