Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove git_service - Remove service resource - Remove the server recipe The server recipe was insecure and not a recommended way of running a Git service * Remove md-links * Remove links to tickets.chef.io * Remove server from CI testing Signed-off-by: Lance Albertson <lance@osuosl.org> * Update the MacOS runner version for Windows tests * Add final step --------- Signed-off-by: Lance Albertson <lance@osuosl.org> Co-authored-by: Lance Albertson <lance@osuosl.org>
- Loading branch information
Showing
10 changed files
with
90 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# git_client | ||
|
||
The `git_client` resource manages the installation of a Git client on a machine. | ||
|
||
`Note`: on macOS systems homebrew must first be installed on the system before running this resource. Prior to version 9.0 of this cookbook homebrew was automatically installed. | ||
|
||
## Example | ||
|
||
```ruby | ||
git_client 'default' | ||
``` | ||
|
||
## Example of source install | ||
|
||
```ruby | ||
git_client 'source' do | ||
source_version '2.14.2' | ||
source_checksum 'a03a12331d4f9b0f71733db9f47e1232d4ddce00e7f2a6e20f6ec9a19ce5ff61' | ||
action :install_from_source | ||
end | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# git_config | ||
|
||
The `git_config` resource manages the configuration of Git client on a machine. | ||
|
||
## Example | ||
|
||
```ruby | ||
git_config 'url.https://github.com/.insteadOf' do | ||
value 'git://github.com/' | ||
scope 'system' | ||
options '--add' | ||
end | ||
``` | ||
|
||
## Properties | ||
|
||
Currently, there are distinct sets of resource properties, used by the providers for source, package, macos, and windows. | ||
|
||
### used by Linux provider | ||
|
||
- `package_name` - Package name to install on Linux machines. Defaults to a calculated value based on platform. | ||
- `package_version` - Defaults to nil. | ||
- `package_action` - Defaults to `:install` | ||
|
||
### used by Linux source install | ||
|
||
- `source_prefix` - Defaults to '/usr/local' | ||
- `source_url` - Defaults to a calculated URL based on source_version | ||
- `source_version` - Defaults to 2.8.1 | ||
- `source_use_pcre` - configure option for build. Defaults to false | ||
- `source_checksum` - Defaults to a known value for the 2.8.1 source tarball | ||
|
||
### used by the Windows provider | ||
|
||
- `windows_display_name` - Windows display name | ||
- `windows_package_url` - Defaults to the Internet | ||
- `windows_package_checksum` - Defaults to the value for 2.8.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.