capistrano-cluster 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +21 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +38 -0
  6. data/Rakefile +1 -0
  7. data/capistrano-cluster.gemspec +29 -0
  8. data/files/Procfile.erb +2 -0
  9. data/files/apt.conf.d/10periodic +4 -0
  10. data/files/apt.conf.d/50unattended-upgrades +4 -0
  11. data/files/database.yml.erb +11 -0
  12. data/files/etc/hosts.erb +9 -0
  13. data/files/firewall.erb +8 -0
  14. data/files/issue.net +11 -0
  15. data/files/lb-sysctl.conf +24 -0
  16. data/files/nginx/application.conf.erb +67 -0
  17. data/files/nginx/lb-application.conf.erb +91 -0
  18. data/files/nginx/lb-nginx.conf.erb +84 -0
  19. data/files/nginx/nginx.conf.erb +80 -0
  20. data/files/pg_hba.conf.erb +10 -0
  21. data/files/postgresql.conf +19 -0
  22. data/files/redis/redis.conf +597 -0
  23. data/files/service.erb +67 -0
  24. data/files/solr/conf/lang/contractions_ca.txt +8 -0
  25. data/files/solr/conf/lang/contractions_fr.txt +9 -0
  26. data/files/solr/conf/lang/contractions_ga.txt +5 -0
  27. data/files/solr/conf/lang/contractions_it.txt +23 -0
  28. data/files/solr/conf/lang/hyphenations_ga.txt +5 -0
  29. data/files/solr/conf/lang/stemdict_nl.txt +6 -0
  30. data/files/solr/conf/lang/stoptags_ja.txt +420 -0
  31. data/files/solr/conf/lang/stopwords_ar.txt +125 -0
  32. data/files/solr/conf/lang/stopwords_bg.txt +193 -0
  33. data/files/solr/conf/lang/stopwords_ca.txt +220 -0
  34. data/files/solr/conf/lang/stopwords_cz.txt +172 -0
  35. data/files/solr/conf/lang/stopwords_da.txt +108 -0
  36. data/files/solr/conf/lang/stopwords_de.txt +292 -0
  37. data/files/solr/conf/lang/stopwords_el.txt +78 -0
  38. data/files/solr/conf/lang/stopwords_en.txt +54 -0
  39. data/files/solr/conf/lang/stopwords_es.txt +354 -0
  40. data/files/solr/conf/lang/stopwords_eu.txt +99 -0
  41. data/files/solr/conf/lang/stopwords_fa.txt +313 -0
  42. data/files/solr/conf/lang/stopwords_fi.txt +95 -0
  43. data/files/solr/conf/lang/stopwords_fr.txt +183 -0
  44. data/files/solr/conf/lang/stopwords_ga.txt +110 -0
  45. data/files/solr/conf/lang/stopwords_gl.txt +161 -0
  46. data/files/solr/conf/lang/stopwords_hi.txt +235 -0
  47. data/files/solr/conf/lang/stopwords_hu.txt +209 -0
  48. data/files/solr/conf/lang/stopwords_hy.txt +46 -0
  49. data/files/solr/conf/lang/stopwords_id.txt +359 -0
  50. data/files/solr/conf/lang/stopwords_it.txt +301 -0
  51. data/files/solr/conf/lang/stopwords_ja.txt +127 -0
  52. data/files/solr/conf/lang/stopwords_lv.txt +172 -0
  53. data/files/solr/conf/lang/stopwords_nl.txt +117 -0
  54. data/files/solr/conf/lang/stopwords_no.txt +192 -0
  55. data/files/solr/conf/lang/stopwords_pt.txt +251 -0
  56. data/files/solr/conf/lang/stopwords_ro.txt +233 -0
  57. data/files/solr/conf/lang/stopwords_ru.txt +241 -0
  58. data/files/solr/conf/lang/stopwords_sv.txt +131 -0
  59. data/files/solr/conf/lang/stopwords_th.txt +119 -0
  60. data/files/solr/conf/lang/stopwords_tr.txt +212 -0
  61. data/files/solr/conf/lang/userdict_ja.txt +29 -0
  62. data/files/solr/conf/mapping-FoldToASCII.txt +3813 -0
  63. data/files/solr/conf/schema.xml +111 -0
  64. data/files/solr/conf/solrconfig.xml +59 -0
  65. data/files/solr/conf/stopwords.txt +14 -0
  66. data/files/solr/solr.xml +45 -0
  67. data/files/ssh/authorized_keys.erb +4 -0
  68. data/files/ssh/config +3 -0
  69. data/files/sshd_config +40 -0
  70. data/files/tmux.conf +136 -0
  71. data/files/ufw +44 -0
  72. data/files/unicorn.rb.erb +63 -0
  73. data/lib/capistrano/cluster/application.rb +75 -0
  74. data/lib/capistrano/cluster/core_ext/object.rb +17 -0
  75. data/lib/capistrano/cluster/files.rb +57 -0
  76. data/lib/capistrano/cluster/packages.rb +62 -0
  77. data/lib/capistrano/cluster/paths.rb +18 -0
  78. data/lib/capistrano/cluster/service.rb +70 -0
  79. data/lib/capistrano/cluster/version.rb +5 -0
  80. data/lib/capistrano/cluster.rb +35 -0
  81. data/tasks/deploy/application.rake +48 -0
  82. data/tasks/deploy.rake +71 -0
  83. data/tasks/roles/app.rake +71 -0
  84. data/tasks/roles/cache.rake +16 -0
  85. data/tasks/roles/db.rake +66 -0
  86. data/tasks/roles/indexer.rake +132 -0
  87. data/tasks/roles/proxy.rake +59 -0
  88. data/tasks/roles/rabbit.rake +52 -0
  89. data/tasks/roles/resque.rake +96 -0
  90. data/tasks/roles/sidekiq.rake +42 -0
  91. data/tasks/roles/web.rake +64 -0
  92. data/tasks/setup/firewall.rake +53 -0
  93. data/tasks/setup.rake +96 -0
  94. metadata +221 -0
@@ -0,0 +1,127 @@
1
+ #
2
+ # This file defines a stopword set for Japanese.
3
+ #
4
+ # This set is made up of hand-picked frequent terms from segmented Japanese Wikipedia.
5
+ # Punctuation characters and frequent kanji have mostly been left out. See LUCENE-3745
6
+ # for frequency lists, etc. that can be useful for making your own set (if desired)
7
+ #
8
+ # Note that there is an overlap between these stopwords and the terms stopped when used
9
+ # in combination with the JapanesePartOfSpeechStopFilter. When editing this file, note
10
+ # that comments are not allowed on the same line as stopwords.
11
+ #
12
+ # Also note that stopping is done in a case-insensitive manner. Change your StopFilter
13
+ # configuration if you need case-sensitive stopping. Lastly, note that stopping is done
14
+ # using the same character width as the entries in this file. Since this StopFilter is
15
+ # normally done after a CJKWidthFilter in your chain, you would usually want your romaji
16
+ # entries to be in half-width and your kana entries to be in full-width.
17
+ #
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+ ある
31
+ いる
32
+
33
+ する
34
+ から
35
+
36
+ こと
37
+ として
38
+
39
+
40
+ れる
41
+ など
42
+ なっ
43
+ ない
44
+ この
45
+ ため
46
+ その
47
+ あっ
48
+ よう
49
+ また
50
+ もの
51
+ という
52
+ あり
53
+ まで
54
+ られ
55
+ なる
56
+
57
+
58
+
59
+ これ
60
+ によって
61
+ により
62
+ おり
63
+ より
64
+ による
65
+
66
+ なり
67
+ られる
68
+ において
69
+
70
+ なかっ
71
+ なく
72
+ しかし
73
+ について
74
+
75
+ だっ
76
+ その後
77
+ できる
78
+ それ
79
+
80
+ ので
81
+ なお
82
+ のみ
83
+ でき
84
+
85
+
86
+ における
87
+ および
88
+ いう
89
+ さらに
90
+ でも
91
+
92
+ たり
93
+ その他
94
+ に関する
95
+ たち
96
+ ます
97
+
98
+ なら
99
+ に対して
100
+ 特に
101
+ せる
102
+ 及び
103
+ これら
104
+ とき
105
+ では
106
+ にて
107
+ ほか
108
+ ながら
109
+ うち
110
+ そして
111
+ とともに
112
+ ただし
113
+ かつて
114
+ それぞれ
115
+ または
116
+
117
+ ほど
118
+ ものの
119
+ に対する
120
+ ほとんど
121
+ と共に
122
+ といった
123
+ です
124
+ とも
125
+ ところ
126
+ ここ
127
+ ##### End of file
@@ -0,0 +1,172 @@
1
+ # Set of Latvian stopwords from A Stemming Algorithm for Latvian, Karlis Kreslins
2
+ # the original list of over 800 forms was refined:
3
+ # pronouns, adverbs, interjections were removed
4
+ #
5
+ # prepositions
6
+ aiz
7
+ ap
8
+ ar
9
+ apakš
10
+ ārpus
11
+ augšpus
12
+ bez
13
+ caur
14
+ dēļ
15
+ gar
16
+ iekš
17
+ iz
18
+ kopš
19
+ labad
20
+ lejpus
21
+ līdz
22
+ no
23
+ otrpus
24
+ pa
25
+ par
26
+ pār
27
+ pēc
28
+ pie
29
+ pirms
30
+ pret
31
+ priekš
32
+ starp
33
+ šaipus
34
+ uz
35
+ viņpus
36
+ virs
37
+ virspus
38
+ zem
39
+ apakšpus
40
+ # Conjunctions
41
+ un
42
+ bet
43
+ jo
44
+ ja
45
+ ka
46
+ lai
47
+ tomēr
48
+ tikko
49
+ turpretī
50
+ arī
51
+ kaut
52
+ gan
53
+ tādēļ
54
+
55
+ ne
56
+ tikvien
57
+ vien
58
+
59
+ ir
60
+ te
61
+ vai
62
+ kamēr
63
+ # Particles
64
+ ar
65
+ diezin
66
+ droši
67
+ diemžēl
68
+ nebūt
69
+ ik
70
+ it
71
+ taču
72
+ nu
73
+ pat
74
+ tiklab
75
+ iekšpus
76
+ nedz
77
+ tik
78
+ nevis
79
+ turpretim
80
+ jeb
81
+ iekam
82
+ iekām
83
+ iekāms
84
+ kolīdz
85
+ līdzko
86
+ tiklīdz
87
+ jebšu
88
+ tālab
89
+ tāpēc
90
+ nekā
91
+ itin
92
+
93
+ jau
94
+ jel
95
+
96
+ nezin
97
+ tad
98
+ tikai
99
+ vis
100
+ tak
101
+ iekams
102
+ vien
103
+ # modal verbs
104
+ būt
105
+ biju
106
+ biji
107
+ bija
108
+ bijām
109
+ bijāt
110
+ esmu
111
+ esi
112
+ esam
113
+ esat
114
+ būšu
115
+ būsi
116
+ būs
117
+ būsim
118
+ būsiet
119
+ tikt
120
+ tiku
121
+ tiki
122
+ tika
123
+ tikām
124
+ tikāt
125
+ tieku
126
+ tiec
127
+ tiek
128
+ tiekam
129
+ tiekat
130
+ tikšu
131
+ tiks
132
+ tiksim
133
+ tiksiet
134
+ tapt
135
+ tapi
136
+ tapāt
137
+ topat
138
+ tapšu
139
+ tapsi
140
+ taps
141
+ tapsim
142
+ tapsiet
143
+ kļūt
144
+ kļuvu
145
+ kļuvi
146
+ kļuva
147
+ kļuvām
148
+ kļuvāt
149
+ kļūstu
150
+ kļūsti
151
+ kļūst
152
+ kļūstam
153
+ kļūstat
154
+ kļūšu
155
+ kļūsi
156
+ kļūs
157
+ kļūsim
158
+ kļūsiet
159
+ # verbs
160
+ varēt
161
+ varēju
162
+ varējām
163
+ varēšu
164
+ varēsim
165
+ var
166
+ varēji
167
+ varējāt
168
+ varēsi
169
+ varēsiet
170
+ varat
171
+ varēja
172
+ varēs
@@ -0,0 +1,117 @@
1
+ | From svn.tartarus.org/snowball/trunk/website/algorithms/dutch/stop.txt
2
+ | This file is distributed under the BSD License.
3
+ | See http://snowball.tartarus.org/license.php
4
+ | Also see http://www.opensource.org/licenses/bsd-license.html
5
+ | - Encoding was converted to UTF-8.
6
+ | - This notice was added.
7
+
8
+ | A Dutch stop word list. Comments begin with vertical bar. Each stop
9
+ | word is at the start of a line.
10
+
11
+ | This is a ranked list (commonest to rarest) of stopwords derived from
12
+ | a large sample of Dutch text.
13
+
14
+ | Dutch stop words frequently exhibit homonym clashes. These are indicated
15
+ | clearly below.
16
+
17
+ de | the
18
+ en | and
19
+ van | of, from
20
+ ik | I, the ego
21
+ te | (1) chez, at etc, (2) to, (3) too
22
+ dat | that, which
23
+ die | that, those, who, which
24
+ in | in, inside
25
+ een | a, an, one
26
+ hij | he
27
+ het | the, it
28
+ niet | not, nothing, naught
29
+ zijn | (1) to be, being, (2) his, one's, its
30
+ is | is
31
+ was | (1) was, past tense of all persons sing. of 'zijn' (to be) (2) wax, (3) the washing, (4) rise of river
32
+ op | on, upon, at, in, up, used up
33
+ aan | on, upon, to (as dative)
34
+ met | with, by
35
+ als | like, such as, when
36
+ voor | (1) before, in front of, (2) furrow
37
+ had | had, past tense all persons sing. of 'hebben' (have)
38
+ er | there
39
+ maar | but, only
40
+ om | round, about, for etc
41
+ hem | him
42
+ dan | then
43
+ zou | should/would, past tense all persons sing. of 'zullen'
44
+ of | or, whether, if
45
+ wat | what, something, anything
46
+ mijn | possessive and noun 'mine'
47
+ men | people, 'one'
48
+ dit | this
49
+ zo | so, thus, in this way
50
+ door | through by
51
+ over | over, across
52
+ ze | she, her, they, them
53
+ zich | oneself
54
+ bij | (1) a bee, (2) by, near, at
55
+ ook | also, too
56
+ tot | till, until
57
+ je | you
58
+ mij | me
59
+ uit | out of, from
60
+ der | Old Dutch form of 'van der' still found in surnames
61
+ daar | (1) there, (2) because
62
+ haar | (1) her, their, them, (2) hair
63
+ naar | (1) unpleasant, unwell etc, (2) towards, (3) as
64
+ heb | present first person sing. of 'to have'
65
+ hoe | how, why
66
+ heeft | present third person sing. of 'to have'
67
+ hebben | 'to have' and various parts thereof
68
+ deze | this
69
+ u | you
70
+ want | (1) for, (2) mitten, (3) rigging
71
+ nog | yet, still
72
+ zal | 'shall', first and third person sing. of verb 'zullen' (will)
73
+ me | me
74
+ zij | she, they
75
+ nu | now
76
+ ge | 'thou', still used in Belgium and south Netherlands
77
+ geen | none
78
+ omdat | because
79
+ iets | something, somewhat
80
+ worden | to become, grow, get
81
+ toch | yet, still
82
+ al | all, every, each
83
+ waren | (1) 'were' (2) to wander, (3) wares, (3)
84
+ veel | much, many
85
+ meer | (1) more, (2) lake
86
+ doen | to do, to make
87
+ toen | then, when
88
+ moet | noun 'spot/mote' and present form of 'to must'
89
+ ben | (1) am, (2) 'are' in interrogative second person singular of 'to be'
90
+ zonder | without
91
+ kan | noun 'can' and present form of 'to be able'
92
+ hun | their, them
93
+ dus | so, consequently
94
+ alles | all, everything, anything
95
+ onder | under, beneath
96
+ ja | yes, of course
97
+ eens | once, one day
98
+ hier | here
99
+ wie | who
100
+ werd | imperfect third person sing. of 'become'
101
+ altijd | always
102
+ doch | yet, but etc
103
+ wordt | present third person sing. of 'become'
104
+ wezen | (1) to be, (2) 'been' as in 'been fishing', (3) orphans
105
+ kunnen | to be able
106
+ ons | us/our
107
+ zelf | self
108
+ tegen | against, towards, at
109
+ na | after, near
110
+ reeds | already
111
+ wil | (1) present tense of 'want', (2) 'will', noun, (3) fender
112
+ kon | could; past tense of 'to be able'
113
+ niets | nothing
114
+ uw | your
115
+ iemand | somebody
116
+ geweest | been; past participle of 'be'
117
+ andere | other
@@ -0,0 +1,192 @@
1
+ | From svn.tartarus.org/snowball/trunk/website/algorithms/norwegian/stop.txt
2
+ | This file is distributed under the BSD License.
3
+ | See http://snowball.tartarus.org/license.php
4
+ | Also see http://www.opensource.org/licenses/bsd-license.html
5
+ | - Encoding was converted to UTF-8.
6
+ | - This notice was added.
7
+
8
+ | A Norwegian stop word list. Comments begin with vertical bar. Each stop
9
+ | word is at the start of a line.
10
+
11
+ | This stop word list is for the dominant bokmål dialect. Words unique
12
+ | to nynorsk are marked *.
13
+
14
+ | Revised by Jan Bruusgaard <Jan.Bruusgaard@ssb.no>, Jan 2005
15
+
16
+ og | and
17
+ i | in
18
+ jeg | I
19
+ det | it/this/that
20
+ at | to (w. inf.)
21
+ en | a/an
22
+ et | a/an
23
+ den | it/this/that
24
+ til | to
25
+ er | is/am/are
26
+ som | who/that
27
+ på | on
28
+ de | they / you(formal)
29
+ med | with
30
+ han | he
31
+ av | of
32
+ ikke | not
33
+ ikkje | not *
34
+ der | there
35
+ så | so
36
+ var | was/were
37
+ meg | me
38
+ seg | you
39
+ men | but
40
+ ett | one
41
+ har | have
42
+ om | about
43
+ vi | we
44
+ min | my
45
+ mitt | my
46
+ ha | have
47
+ hadde | had
48
+ hun | she
49
+ nå | now
50
+ over | over
51
+ da | when/as
52
+ ved | by/know
53
+ fra | from
54
+ du | you
55
+ ut | out
56
+ sin | your
57
+ dem | them
58
+ oss | us
59
+ opp | up
60
+ man | you/one
61
+ kan | can
62
+ hans | his
63
+ hvor | where
64
+ eller | or
65
+ hva | what
66
+ skal | shall/must
67
+ selv | self (reflective)
68
+ sjøl | self (reflective)
69
+ her | here
70
+ alle | all
71
+ vil | will
72
+ bli | become
73
+ ble | became
74
+ blei | became *
75
+ blitt | have become
76
+ kunne | could
77
+ inn | in
78
+ når | when
79
+ være | be
80
+ kom | come
81
+ noen | some
82
+ noe | some
83
+ ville | would
84
+ dere | you
85
+ som | who/which/that
86
+ deres | their/theirs
87
+ kun | only/just
88
+ ja | yes
89
+ etter | after
90
+ ned | down
91
+ skulle | should
92
+ denne | this
93
+ for | for/because
94
+ deg | you
95
+ si | hers/his
96
+ sine | hers/his
97
+ sitt | hers/his
98
+ mot | against
99
+ å | to
100
+ meget | much
101
+ hvorfor | why
102
+ dette | this
103
+ disse | these/those
104
+ uten | without
105
+ hvordan | how
106
+ ingen | none
107
+ din | your
108
+ ditt | your
109
+ blir | become
110
+ samme | same
111
+ hvilken | which
112
+ hvilke | which (plural)
113
+ sånn | such a
114
+ inni | inside/within
115
+ mellom | between
116
+ vår | our
117
+ hver | each
118
+ hvem | who
119
+ vors | us/ours
120
+ hvis | whose
121
+ både | both
122
+ bare | only/just
123
+ enn | than
124
+ fordi | as/because
125
+ før | before
126
+ mange | many
127
+ også | also
128
+ slik | just
129
+ vært | been
130
+ være | to be
131
+ båe | both *
132
+ begge | both
133
+ siden | since
134
+ dykk | your *
135
+ dykkar | yours *
136
+ dei | they *
137
+ deira | them *
138
+ deires | theirs *
139
+ deim | them *
140
+ di | your (fem.) *
141
+ då | as/when *
142
+ eg | I *
143
+ ein | a/an *
144
+ eit | a/an *
145
+ eitt | a/an *
146
+ elles | or *
147
+ honom | he *
148
+ hjå | at *
149
+ ho | she *
150
+ hoe | she *
151
+ henne | her
152
+ hennar | her/hers
153
+ hennes | hers
154
+ hoss | how *
155
+ hossen | how *
156
+ ikkje | not *
157
+ ingi | noone *
158
+ inkje | noone *
159
+ korleis | how *
160
+ korso | how *
161
+ kva | what/which *
162
+ kvar | where *
163
+ kvarhelst | where *
164
+ kven | who/whom *
165
+ kvi | why *
166
+ kvifor | why *
167
+ me | we *
168
+ medan | while *
169
+ mi | my *
170
+ mine | my *
171
+ mykje | much *
172
+ no | now *
173
+ nokon | some (masc./neut.) *
174
+ noka | some (fem.) *
175
+ nokor | some *
176
+ noko | some *
177
+ nokre | some *
178
+ si | his/hers *
179
+ sia | since *
180
+ sidan | since *
181
+ so | so *
182
+ somt | some *
183
+ somme | some *
184
+ um | about*
185
+ upp | up *
186
+ vere | be *
187
+ vore | was *
188
+ verte | become *
189
+ vort | become *
190
+ varte | became *
191
+ vart | became *
192
+