Back to Configuration Management

Configuration Management

Configuration Management | Chef

Author

Anjani Phuyal

Date

Jun 1, 2016

Category

Configuration Management

Read Time

1 min read

git resource

The git resource can be used to manage source control resources that exist in a git repository.

git '/var/www/html/jorani-chef' do
  repository '[email protected]:anjani-phuyal/jorani-chef.git'
  revision 'master'
  action :sync
end

This resource syncs the git repo at /var/www/html/jorani-chef

#Chef#Configuration Management#Git