Skip to content

mikebthun/cakephp2_deploy

Repository files navigation

cakephp2_deploy-cookbook

LWRP for created tmp, log and cache directories for CakePHP (tested on CakePHP 2)

Supported Platforms

Ubuntu 12.04 Centos 6.4

Usage

Normal

Use path to cakephp app directory as name of resource.


cakephp2_deploy "/var/www/app" do

        action :create
        user "www-data" # this is default 

end

Symlinks

If your tmp directory is already created with symlinks, path should include tmp in path and create_tmp_dir should be set to false.


cakephp2_deploy "/var/www/app/tmp" do

	action :create
    create_tmp_dir false 
    user "www-data" # this is default

end

About

LWRP for created tmp, log and cache directories for CakePHP (tested on CakePHP 2)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages