-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathaccess_insights_client-puppet.spec
48 lines (33 loc) · 1.37 KB
/
access_insights_client-puppet.spec
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
%global puppet_modules_dir %{_datadir}/puppet/modules
%global puppet_module access_insights_client
%global puppet_full_name lphiri-%{puppet_module}
Name: redhat-access-insights-puppet
Version: 0.0.9
Release: 1%{?dist}
Summary: Puppet module for Red Hat Access Insights deployment
Group: Applications/System
License: GPLv2
URL: https://github.com/redhataccess/puppet-access_insights_client
Source0: https://forgeapi.puppetlabs.com/v3/files/%{puppet_full_name}-%{version}.tar.gz
BuildArch: noarch
Requires: puppet >= 2.7.0
Conflicts: tfm-rubygem-foreman-redhat_access <= 2.0.1
Conflicts: ruby193-rubygem-foreman-redhat_access <= 1.0.0
%description
Puppet module for registering RHEl clients to the Red Access Insights service.
%prep
%setup -q -n %{puppet_full_name}-%{version}
%build
%install
mkdir -p %{buildroot}/%{puppet_modules_dir}/%{puppet_module}
cp -p metadata.json %{buildroot}/%{puppet_modules_dir}/%{puppet_module}/
cp -rp manifests/ %{buildroot}/%{puppet_modules_dir}/%{puppet_module}/manifests
cp -rp templates/ %{buildroot}/%{puppet_modules_dir}/%{puppet_module}/templates
%files
%doc README.md
%{puppet_modules_dir}/%{puppet_module}
%changelog
* Mon May 01 2017 Lindani Phiri <lphiri@redhat.com> 0.0.9-1
- Unbundle puppet module from rubygem
* Tue Jun 23 2015 Lindani Phiri <lphiri@redhat.com> 0.0.8-1
- Initial upstream package release