Issue #1148 has been updated by lutter.

Status changed from Re-opened to Closed

The RPM packages for puppet for Fedora and RHEL do properly rewrite the shebang 
line to '#! /usr/bin/ruby' - it seems you installed yourself or rebuilt the RPM 
with changes (the official RPM installs puppetmasterd into /usr/sbin, not 
somewhere in /opt)

The init script properly performs a start/stop/status etc.

----------------------------------------
Bug #1148: shebang should be '/usr/bin/env ruby'
http://reductivelabs.com/redmine/issues/show/1148

Author: do
Status: Closed
Priority: Normal
Assigned to: lutter
Category: executables
Target version: 
Complexity: Trivial
Patch: None
Affected version: 0.24.4
Keywords: 


The shebang in all puppet-executables currently points at /usr/bin/ruby. While 
this might be true and the best choice for most of the unixes, it is somewhat 
undesired under Mac OS X. Here, one can have ruby installed via macports or 
fink, then ruby is in another path.

Thus it would make sense to have "/usr/bin/env ruby" as a shebang. WIth this, 
the ruby interpreted configured on the respective machine is used.



----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to