From 42e3fa2ff3f0491e48eba8c5de847d3968bcca1a Mon Sep 17 00:00:00 2001 From: Shlomi Zadok Date: Sun, 11 Sep 2016 15:36:53 +0300 Subject: [PATCH] packaging for puppet-foreman_scap_client --- .../puppet-foreman_scap_client.spec | 43 +++++++++++++++++++ ...eforeman-foreman_scap_client-0.3.11.tar.gz | 1 + rel-eng/tito.props | 6 ++- 3 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 puppet-foreman_scap_client/puppet-foreman_scap_client.spec create mode 120000 puppet-foreman_scap_client/theforeman-foreman_scap_client-0.3.11.tar.gz diff --git a/puppet-foreman_scap_client/puppet-foreman_scap_client.spec b/puppet-foreman_scap_client/puppet-foreman_scap_client.spec new file mode 100644 index 00000000000..fbf395c24ed --- /dev/null +++ b/puppet-foreman_scap_client/puppet-foreman_scap_client.spec @@ -0,0 +1,43 @@ +%global puppet_module foreman_scap_client +%global puppet_full_name theforeman-%{puppet_module} + +%global puppet_modules_dir %{_datadir}/puppet/modules +%global puppet_foreman_scap_client_dir %{puppet_modules_dir}/%{puppet_module} + +Name: puppet-%{puppet_module} +Version: 0.3.11 +Release: 1%{?dist} +Summary: Puppet module to configure foreman_scap_client +License: GPLv2 +URL: https://github.com/theforeman/%{name} +Source0: https://forgeapi.puppetlabs.com/v3/files/%{puppet_full_name}-%{version}.tar.gz +BuildArch: noarch +Requires: puppet >= 2.7.0 +Requires: puppetlabs-stdlib >= 4.2.0 + +%description +Foreman SCAP client Puppet Module configures the client of the same name +to run scans and upload results to foreman proxy. + +%prep +%setup -qn %{puppet_full_name}-%{version} + +%build + +%install +mkdir -p %{buildroot}/%{puppet_foreman_scap_client_dir} +cp -rp . %{buildroot}/%{puppet_foreman_scap_client_dir}/ + + +%files +%doc NEWS COPYING README.md +%dir %{puppet_modules_dir}/%{puppet_module} +%{puppet_foreman_scap_client_dir}/metadata.json +%{puppet_foreman_scap_client_dir}/checksums.json +%{puppet_foreman_scap_client_dir}/Gemfile +%{puppet_foreman_scap_client_dir}/Rakefile +%{puppet_foreman_scap_client_dir}/lib +%{puppet_foreman_scap_client_dir}/manifests +%{puppet_foreman_scap_client_dir}/templates + +%changelog diff --git a/puppet-foreman_scap_client/theforeman-foreman_scap_client-0.3.11.tar.gz b/puppet-foreman_scap_client/theforeman-foreman_scap_client-0.3.11.tar.gz new file mode 120000 index 00000000000..bcd22b56d4b --- /dev/null +++ b/puppet-foreman_scap_client/theforeman-foreman_scap_client-0.3.11.tar.gz @@ -0,0 +1 @@ +../.git/annex/objects/8V/f5/SHA256E-s11190--b3d727e095fe8bb61cc3f0b0724dc71bc640176e64f89571569a444d706e3f55.tar.gz/SHA256E-s11190--b3d727e095fe8bb61cc3f0b0724dc71bc640176e64f89571569a444d706e3f55.tar.gz \ No newline at end of file diff --git a/rel-eng/tito.props b/rel-eng/tito.props index ba5bf1e1265..73272dcc964 100644 --- a/rel-eng/tito.props +++ b/rel-eng/tito.props @@ -361,7 +361,8 @@ whitelist = rubygem-algebrick [foreman-plugins-nightly-nonscl-rhel7] disttag = .el7 -whitelist = rubygem-algebrick +whitelist = puppet-foreman_scap_client + rubygem-algebrick rubygem-apipie-params rubygem-chef-api rubygem-concurrent-ruby @@ -396,7 +397,8 @@ whitelist = rubygem-algebrick [foreman-plugins-nightly-fedora24] disttag = .fc24 -whitelist = rubygem-algebrick +whitelist = puppet-foreman_scap_client + rubygem-algebrick rubygem-angular-rails-templates rubygem-apipie-params rubygem-azure