LWRP for created tmp, log and cache directories for CakePHP (tested on CakePHP 2)
Ubuntu 12.04 Centos 6.4
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
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