Sha256: e97f438acd26a2df669a635a27ee3d37f57d68b3a4f48a3ea6c1657e7afb36af

Contents?: true

Size: 1.28 KB

Versions: 135

Compression:

Stored size: 1.28 KB

Contents

# Copyright 2006-2008 by Mike Bailey. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do 
  namespace :deprec do
    namespace :php do
      
      desc "Install PHP"
      task :install do
        install_deps
      end
      
      # Install dependencies for php
      task :install_deps do
        apt.install( {:base => %w(php5 php5-mysql)}, :stable )
      end
      
      desc "generate config file for php"
      task :config_gen do
        # not yet implemented
      end
      
      desc "deploy config file for php" 
      task :config, :roles => :web do
        # not yet implemented
      end
      
      task :start, :roles => :web do
        # not applicable
      end
      
      task :stop, :roles => :web do
        # not applicable
      end
      
      task :restart, :roles => :web do
        # not applicable
      end
      
      desc "enable php in webserver"
      task :activate, :roles => :web do
        # not yet implemented
      end  
      
      desc "disable php in webserver"
      task :deactivate, :roles => :web do
        # not yet implemented
      end
      
      task :backup, :roles => :web do
        # not applicable
      end
      
      task :restore, :roles => :web do
        # not applicable
      end
      
    end
  end
end

Version data entries

135 entries across 135 versions & 3 rubygems

Version Path
deprec-2.2.0 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.081 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.080 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.079 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.078 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.077 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.076 lib/deprec/recipes/php.rb
deprec-2.1.19 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.075 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.074 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.073 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.072 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.071 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.070 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.069 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.068 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.067 lib/deprec/recipes/php.rb
deprec-2.1.18 lib/deprec/recipes/php.rb
deprec-2.1.17 lib/deprec/recipes/php.rb
le1t0-deprec-2.1.6.066 lib/deprec/recipes/php.rb