```ruby
#
# Cookbook Name:: js-nginx
# Recipe:: default
#
# Copyright (C) 2016 YOUR_NAME
#
# All rights reserved - Do Not Redistribute
#
package 'nginx'  do
  action :install
end

directory '/var/www' do
  owner 'nginx'
  group 'nginx'
  mode '0755'
  action :create
end

directory '/var/www/html' do
  owner 'nginx'
  group 'nginx'
  mode '0755'
  action :create
end
```

Add workspace cleanup and createrepo step to app-release
user
```ruby
#
# Cookbook Name:: js-nginx
# Recipe:: default
#
# Copyright (C) 2016 YOUR_NAME
#
# All rights reserved - Do Not Redistribute
#
package 'nginx'  do
  action :install
end

service 'nginx' do
  action [ :enable, :start ]
end

directory '/var/www' do
  owner 'nginx'
  group 'nginx'
  mode '0755'
  action :create
end

directory '/var/www/html' do
  owner 'nginx'
  group 'nginx'
  mode '0755'
  action :create
end
```
assistant