Version information
released Nov 17th 2017
This version is compatible with:
- Puppet 4.0
- SLES, SLED, OpenSuSE, SuSE
Start using this module
Add this module to your Puppetfile:
mod 'vholer-obs_repo', '1.7.0'
Learn more about managing modules with a PuppetfileDocumentation
vholer/obs_repo — version 1.7.0 Nov 17th 2017
Puppet OpenSUSE Build Service repositories module
This module manages local configuration of repositories from the OpenSUSE (http://download.opensuse.org/repositories). It automatically imports the GPG key if checking is enabled.
Requirements
Module has been tested on:
- Puppet 5.3
- OpenSUSE 42.3
Required modules:
- stdlib (https://github.com/puppetlabs/puppetlabs-stdlib)
- zypprepo (https://github.com/voxpupuli/puppet-zypprepo)
Quick Start
Add repository and import mirrored GPG key. Example:
obs_repo { 'systemsmanagement:/puppet':
enabled => 0,
}
Full configuration options:
obs_repo { name:
enabled => 0|1|absent, # enable state
descr => '...', # repository description
urlprefix => 'http://download.opensuse.org/repositories',
baseurl => '...', # custom repository URL
platform => '...', # custom repository platform
gpgkey => '...', # custom GPG key URL
gpgcheck => 0|1, # check GPG signatures?
autorefresh => 0|1, # autorefresh repo. metadata?
keeppackages => 0|1, # keep downloaded files?
type => '...', # repository type (format)
}
Class wrapper for adding multiple repositories via Hiera:
include obs_repo::multiple
With Hiera only resolved parameters:
- repos - array of repository names
- options - hash of opensuse_repo options
2017-11-17 - Release 1.7.0
- Remove all local signing keys
- Automatically import remote GPG keys
2017-11-17 - Release 1.6.20171117
- Signing keys refresh
- Updates for Puppet >= 4
- Support openSUSE Leap
2016-07-27 - Release 1.5.20160727
Summary
Module rename.
Features
- Module rename o obs_repo to support other platforms than OpenSUSE.
2016-07-27 - Release 1.4.20160727
Summary
Maintenance release - changed module owner/repo.
Features
- Changed module owner/repo.
2016-07-27 - Release 1.3.20160727
Summary
Signing keys refresh. Module deprecation.
Features
- Signing keys refresh
- Module deprecation notice
2015-09-22 - Release 1.3.20150922
Summary
Signing keys refresh.
Features
- Signing keys refresh.
2014-12-08 - Release 1.3.20141204
Fix file/directory permissions.
Bugfixes
- Fix PF module archive file/directory permissions.
2014-12-04 - Release 1.2.20141204
Summary
Signing keys refresh.
Features
- Signing keys refresh.
2014-09-02 - Release 1.2.20140902
Summary
Signing keys refresh. Fix metadata.json
Features
- Signing keys refresh.
Bugfixes
- Fix metadata.json module dependencies
2014-08-29 - Release 1.1.20140829
Summary
Signing keys refresh. Use hiera_array merge lookup for opensuse_repo::multiple::repos.
Features
- Signing keys refresh.
Bugfixes
- Use hiera_array merge lookup for opensuse_repo::multiple::repos.
2014-08-07 - Release 1.0.20140807
Summary
Initial release.
Dependencies
- puppetlabs/stdlib (>= 4.0.0)
- puppet/zypprepo (>= 2.2.0)
The MIT License (MIT) Copyright (c) 2016 Vlastimil Holer Copyright (c) 2014-16 Institute of Computer Science, Masaryk University Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.