Issue #22999 has been updated by Klaus Wagner.

Assignee changed from Klaus Wagner to eric sorenson

To my understanding AIX including latest Versions supports System V sytle init 
scripts residing at /etc/rc.d/init.d
This may not be the preferred version of starting Services in an AIX system. 
The 'src' provider should still be considered the default provider for type 
'service' on AIX.

However a number of Software products do not provide src style start methods.

As a sample for a product I can provide the IBM 'Netcool Performance Manager' 
that uses init scripts:

http://publib.boulder.ibm.com/infocenter/tivihelp/v8r1/index.jsp?topic=%2Fcom.ibm.tnpm.doc%2Finstall%2Fctnpmw_process_checks_aix.html

<hr>
 
Reading:

    Run the following commands as user root:

      AIX

        /etc/rc.d/init.d/sapmonvirtuo start
        /etc/rc.d/init.d/sapmgrvirtuo start

      Solaris

        svcadm enable sapmon-na
        svcadm enable sapmgr-na

      Linux

        service sapmonvirtuo start
        service sapmgrvirtuo start

<hr>

Currently the 'init' provider is selectable on AIX, but results in an error on 
execution in the puppet agent, because the init scripts cannot be found in the 
location '/etc/init.d'. 

Thus I still consider this issue a bug and hope that this fix will be included 
in a future puppet release. Can you give an estimated date for 3.5.0 release?
Assigning back to you.

Best regards,

Klaus Wagner


----------------------------------------
Bug #22999: Service Provider 'init' does not detect correct location for script 
directory on AIX - Patch included
https://projects.puppetlabs.com/issues/22999#change-100250

* Author: Klaus Wagner
* Status: Needs More Information
* Priority: Normal
* Assignee: eric sorenson
* Category: provider
* Target version: 3.5.0
* Affected Puppet version: development
* Keywords: 
* Branch: master
----------------------------------------
The correct directory for init scripts on aix is '/etc/rc.d/init.d'

This has not been implemented in the 'init' service provider.

The fix is very simple (2 lines of code). The attached fix is derived from the 
github/puppetlabs/puppet master branch.


-- 
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://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to