cookbook 'gimp', '= 1.0.0'
gimp (4) Versions 1.0.0 Follow1
Installs GIMP
cookbook 'gimp', '= 1.0.0', :supermarket
knife supermarket install gimp
knife supermarket download gimp
Gimp Cookbook
A Chef cookbook for installing GIMP.
Requirements
As of v1.0.0, this cookbook now requires Chef 12+.
This cookbook currently supports OS X, Windows, Debian/Ubuntu, FreeBSD, the
assorted RHEL variants, and OpenSUSE. It uses the dmg, windows, apt, freebsd,
and zypper community cookbooks to enable that platform support.
Usage
Either add the default recipe to your run_list or implement the resource
directly in a recipe of your own.
Recipes
default
Installs GIMP.
Attributes
default
A specific version of GIMP can be installed if you so desire:
default['gimp']['version'] = nil
Resources
gimp_app
Used to install the GIMP app.
Syntax:
gimp_app 'default' do
version '1.2.3'
action :install
end
Actions:
Action | Description |
---|---|
:install |
Install the app |
:remove |
Uninstall the app |
Attributes:
Attribute | Default | Description |
---|---|---|
version | nil |
A specific version to install |
action | :create |
Action(s) to perform |
Providers
Chef::Provider::GimpApp::MacOsX
Provider for Mac OS X platforms.
Chef::Provider::GimpApp::Windows
Provider for Windows platforms.
Chef::Provider::GimpApp::Debian
Provider for Debian and Ubuntu platforms.
Chef::Provider::GimpApp::Freebsd
Provider for FreeBSD platforms.
Chef::Provider::GimpApp::Rhel
Provider for Red Hat/CentOS/Scientific/Amazon/Fedora platforms.
Chef::Provider::GimpApp::Suse
Provider for SUSE platforms.
Chef::Provider::GimpApp::Package
A generic provider for any platform that can install GIMP with a Chef package
resource.
Chef::Provider::GimpApp
A parent provider for all the platform-specific providers to subclass.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Add tests for the new feature; ensure they pass (
rake
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
License & Authors
- Author: Jonathan Hartman j@p4nt5.com
Copyright 2015 Jonathan Hartman
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
http://www.apache.org/licenses/LICENSE-2.0
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.
Dependent cookbooks
dmg ~> 2.2 |
windows ~> 1.37 |
apt ~> 2.7 |
freebsd ~> 0.3 |
zypper ~> 0.1 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Gimp Cookbook CHANGELOG
v1.0.0 (2015-12-07)
- Update provider resolution to adhere to the most recent standards set by e.g. the httpd cookbook.
- Rewrite OS X/Windows helper methods to account for all versions not always being released simultaneously for all platforms.
v0.1.0 (2015-06-28)
- Initial release, w/ support for OS X, Windows, Ubuntu/Debian, FreeBSD, RHEL/etc., OpenSUSE.
v0.0.1 (2015-06-24)
- Development started
Foodcritic Metric
1.0.0 passed this metric
1.0.0 passed this metric