```ruby
#
# Cookbook Name:: js-jenkins
# Recipe:: yumrepo
#
# Copyright (C) 2016 YOUR_NAME
#
# All rights reserved - Do Not Redistribute
#

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

Add basic nginx config for yum repo
user
```ruby
#
# Cookbook Name:: js-jenkins
# Recipe:: yumrepo
#
# Copyright (C) 2016 YOUR_NAME
#
# All rights reserved - Do Not Redistribute
#

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

cookbook_file '/etc/nginx/nginx.conf' do
  source 'yumrepo_nginx.conf'
  owner 'root'
  group 'root'
  mode '0644'
  action :create
  notifies :restart, 'service[nginx]'
end
```
assistant