VladTheEnterprising 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of VladTheEnterprising might be problematic. Click here for more details.
- data.tar.gz.sig +3 -0
- data/History.txt +5 -0
- data/Manifest.txt +27 -0
- data/README.txt +140 -0
- data/Rakefile +25 -0
- data/files/mysql/templates/db_slave.cnf.tmpl +12 -0
- data/files/xen_master/centos4.1 +63 -0
- data/files/xen_master/role.d/centos5-default +36 -0
- data/files/xen_master/role.d/default-edgy +36 -0
- data/files/xen_master/role.d/mysql-server-centos5 +47 -0
- data/files/xen_master/role.d/mysql-server-edgy +47 -0
- data/files/xen_master/xen-tools-centos4.conf +188 -0
- data/files/xen_master/xen-tools-centos5.conf +188 -0
- data/files/xen_master/xen-tools-edgy.conf +189 -0
- data/files/xen_master/xend-config.sxp +139 -0
- data/lib/vlad/dba/mysql.rb +445 -0
- data/lib/vlad/enterprising.rb +39 -0
- data/lib/vlad/environmentalist.rb +32 -0
- data/lib/vlad/translator.rb +138 -0
- data/lib/vlad/xen_master.rb +95 -0
- data/test/test_vlad_the_enterprising.rb +0 -0
- metadata +121 -0
- metadata.gz.sig +3 -0
data.tar.gz.sig
ADDED
data/History.txt
ADDED
data/Manifest.txt
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
History.txt
|
2
|
+
Manifest.txt
|
3
|
+
README.txt
|
4
|
+
Rakefile
|
5
|
+
lib/vlad/enterprising.rb
|
6
|
+
lib/vlad/translator.rb
|
7
|
+
lib/vlad/environmentalist.rb
|
8
|
+
lib/vlad/dba/mysql.rb
|
9
|
+
lib/vlad/xen_master.rb
|
10
|
+
files
|
11
|
+
files/mysql
|
12
|
+
files/mysql/configs
|
13
|
+
files/mysql/templates
|
14
|
+
files/mysql/templates/db_slave.cnf.tmpl
|
15
|
+
files/xen_master
|
16
|
+
files/xen_master/xend-config.sxp
|
17
|
+
files/xen_master/xen-tools-centos4.conf
|
18
|
+
files/xen_master/xen-tools-edgy.conf
|
19
|
+
files/xen_master/role.d
|
20
|
+
files/xen_master/role.d/mysql-server-centos5
|
21
|
+
files/xen_master/role.d/default-edgy
|
22
|
+
files/xen_master/role.d/centos5-default
|
23
|
+
files/xen_master/role.d/mysql-server-edgy
|
24
|
+
files/xen_master/centos4.1
|
25
|
+
files/xen_master/xen-tools-centos5.conf
|
26
|
+
|
27
|
+
|
data/README.txt
ADDED
@@ -0,0 +1,140 @@
|
|
1
|
+
VladTheEnterprising
|
2
|
+
by Michael L. Welles
|
3
|
+
http://code.nytimes.com/
|
4
|
+
|
5
|
+
== DESCRIPTION:
|
6
|
+
|
7
|
+
A series of packages to help using Vlad The Deployer to manage
|
8
|
+
the mess that is your average "enterprisy".
|
9
|
+
|
10
|
+
Currently consists of the following:
|
11
|
+
|
12
|
+
* Vlad the Translator
|
13
|
+
* Vlad the Environmentalist
|
14
|
+
* Vlad the DBA
|
15
|
+
* Vlad the Xen Master
|
16
|
+
|
17
|
+
== FEATURES/PROBLEMS:
|
18
|
+
|
19
|
+
* Management of heterogenious enironments, dynamic discovery and
|
20
|
+
flexible handling of remote host types.
|
21
|
+
|
22
|
+
* Support of multiple environments and subenvironments, multiple
|
23
|
+
projects withing an environemnt
|
24
|
+
|
25
|
+
* Automation of common, time consuming, dba tasks, like installing,
|
26
|
+
syncronizing and bringing up new mysql slave instances.
|
27
|
+
|
28
|
+
* Beginnings of automation for xen image creation and management.
|
29
|
+
|
30
|
+
== SYNOPSIS:
|
31
|
+
|
32
|
+
* The Translator
|
33
|
+
|
34
|
+
Allows a flexiable callback system to set varabiles on a per-host
|
35
|
+
basis. For example, if the location of a given binary is different on
|
36
|
+
differing target hosts, you can add dialects such that
|
37
|
+
the path to the binary is set properly for each:
|
38
|
+
|
39
|
+
dialect :name => :local_bin_mysql,
|
40
|
+
:assert => lambda { run "if [ ! -x /usr/local/bin/mysql ]; then exit 1; fi" },
|
41
|
+
:set => { :mysql_cmd => "/usr/local/bin/mysql" }
|
42
|
+
|
43
|
+
dialect :name => :opt_bin_mysql,
|
44
|
+
:assert => lambda { run "if [ ! -x /opt/bin/mysql ]; then exit 1; fi" },
|
45
|
+
:set => { :mysql_cmd => "/opt/bin/mysql" }
|
46
|
+
|
47
|
+
If no exception is raised for an assertion, then variable will be set
|
48
|
+
in the context of each target host unless there is a global
|
49
|
+
already defined for the symbol.
|
50
|
+
|
51
|
+
The dialects are evaluated in the order that they're defined, with
|
52
|
+
later values replacing those defined earlier. The intention is to
|
53
|
+
start with general rules that will get ovverridden with increasingly
|
54
|
+
fine granularity.
|
55
|
+
|
56
|
+
|
57
|
+
* The Environmentalist
|
58
|
+
|
59
|
+
Supports multiple environments and sub-environments to deploy to.
|
60
|
+
Running with TARGET='production' will build a configuration from
|
61
|
+
config/enrvironment/produciton.rb as weill ruby files under the
|
62
|
+
config/environemtn/production/ directory.
|
63
|
+
|
64
|
+
Subenvironments may be specified. For example, if in production
|
65
|
+
I have more than one database group, I can specify which
|
66
|
+
I want to target in a given task by grouping them into seperate
|
67
|
+
files under config/environmenn/#{target}/#{subenvironment}.rb.
|
68
|
+
|
69
|
+
Specifying TARGET="production:vendor_content" will set only
|
70
|
+
what is defined in config/enviroment/production/vendor_condent.rb
|
71
|
+
|
72
|
+
This allows running tasks like "vlad:mysql:bootstrap_new_slaves"
|
73
|
+
a bit more fine grained control.
|
74
|
+
|
75
|
+
* The DBA
|
76
|
+
|
77
|
+
Utilities for common dba tasks. Currenltly, focused towards mysql
|
78
|
+
slave management. Given a subenvironment that has a :db_master
|
79
|
+
and :new_slave roles defined, "rake vlad:mysql:bootstrap_new_slaves"
|
80
|
+
will clean the mysql install on the new slaves, (re)install mysql
|
81
|
+
if necessary, grant replication priveleges to the new slave,
|
82
|
+
sync the slaves with a dump from the master and start replication.
|
83
|
+
|
84
|
+
By default will work with ubuntu, tested as well in a hetergenious
|
85
|
+
environment of ubuntu and (wierd and custom) NYTimes Solaris
|
86
|
+
servers. See Example.txt for the custom dialect for
|
87
|
+
the NYTimes Solaris setup, so that vlad could do the
|
88
|
+
necessary stuff on those machines while still working as expected
|
89
|
+
on the ubuntu hosts in the subenvironment.
|
90
|
+
|
91
|
+
* The Xen Master
|
92
|
+
|
93
|
+
Beginnings of a series of tasks for autmating the creation and
|
94
|
+
management of Xen images. Currently has the expectation that
|
95
|
+
the master host will be running ubuntu (though this can be
|
96
|
+
fixed by adding other dialiects), and supports the creation
|
97
|
+
of ubuntu edgy, centos5, and centos4.4 images. None quite
|
98
|
+
are fire and forget yet -- but none of the problems are
|
99
|
+
insurmountable.
|
100
|
+
|
101
|
+
|
102
|
+
== REQUIREMENTS:
|
103
|
+
|
104
|
+
* vlad
|
105
|
+
* highline
|
106
|
+
|
107
|
+
|
108
|
+
== INSTALL:
|
109
|
+
|
110
|
+
* install vlad the deployer, per instructions
|
111
|
+
* sudo gem install VladTheEnterprising
|
112
|
+
* To project Rakefile:
|
113
|
+
* require 'vlad/enterprising'
|
114
|
+
* rake vlad:enterprising:setup
|
115
|
+
* Expected files will now be under config/deploy/files
|
116
|
+
|
117
|
+
== LICENSE:
|
118
|
+
|
119
|
+
(The MIT License)
|
120
|
+
|
121
|
+
Copyright (c) 2007 FIX
|
122
|
+
|
123
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
124
|
+
a copy of this software and associated documentation files (the
|
125
|
+
'Software'), to deal in the Software without restriction, including
|
126
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
127
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
128
|
+
permit persons to whom the Software is furnished to do so, subject to
|
129
|
+
the following conditions:
|
130
|
+
|
131
|
+
The above copyright notice and this permission notice shall be
|
132
|
+
included in all copies or substantial portions of the Software.
|
133
|
+
|
134
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
135
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
136
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
137
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
138
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
139
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
140
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
$LOAD_PATH << "./lib"
|
3
|
+
require 'rubygems'
|
4
|
+
require 'hoe'
|
5
|
+
require 'vlad'
|
6
|
+
require 'highline/import'
|
7
|
+
require './lib/vlad/enterprising.rb'
|
8
|
+
require './lib/vlad/translator.rb'
|
9
|
+
require './lib/vlad/environmentalist.rb'
|
10
|
+
require './lib/vlad/dba/mysql.rb'
|
11
|
+
require './lib/vlad/xen_master.rb'
|
12
|
+
require './lib/nytd/builder'
|
13
|
+
Hoe.new('VladTheEnterprising', VLAD_ENTERPRISING_VERSION) do |p|
|
14
|
+
p.rubyforge_name = 'vlad_the_enterprising'
|
15
|
+
p.author = 'Michael L. Welles'
|
16
|
+
p.email = 'michael.welles@nytimes.com'
|
17
|
+
p.summary = 'Adds \'enterprisey\' features to Vlad The Deployer'
|
18
|
+
p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
|
19
|
+
p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
|
20
|
+
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
|
21
|
+
p.extra_deps << ['highline']
|
22
|
+
p.extra_deps << ['vlad', "> 1.0.0"]
|
23
|
+
end
|
24
|
+
Vlad.load()
|
25
|
+
# vim: syntax=Ruby
|
@@ -0,0 +1,12 @@
|
|
1
|
+
#
|
2
|
+
|
3
|
+
# server-id must be unique to each instance
|
4
|
+
# report-host and relay-log should match hostname of zone
|
5
|
+
#
|
6
|
+
[mysqld]
|
7
|
+
server-id = __SERVER_ID__
|
8
|
+
report-host = __HOSTNAME__
|
9
|
+
__REPLICATE_DO_DB__
|
10
|
+
replicate-wild-ignore-table = %.%\_norepl
|
11
|
+
max_allowed_packet = 16M
|
12
|
+
read_only
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<?xml version="1.0" encoding="ANSI_X3.4-1968"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
|
4
|
+
<head>
|
5
|
+
<link rel="icon" href="/rpmstrap/static/hgicon.png" type="image/png">
|
6
|
+
<meta name="robots" content="index, nofollow"/>
|
7
|
+
<link rel="stylesheet" href="/rpmstrap/static/style-gitweb.css" type="text/css" />
|
8
|
+
|
9
|
+
|
10
|
+
<title>rpmstrap: Summary</title>
|
11
|
+
<link rel="alternate" type="application/rss+xml"
|
12
|
+
href="/rpmstrap/rss-log" title="RSS feed for rpmstrap">
|
13
|
+
</head>
|
14
|
+
<body>
|
15
|
+
|
16
|
+
<div class="page_header">
|
17
|
+
<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="/rpmstrap/summary">rpmstrap</a> / summary
|
18
|
+
</div>
|
19
|
+
<div class="page_nav">
|
20
|
+
summary |
|
21
|
+
<a href="/rpmstrap/shortlog">shortlog</a> |
|
22
|
+
<a href="/rpmstrap/log">changelog</a> |
|
23
|
+
<a href="/rpmstrap/tags">tags</a> |
|
24
|
+
<a href="/rpmstrap/file/9214bbf6928c">manifest</a> | <a href="/rpmstrap/archive/tip.tar.bz2">bz2</a> | <a href="/rpmstrap/archive/tip.zip">zip</a> | <a href="/rpmstrap/archive/tip.tar.gz">gz</a>
|
25
|
+
<br/>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<div class="title"> </div>
|
29
|
+
<table cellspacing="0">
|
30
|
+
<tr><td>description</td><td>RPM-based bootstrap tool</td></tr>
|
31
|
+
<tr><td>owner</td><td>Sam Hart, samhart.net</td></tr>
|
32
|
+
<tr><td>last change</td><td>Mon, 05 Jun 2006 13:30:57 -0400</td></tr>
|
33
|
+
</table>
|
34
|
+
|
35
|
+
<div><a class="title" href="/rpmstrap/log">changes</a></div>
|
36
|
+
<table cellspacing="0">
|
37
|
+
<tr class="parity1"><td class="age"><i>16 months ago</i></td><td><i>sam</i></td><td><a class="list" href="/rpmstrap/rev/9214bbf6928c"><b>[svn] Even lazier output for stripper</b></a></td><td class="link"><a href="/rpmstrap/rev/9214bbf6928c">changeset</a> | <a href="/rpmstrap/file/9214bbf6928c">manifest</a></td></tr><tr class="parity0"><td class="age"><i>16 months ago</i></td><td><i>sam</i></td><td><a class="list" href="/rpmstrap/rev/28f0dd3322ae"><b>[svn] Add suite-stripper tool for migration to smartstrap</b></a></td><td class="link"><a href="/rpmstrap/rev/28f0dd3322ae">changeset</a> | <a href="/rpmstrap/file/28f0dd3322ae">manifest</a></td></tr><tr class="parity1"><td class="age"><i>19 months ago</i></td><td><i>sam</i></td><td><a class="list" href="/rpmstrap/rev/1a2226b254ab"><b>[svn] Remove excess getopt import</b></a></td><td class="link"><a href="/rpmstrap/rev/1a2226b254ab">changeset</a> | <a href="/rpmstrap/file/1a2226b254ab">manifest</a></td></tr><tr class="parity0"><td class="age"><i>19 months ago</i></td><td><i>sam</i></td><td><a class="list" href="/rpmstrap/rev/b8f1aab2a44e"><b>[svn] Add some more documentation about the rpmstrap tools</b></a></td><td class="link"><a href="/rpmstrap/rev/b8f1aab2a44e">changeset</a> | <a href="/rpmstrap/file/b8f1aab2a44e">manifest</a></td></tr><tr class="parity1"><td class="age"><i>19 months ago</i></td><td><i>sam</i></td><td><a class="list" href="/rpmstrap/rev/e0ec7398313b"><b>[svn] Change wget to curl in srpm getter</b></a></td><td class="link"><a href="/rpmstrap/rev/e0ec7398313b">changeset</a> | <a href="/rpmstrap/file/e0ec7398313b">manifest</a></td></tr><tr class="parity0"><td class="age"><i>19 months ago</i></td><td><i>sam</i></td><td><a class="list" href="/rpmstrap/rev/da26a17191f2"><b>[svn] * Add wank bot</b></a></td><td class="link"><a href="/rpmstrap/rev/da26a17191f2">changeset</a> | <a href="/rpmstrap/file/da26a17191f2">manifest</a></td></tr><tr class="parity1"><td class="age"><i>19 months ago</i></td><td><i>sam</i></td><td><a class="list" href="/rpmstrap/rev/042defac976a"><b>[svn] Update the changes file with tao4 addition</b></a></td><td class="link"><a href="/rpmstrap/rev/042defac976a">changeset</a> | <a href="/rpmstrap/file/042defac976a">manifest</a></td></tr><tr class="parity0"><td class="age"><i>19 months ago</i></td><td><i>sam</i></td><td><a class="list" href="/rpmstrap/rev/fdbd6ff202c2"><b>[svn] Modify author listing in tao4</b></a></td><td class="link"><a href="/rpmstrap/rev/fdbd6ff202c2">changeset</a> | <a href="/rpmstrap/file/fdbd6ff202c2">manifest</a></td></tr><tr class="parity1"><td class="age"><i>19 months ago</i></td><td><i>sam</i></td><td><a class="list" href="/rpmstrap/rev/1e9963c052fd"><b>[svn] Add tao4 suite script submitted by Damien Mascord</b></a></td><td class="link"><a href="/rpmstrap/rev/1e9963c052fd">changeset</a> | <a href="/rpmstrap/file/1e9963c052fd">manifest</a></td></tr><tr class="parity0"><td class="age"><i>20 months ago</i></td><td><i>sam</i></td><td><a class="list" href="/rpmstrap/rev/58c844988c4e"><b>[svn] Update rpm_srpm_check to use rpm python bindings</b></a></td><td class="link"><a href="/rpmstrap/rev/58c844988c4e">changeset</a> | <a href="/rpmstrap/file/58c844988c4e">manifest</a></td></tr>
|
38
|
+
<tr class="light"><td colspan="3"><a class="list" href="/rpmstrap/log">...</a></td></tr>
|
39
|
+
</table>
|
40
|
+
|
41
|
+
<div><a class="title" href="/rpmstrap/tags">tags</a></div>
|
42
|
+
<table cellspacing="0">
|
43
|
+
<tr class="parity1"><td class="age"><i>16 months ago</i></td><td><a class="list" href="/rpmstrap/rev/9214bbf6928c"><b>svn.388</b></a></td><td class="link"><a href="/rpmstrap/rev/9214bbf6928c">changeset</a> | <a href="/rpmstrap/log/9214bbf6928c">changelog</a> | <a href="/rpmstrap/file/9214bbf6928c">manifest</a></td></tr><tr class="parity0"><td class="age"><i>16 months ago</i></td><td><a class="list" href="/rpmstrap/rev/28f0dd3322ae"><b>svn.387</b></a></td><td class="link"><a href="/rpmstrap/rev/28f0dd3322ae">changeset</a> | <a href="/rpmstrap/log/28f0dd3322ae">changelog</a> | <a href="/rpmstrap/file/28f0dd3322ae">manifest</a></td></tr><tr class="parity1"><td class="age"><i>19 months ago</i></td><td><a class="list" href="/rpmstrap/rev/1a2226b254ab"><b>svn.373</b></a></td><td class="link"><a href="/rpmstrap/rev/1a2226b254ab">changeset</a> | <a href="/rpmstrap/log/1a2226b254ab">changelog</a> | <a href="/rpmstrap/file/1a2226b254ab">manifest</a></td></tr><tr class="parity0"><td class="age"><i>19 months ago</i></td><td><a class="list" href="/rpmstrap/rev/b8f1aab2a44e"><b>svn.372</b></a></td><td class="link"><a href="/rpmstrap/rev/b8f1aab2a44e">changeset</a> | <a href="/rpmstrap/log/b8f1aab2a44e">changelog</a> | <a href="/rpmstrap/file/b8f1aab2a44e">manifest</a></td></tr><tr class="parity1"><td class="age"><i>19 months ago</i></td><td><a class="list" href="/rpmstrap/rev/e0ec7398313b"><b>svn.371</b></a></td><td class="link"><a href="/rpmstrap/rev/e0ec7398313b">changeset</a> | <a href="/rpmstrap/log/e0ec7398313b">changelog</a> | <a href="/rpmstrap/file/e0ec7398313b">manifest</a></td></tr><tr class="parity0"><td class="age"><i>19 months ago</i></td><td><a class="list" href="/rpmstrap/rev/da26a17191f2"><b>svn.361</b></a></td><td class="link"><a href="/rpmstrap/rev/da26a17191f2">changeset</a> | <a href="/rpmstrap/log/da26a17191f2">changelog</a> | <a href="/rpmstrap/file/da26a17191f2">manifest</a></td></tr><tr class="parity1"><td class="age"><i>19 months ago</i></td><td><a class="list" href="/rpmstrap/rev/042defac976a"><b>svn.353</b></a></td><td class="link"><a href="/rpmstrap/rev/042defac976a">changeset</a> | <a href="/rpmstrap/log/042defac976a">changelog</a> | <a href="/rpmstrap/file/042defac976a">manifest</a></td></tr><tr class="parity0"><td class="age"><i>19 months ago</i></td><td><a class="list" href="/rpmstrap/rev/fdbd6ff202c2"><b>svn.352</b></a></td><td class="link"><a href="/rpmstrap/rev/fdbd6ff202c2">changeset</a> | <a href="/rpmstrap/log/fdbd6ff202c2">changelog</a> | <a href="/rpmstrap/file/fdbd6ff202c2">manifest</a></td></tr><tr class="parity1"><td class="age"><i>19 months ago</i></td><td><a class="list" href="/rpmstrap/rev/1e9963c052fd"><b>svn.351</b></a></td><td class="link"><a href="/rpmstrap/rev/1e9963c052fd">changeset</a> | <a href="/rpmstrap/log/1e9963c052fd">changelog</a> | <a href="/rpmstrap/file/1e9963c052fd">manifest</a></td></tr><tr class="parity0"><td class="age"><i>20 months ago</i></td><td><a class="list" href="/rpmstrap/rev/58c844988c4e"><b>svn.348</b></a></td><td class="link"><a href="/rpmstrap/rev/58c844988c4e">changeset</a> | <a href="/rpmstrap/log/58c844988c4e">changelog</a> | <a href="/rpmstrap/file/58c844988c4e">manifest</a></td></tr>
|
44
|
+
<tr class="light"><td colspan="3"><a class="list" href="/rpmstrap/tags">...</a></td></tr>
|
45
|
+
</table>
|
46
|
+
|
47
|
+
<div><a class="title"
|
48
|
+
href="#">heads</a></div>
|
49
|
+
<table cellspacing="0">
|
50
|
+
<tr class="parity1"><td class="age"><i>16 months ago</i></td><td><a class="list" href="/rpmstrap/rev/9214bbf6928c"><b>9214bbf6928c</td><td>rpmstrap</td><td class="link"><a href="/rpmstrap/rev/9214bbf6928c">changeset</a> | <a href="/rpmstrap/log/9214bbf6928c">changelog</a> | <a href="/rpmstrap/file/9214bbf6928c">manifest</a></td></tr>
|
51
|
+
<tr class="light">
|
52
|
+
<td colspan="3"><a class="list" href="#">...</a></td>
|
53
|
+
</tr>
|
54
|
+
</table>
|
55
|
+
<div class="page_footer">
|
56
|
+
<div class="page_footer_text">rpmstrap</div>
|
57
|
+
<a class="rss_logo" href="/rpmstrap/rss-log">RSS</a>
|
58
|
+
<br />
|
59
|
+
|
60
|
+
</div>
|
61
|
+
</body>
|
62
|
+
</html>
|
63
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# Configure the new image to be a minimal image, by removing
|
4
|
+
# a packages I don't care about - and installing some alternatives.
|
5
|
+
#
|
6
|
+
# Steve
|
7
|
+
# --
|
8
|
+
# http://www.steve.org.uk/
|
9
|
+
#
|
10
|
+
|
11
|
+
prefix=$1
|
12
|
+
|
13
|
+
#
|
14
|
+
# Source our common functions - this will let us install a Debian package.
|
15
|
+
#
|
16
|
+
if [ -e /usr/lib/xen-tools/common.sh ]; then
|
17
|
+
. /usr/lib/xen-tools/common.sh
|
18
|
+
else
|
19
|
+
echo "Installation problem"
|
20
|
+
fi
|
21
|
+
|
22
|
+
#
|
23
|
+
# Install some new packages - do this first to avoid dependency errors.
|
24
|
+
#
|
25
|
+
|
26
|
+
installCentOS4Package ${prefix} syslog-ng
|
27
|
+
installCentOS4Package ${prefix} deborphan
|
28
|
+
installCentOS4Package ${prefix} less
|
29
|
+
installCentOS4Package ${prefix} screen
|
30
|
+
installCentOS4Package ${prefix} sudo
|
31
|
+
installCentOS4Package ${prefix} vim
|
32
|
+
installCentOS4Package ${prefix} emacs
|
33
|
+
installCentOS4Package ${prefix} openssh-server
|
34
|
+
installCentOS4Package ${prefix} ssh
|
35
|
+
installCentOS4Package ${prefix} cvs
|
36
|
+
installCentOS4Package ${prefix} subversion
|
@@ -0,0 +1,36 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# Configure the new image to be a minimal image, by removing
|
4
|
+
# a packages I don't care about - and installing some alternatives.
|
5
|
+
#
|
6
|
+
# Steve
|
7
|
+
# --
|
8
|
+
# http://www.steve.org.uk/
|
9
|
+
#
|
10
|
+
|
11
|
+
prefix=$1
|
12
|
+
|
13
|
+
#
|
14
|
+
# Source our common functions - this will let us install a Debian package.
|
15
|
+
#
|
16
|
+
if [ -e /usr/lib/xen-tools/common.sh ]; then
|
17
|
+
. /usr/lib/xen-tools/common.sh
|
18
|
+
else
|
19
|
+
echo "Installation problem"
|
20
|
+
fi
|
21
|
+
|
22
|
+
#
|
23
|
+
# Install some new packages - do this first to avoid dependency errors.
|
24
|
+
#
|
25
|
+
|
26
|
+
installDebianPackage ${prefix} syslog-ng
|
27
|
+
installDebianPackage ${prefix} deborphan
|
28
|
+
installDebianPackage ${prefix} less
|
29
|
+
installDebianPackage ${prefix} screen
|
30
|
+
installDebianPackage ${prefix} sudo
|
31
|
+
installDebianPackage ${prefix} vim
|
32
|
+
installDebianPackage ${prefix} emacs
|
33
|
+
installDebianPackage ${prefix} openssh-server
|
34
|
+
installDebianPackage ${prefix} ssh
|
35
|
+
installDebianPackage ${prefix} cvs
|
36
|
+
installDebianPackage ${prefix} subversion
|
@@ -0,0 +1,47 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# Configure the new image to be a minimal image, by removing
|
4
|
+
# a packages I don't care about - and installing some alternatives.
|
5
|
+
#
|
6
|
+
# Steve
|
7
|
+
# --
|
8
|
+
# http://www.steve.org.uk/
|
9
|
+
#
|
10
|
+
|
11
|
+
|
12
|
+
prefix=$1
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# Source our common functions - this will let us install a Debian package.
|
18
|
+
#
|
19
|
+
if [ -e /usr/lib/xen-tools/common.sh ]; then
|
20
|
+
. /usr/lib/xen-tools/common.sh
|
21
|
+
else
|
22
|
+
echo "Installation problem"
|
23
|
+
fi
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Install some new packages - do this first to avoid dependency errors.
|
30
|
+
#
|
31
|
+
installDebianPackage ${prefix} syslog-ng
|
32
|
+
installDebianPackage ${prefix} deborphan
|
33
|
+
installDebianPackage ${prefix} less
|
34
|
+
installDebianPackage ${prefix} screen
|
35
|
+
installDebianPackage ${prefix} sudo
|
36
|
+
installDebianPackage ${prefix} vim
|
37
|
+
installDebianPackage ${prefix} emacs
|
38
|
+
installDebianPackage ${prefix} ssh
|
39
|
+
installDebianPackage ${prefix} ssh-server
|
40
|
+
installDebianPackage ${prefix} cvs
|
41
|
+
installDebianPackage ${prefix} subversion
|
42
|
+
installDebianPackage ${prefix} mysql-server
|
43
|
+
installDebianPackage ${prefix} mysql-client
|
44
|
+
installDebianPackage ${prefix} mytop
|
45
|
+
|
46
|
+
|
47
|
+
|
@@ -0,0 +1,47 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# Configure the new image to be a minimal image, by removing
|
4
|
+
# a packages I don't care about - and installing some alternatives.
|
5
|
+
#
|
6
|
+
# Steve
|
7
|
+
# --
|
8
|
+
# http://www.steve.org.uk/
|
9
|
+
#
|
10
|
+
|
11
|
+
|
12
|
+
prefix=$1
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# Source our common functions - this will let us install a Debian package.
|
18
|
+
#
|
19
|
+
if [ -e /usr/lib/xen-tools/common.sh ]; then
|
20
|
+
. /usr/lib/xen-tools/common.sh
|
21
|
+
else
|
22
|
+
echo "Installation problem"
|
23
|
+
fi
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Install some new packages - do this first to avoid dependency errors.
|
30
|
+
#
|
31
|
+
installDebianPackage ${prefix} syslog-ng
|
32
|
+
installDebianPackage ${prefix} deborphan
|
33
|
+
installDebianPackage ${prefix} less
|
34
|
+
installDebianPackage ${prefix} screen
|
35
|
+
installDebianPackage ${prefix} sudo
|
36
|
+
installDebianPackage ${prefix} vim
|
37
|
+
installDebianPackage ${prefix} emacs
|
38
|
+
installDebianPackage ${prefix} ssh
|
39
|
+
installDebianPackage ${prefix} ssh-server
|
40
|
+
installDebianPackage ${prefix} cvs
|
41
|
+
installDebianPackage ${prefix} subversion
|
42
|
+
installDebianPackage ${prefix} mysql-server
|
43
|
+
installDebianPackage ${prefix} mysql-client
|
44
|
+
installDebianPackage ${prefix} mytop
|
45
|
+
|
46
|
+
|
47
|
+
|