1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
%define _altdata_dir %_datadir/alterator Name: alterator-mass-management Version: 0.1.7 Release: alt1 Source: %name-%version.tar Packager: Andrey Cherepanov <cas@altlinux.ru> Summary: Alterator module for configuration mass management License: GPLv3+ Group: System/Configuration/Other BuildArch: noarch BuildPreReq: alterator >= 4.10-alt5 Requires: alterator >= 4.10-alt5 alterator-sh-functions >= 0.12-alt1 Requires: alterator-net-eth alterator-dhcp Requires: ansible >= 1.9.2 Requires: git-core %define amm_pull_user _alterator_mass_management_pull %description Alterator module for configuration management. %prep %setup -q %build %make_build %install %makeinstall %pre getent passwd %amm_pull_user > /dev/null || \ %_sbindir/useradd -M -r -U -c 'Alterator-mass-management user for ansible-pull access' \ -d /var/lib/alterator-mass-management/tasks %amm_pull_user 2> /dev/null ||: %files %config %_localstatedir/alterator-mass-management/ansible.cfg %_datadir/alterator/applications/* %_datadir/alterator/ui/*/ %_datadir/%name/common-ansible-tasks/ %_alterator_backend3dir/* %_libexecdir/%name/scripts/worker %_libexecdir/%name/scripts/worker-actions/ %_libexecdir/%name/scripts/amm-pull-cronjob %dir %_logdir/%name %dir %_localstatedir/alterator-mass-management/tasks %attr(701, root, root) %dir %_localstatedir/alterator-mass-management/keys %changelog * Thu Oct 22 2015 Andrey Cherepanov <cas@altlinux.org> 0.1.7-alt1 - pull mode: Fix SSH key's file ownership * Thu Oct 08 2015 Andrey Cherepanov <cas@altlinux.org> 0.1.6-alt1 - Remove \r from imported files * Mon Sep 28 2015 Andrey Cherepanov <cas@altlinux.org> 0.1.5-alt1 - Completely support of pull mode * Thu Sep 17 2015 Andrey Cherepanov <cas@altlinux.org> 0.1.4-alt1 - Fill and apply profile - Initial support of pull mode - Split main stript to sibtask-based scripts * Fri Aug 21 2015 Andrey Cherepanov <cas@altlinux.org> 0.1.3-alt1 - Implement profile apply (sem@) - Extract backend actions from worker script (sem@) - Support role (for master, slave and slave with pull mode) (cas@) - Support remote server for logging in worker script for pull-mode (cas@) * Fri Jul 10 2015 Andrey Cherepanov <cas@altlinux.org> 0.1.2-alt1 - Log date on client too - Fix tymesync arguments handling * Wed Jul 08 2015 Andrey Cherepanov <cas@altlinux.org> 0.1.1-alt1 - Key management and task restart support * Fri Jun 26 2015 Andrey Cherepanov <cas@altlinux.org> 0.1.0-alt1 - Initial build in Sisyphus