backport_package_settings
Version information
Start using this module
Add this module to your Puppetfile:
mod 'ptomulik-backport_package_settings', '0.0.3'
Learn more about managing modules with a PuppetfileDocumentation
ptomulik-backport_package_settings
Discontinued!!
This project is no longer developed. Use ptomulik-backports instead.
Table of Contents
Overview
Backport package_settings
to older versions of Puppet.
The package
resource has a package_settings
feature and property in Puppet
3.5.0 and later. The property, however, is missing in older puppet versions.
This module brings the package_settings
feature back to any older version of
Puppet if it doesn't have one.
Setup
Setup Requirements
You must enable pluginsync in your puppet.conf
.
Beginning with backport_package_settings
To backport package_settings
put the following line in front of your package
provider:
require 'puppet/backport/type/package/package_settings'
To use package_settings
, your provider should implement at least these
methods:
package_settings
package_settings=(value)
package_settings_insync?(should,is)
It may also optionally implement the following methods:
package_settings_validate(value)
,package_settings_munge(value)
,package_settings_should_to_s(should,newvalue)
,package_settings_is_to_s(should,currentvalue)
,package_settings_change_to_s(currentvalue,newvalue)
Development
The project is held at github:
- https://github.com/ptomulik/puppet-backport_package_settings Issue reports, patches, pull requests are welcome!
2016-09-16 Pawel Tomulik ptomulik@meil.pw.edu.pl
- release 0.0.3
- swich project to discontinued state
- update Gemfile to work with more rubies
- update .travis.yml (more environments, all branches)
- switch from Modulefile to metadata.json 2014-01-21 Pawel Tomulik ptomulik@meil.pw.edu.pl
- release 0.0.2
- Fixed a bug in package/package_settings (implicit argument passing of super...) 2014-01-18 Pawel Tomulik ptomulik@meil.pw.edu.pl
- release 0.0.1
- initial commit
backport_package_settings - backport package_settings property of the package resource to older versions of puppet Copyright (C) 2014 Paweł Tomulik <ptomulik@meil.pw.edu.pl>. 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.