diff options
author | lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-30 22:18:50 +0000 |
---|---|---|
committer | lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-30 22:18:50 +0000 |
commit | 6637bb60e591ff05e5b5acb3910715149be7d97c (patch) | |
tree | 8d4334e3ea7c7693cf852b935d3e10abeb792169 | |
parent | 931c159806caf75ad356324f32f7f3c5920d36d8 (diff) | |
download | puppet-6637bb60e591ff05e5b5acb3910715149be7d97c.tar.gz puppet-6637bb60e591ff05e5b5acb3910715149be7d97c.tar.xz puppet-6637bb60e591ff05e5b5acb3910715149be7d97c.zip |
Install bin/puppet into /usr/bin/puppet, not /usr/sbin/puppet, since normal users are supposed to be able to run it
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@860 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r-- | conf/redhat/puppet.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/redhat/puppet.spec b/conf/redhat/puppet.spec index a1fff997f..f593fbe27 100644 --- a/conf/redhat/puppet.spec +++ b/conf/redhat/puppet.spec @@ -41,11 +41,13 @@ The server can also function as a certificate authority and file server. %install %{__rm} -rf %{buildroot} %{__install} -d -m0755 %{buildroot}%{_sbindir} +%{__install} -d -m0755 %{buildroot}%{_bindir} %{__install} -d -m0755 %{buildroot}%{rubylibdir} %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/puppet/manifests %{__install} -d -m0755 %{buildroot}%{_docdir}/%{name}-%{version} %{__install} -d -m0755 %{buildroot}%{_localstatedir}/puppet %{__install} -Dp -m0755 %{_pbuild}/bin/* %{buildroot}%{_sbindir} +%{__mv} %{buildroot}%{_sbindir}/puppet %{buildroot}%{_bindir}/puppet %{__install} -Dp -m0644 %{_pbuild}/lib/puppet.rb %{buildroot}%{rubylibdir}/puppet.rb %{__cp} -a %{_pbuild}/lib/puppet %{buildroot}%{rubylibdir} %{__install} -Dp -m0644 %{confdir}/client.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/puppet @@ -57,7 +59,7 @@ The server can also function as a certificate authority and file server. %files %defattr(-, root, root, 0755) -%{_sbindir}/puppet +%{_bindir}/puppet %{_sbindir}/puppetd %{rubylibdir}/* %{_localstatedir}/puppet |