Version information
Start using this module
Add this module to your Puppetfile:
mod 'ptomulik-packagex_resource', '0.1.5'
Learn more about managing modules with a PuppetfileDocumentation
ptomulik-packagex_resource
Table of Contents
- Caution
- Overview
- Module Description
- Setup
- Usage
- Resolved issues
- Known incompatibilities
- Limitations
- Development
Caution
This is an experimental module. It may be substantially changed, renamed or removed at all without a notice. Do not use in production.
Overview
NOTE: The build_options
property is being renamed to package_settings
.
Currently it's a transition period so you may use one or the other. The
build_options
will be removed in next major release.
This is an enhanced version of puppet package resource. Providers for this resource type are developed as separate modules. Currently I've developed portsx provider, which is an enhanced and bug-fixed version of puppet's ports provider.
Module Description
The module re-implements puppet package resource adding some crucial features to it and its providers. Currently new features include:
- package_settings - a property (ensurable) that allows defining additional options for package.
- build_options - is an "alias" for package_settings; don't use both at the same time for a given resource instance!
The package_settings are independent of the well known install_options and uninstall_options. The definition of package_settings is generally provider-specific. Whereas install_options and uninstall_options are just parameters (not ensurable), the package_settings is a fully featured property, that is the settings may be ensured on a package. See portsx provider for an example implementation of package settings.
Setup
What packagex affects
- installs, upgrades, reinstalls and uninstalls packages.
Setup Requirements
You may need to enable pluginsync in your puppet.conf
.
Beginning with packagex
Its usage is essentially same as for the original package resource.
Usage
Its usage is essentially same as for the original package resource.
Limitations
Currently nothing special.
Development
The project is held at github:
- https://github.com/ptomulik/puppet-packagex_resource Issue reports, patches, pull requests are welcome!
Types in this module release
2014-01-17 Pawel Tomulik ptomulik@meil.pw.edu.pl
- release 0.1.5
- updated README.md to notice about package_settings stuff 2014-01-15 Pawel Tomulik ptomulik@meil.pw.edu.pl
- release 0.1.4
- deprecated build_options in favour of package_settings
- fixed typos in packagex.rb 2014-01-09 Pawel Tomulik ptomulik@meil.pw.edu.pl
- release 0.1.3
- notice about transition from build_options to package_settings 2014-01-07 Pawel Tomulik ptomulik@meil.pw.edu.pl
- added package_settings feature and property
- fixed names in .script/build-module.sh
- release 0.1.2
- removed coveralls and code climage from project
- removed vash module from .fixtures.yml
- release 0.1.1
- added workaround for travis-ci issue #1793
- release 0.1.0
- initial commit
Packagex - puppet package resource with extensions. Copyright (C) 2013 Paweł Tomulik <ptomulik@meil.pw.edu.pl>. Copyright (C) 2005-2012 Puppet Labs 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 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.