Additional features for custom resources.
- Added a
timeout
option for bothyumserver_mirror
&yumserver_rsync_mirror
. - Added an
options
option foryumserver_mirror
allowing you to add additional options to the reposync command.
Minor bug fix.
- Fixed a bug that meant the
node['yumserver']['basepath']
attribute wasn't honoured by theyumserver_mirror
&yumserver_rsync_mirror
resources.
Minor bug fix after a fault was found in production with this cookbook.
- The path defined by the
yumserver_mirror
resource was incorrect. This was causing thezap
feature to fail on runs after the first. Fixing the defined path in this resource fixed the error withzap
.
Major release with additional features/bug fixes that may break backwards compatibility.
- Now using
mixlib-shellout
instead of exec resources foryumserver_mirrror
resources. - The
createrepo
command ran as part ofyumserver_mirror
resources are now multi-threaded. - Add
zap
support for/etc/resposync.repos.d
. - Now uses the
nginx_server
cookbook to provide the web server.
- Fixed a typo in the
yumserver_mirror
resource that prevented the reposync config from beign remove on a:delete
action.
Small bugfix update to make the delete action work properly across custom resources.
- In the mirror resource make sure the reposync file gets deleted by switching the resource type to file instead of template.
- In both resources make sure the base path is deleted recursively (otherwise it will fail as there are packages in them).
Large bugix release to ensure mirrored repos are properly updated after the 1st sync.
- Made
reposync
in themirror
resource use alternate yum.conf & repo directory to allow them all to be enabled (enabling updates) whithout interfering with the system's yum. - Made the metadata on
reposync
in themirror
resource expire immedietly so package changes are synced more often than every 6 hours.
General improvements to mirror resources.
- Optionally (
true
by default) create ayum_repository
to allow the yumserver to use it's mirrored repos. - The
yumserver_mirror
resource now correctly removes packages no longer in the upstream repo. - The
yumserver_mirror
should complete quicker when no packages are updated.
- Disable mirrored repos to avoid issues such as mirroring the same repo for two versions of the same distro and causing update issues on the yumserver.
Let Yum repo servers use their own rsync mirrors as repos.
- For each
yumserver_rsync_mirror
create ayum_repository
so the Yum server can use that repo if it needs it.
Added the ability to mirror a repo that is available via rsync.
- Mirror yum repos that provide rsync as an option.
- Add regression test.
Fix NGINX config.
Minor doc updates.
Initial release. Includes basic functionality.
- Mirrors Yum repos.
- Serves Yum repos via NGINX.