le1t0-deprec 2.1.6.007 → 2.1.6.008

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  # deprec changelog
2
2
 
3
+ = 2.1.6.008 (Jun 10, 2010)
4
+
5
+ * Fixed use of some variable names in various recipes relating to alternatives registration
6
+
3
7
  = 2.1.6.007 (Jun 10, 2010)
4
8
 
5
9
  * some adjustments to nagios recipe
data/bin/depify CHANGED
@@ -47,10 +47,12 @@ files = {
47
47
  # your SCM below:
48
48
  set :scm, :git
49
49
 
50
- set :ruby_vm_type, :ree # :ree, :mri
51
- set :web_server_type, :apache # :apache, :nginx
52
- set :app_server_type, :passenger # :passenger, :mongrel
53
- set :db_server_type, :mysql # :mysql, :postgresql, :sqlite
50
+ set :ruby_choice, :ree # :ree, :mri
51
+ set :web_choice, :apache # :apache, :nginx
52
+ set :app_choice, :passenger # :passenger, :mongrel
53
+ set :db_choice, :mysql # :mysql, :postgresql, :sqlite
54
+ set :sphinx_choice, :thinking_sphinx
55
+ set :imagemagick_choice, :imagemagick_src
54
56
 
55
57
  # set :packages_for_project, %w(libmagick9-dev imagemagick libfreeimage3) # list of packages to be installed
56
58
  # set :gems_for_project, %w(rmagick mini_magick image_science) # list of gems to be installed
@@ -104,7 +104,7 @@ Capistrano::Configuration.instance(:must_exist).load do
104
104
  task :config_project, :roles => :app do
105
105
  deprec2.push_configs(:mongrel, PROJECT_CONFIG_FILES[:mongrel])
106
106
  symlink_mongrel_cluster
107
- send("symlink_#{web_server_type}_vhost")
107
+ send("symlink_#{web_choice}_vhost")
108
108
  symlink_monit_config
109
109
  symlink_logrotate_config
110
110
  activate_project
@@ -171,7 +171,7 @@ Capistrano::Configuration.instance(:must_exist).load do
171
171
  task :activate_project, :roles => :app do
172
172
  symlink_mongrel_cluster
173
173
  symlink_monit_config
174
- if web_server_type.to_s == 'apache'
174
+ if web_choice.to_s == 'apache'
175
175
  sudo "a2ensite #{application}"
176
176
  end
177
177
  end
@@ -4,8 +4,7 @@ Capistrano::Configuration.instance(:must_exist).load do
4
4
  namespace :passenger do
5
5
 
6
6
  set(:passenger_install_dir) {
7
-
8
- if ruby_vm_type == :ree
7
+ if ruby_choice == :ree
9
8
  base_dir = "#{ree_install_dir}/lib/ruby/gems/1.8/gems/"
10
9
  latest_passenger_version = capture("ls -d #{base_dir + 'passenger-*'} | tail -1").chomp
11
10
  else
@@ -25,7 +25,7 @@ Capistrano::Configuration.instance(:must_exist).load do
25
25
 
26
26
  create_starling_user_and_group
27
27
  set_perms_for_starling_dirs
28
- symlink_starling_for_rubyee if ruby_vm_type == :ree
28
+ symlink_starling_for_rubyee if ruby_choice == :ree
29
29
 
30
30
  SYSTEM_CONFIG_FILES[:starling].each do |file|
31
31
  deprec2.render_template(:starling, file.merge(:remote=>true))
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 2
7
7
  - 1
8
8
  - 6
9
- - 7
10
- version: 2.1.6.007
9
+ - 8
10
+ version: 2.1.6.008
11
11
  platform: ruby
12
12
  authors:
13
13
  - Le1t0