Issue #1369 has been updated by luke.

Category set to HP-UX
Status changed from Unreviewed to Accepted
Assigned to set to luke
Target version set to 0.24.5
Keywords set to hpux, service


----------------------------------------
Bug #1369: HP-UX support in init provider.
http://reductivelabs.com/redmine/issues/show/1369

Author: onetruebob74
Status: Accepted
Priority: Normal
Assigned to: luke
Category: HP-UX
Target version: 0.24.5
Keywords: hpux, service
Complexity: Trivial
Patch: None
Affected version: 0.24.4


The init provider is the best service provider for HP-UX, however the init 
provider does not know about the location of the init scripts by default for 
HP-UX.  So, I propose a simple change to init.rb.  The section for init script 
location currently looks like:

case Facter["operatingsystem"].value
    when "FreeBSD":
        @defpath = ["/etc/rc.d", "/usr/local/etc/rc.d"]
    else
        @defpath = "/etc/init.d"
    end

I suggest it now look like:

case Facter["operatingsystem"].value
    when "FreeBSD":
        @defpath = ["/etc/rc.d", "/usr/local/etc/rc.d"]
    when "HP-UX":
        @defpath = "/sbin/init.d"
    else
        @defpath = "/etc/init.d"
    end


----------------------------------------
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