cookbook 'mercurial', '= 1.1.0', :supermarket
mercurial (8) Versions 1.1.0 Follow13
cookbook 'mercurial', '= 1.1.0'
knife supermarket install mercurial
knife supermarket download mercurial
A package named "mercurial" must exist in the platform package management system.
Install mercurial to make sure it is available to check out code from mercurial repositories.
This cookbook includes LWRPs for managing: mercurial
- :clone - this will simply issue a clone of the repository at the revision specified (default tip).
- :sync - this will issue a clone of the repository if there is nothing at the path specified, otherwise a pull and update will be issued to bring the directory up-to-date.
path- Name attribute path where the repository is checked out.
repository- Repository to check out
reference- Reference in the repository
key- a private key on disk to use, for private repositories, must already exist.
owner- local user that the clone is run as
group- local group that the clone is run as
mode- permissions of the cloned repository
mercurial "/home/site/checkouts/www" do repository "ssh://firstname.lastname@example.org/niallsco/chef-hg" reference "tip" key "/home/site/.ssh/keyname" action :sync end
License and Author
Author:: Joshua Timberman email@example.com
Copyright:: 2009, Opscode, Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|windows >= 0.0.0|