summaryrefslogtreecommitdiffstats
path: root/template.spec
diff options
context:
space:
mode:
Diffstat (limited to 'template.spec')
-rw-r--r--template.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/template.spec b/template.spec
index 9421cb5..25408d2 100644
--- a/template.spec
+++ b/template.spec
@@ -3,6 +3,7 @@
%global release __RELEASE__
%global ssldir __SSLDIR__
%global pkgprefix __PKGPREFIX__
+%global puppetuser __PUPPETUSER__
Name: %{pkgprefix}%{hostname}
Version: %{version}
@@ -45,13 +46,14 @@ rm -rf %{buildroot}
%files
-%defattr(-,root,root,-)
+%defattr(-,%{puppetuser},root,-)
%{ssldir}
%changelog
* Sat Jan 28 2012 Todd Zullinger <tmz@pobox.com>
- Replace %%define with %%global
+- Use %%{puppetuser} for ownership of %%{ssldir}
* Thu Nov 20 2008 Todd Zullinger <tmz@pobox.com>
- Initial template for puppet host package