Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37037842
en ru br
ALT Linux repos
S:0.1.7-alt1

Group :: System/Configuration/Other
RPM: alterator-mass-management

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _altdata_dir %_datadir/alterator

Name:     alterator-mass-management
Version:  0.1.7
Release:  alt1

Source:   %name-%version.tar

Packager: Andrey Cherepanov <cas at 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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin