VladTheEnterprising 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data.tar.gz.sig CHANGED
Binary file
data/Manifest.txt CHANGED
@@ -5,6 +5,7 @@ Rakefile
5
5
  lib/vlad/enterprising.rb
6
6
  lib/vlad/translator.rb
7
7
  lib/vlad/environmentalist.rb
8
+ lib/vlad/dba.rb
8
9
  lib/vlad/dba/mysql.rb
9
10
  lib/vlad/xen_master.rb
10
11
  files
data/lib/vlad/dba.rb ADDED
@@ -0,0 +1,10 @@
1
+ require 'vlad/dba/mysql'
2
+ namespace :vlad do
3
+ namespace :dba do
4
+ task :assert_single_master do
5
+ if Rake::RemoteTask.hosts_for(:db_master).size != 1
6
+ raise "Error! This task demands one and only one host have the :db_master role assigned"
7
+ end
8
+ end
9
+ end
10
+ end
@@ -4,7 +4,7 @@ require 'vlad/environmentalist'
4
4
  require 'vlad/xen_master'
5
5
  require 'vlad/dba'
6
6
  require 'vlad/webmaster/apache'
7
- VLAD_ENTERPRISING_VERSION = '0.1.6' unless defined? VLAD_ENTERPRISING_VERSION
7
+ VLAD_ENTERPRISING_VERSION = '0.1.7' unless defined? VLAD_ENTERPRISING_VERSION
8
8
 
9
9
 
10
10
  # rsync the given files to <tt>target_host</tt>.
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: VladTheEnterprising
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.6
6
+ version: 0.1.7
7
7
  date: 2007-10-17 00:00:00 -04:00
8
8
  summary: Adds 'enterprisey' features to Vlad The Deployer
9
9
  require_paths:
@@ -58,6 +58,7 @@ files:
58
58
  - lib/vlad/enterprising.rb
59
59
  - lib/vlad/translator.rb
60
60
  - lib/vlad/environmentalist.rb
61
+ - lib/vlad/dba.rb
61
62
  - lib/vlad/dba/mysql.rb
62
63
  - lib/vlad/xen_master.rb
63
64
  - files
metadata.gz.sig CHANGED
Binary file