Skip to content

Commit

Permalink
packaging for puppet-foreman_scap_client
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomizadok committed Sep 15, 2016
1 parent 114a433 commit 42e3fa2
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 2 deletions.
43 changes: 43 additions & 0 deletions 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
6 changes: 4 additions & 2 deletions rel-eng/tito.props
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 42e3fa2

Please sign in to comment.