Issue #10978 has been updated by Rahul Gopinath.

Assignee set to Rahul Gopinath


----------------------------------------
Bug #10978: Solaris SMF services needs to implement self.instances for puppet 
resource service
https://projects.puppetlabs.com/issues/10978#change-68111

Author: Damon Atkins
Status: Accepted
Priority: Normal
Assignee: Rahul Gopinath
Category: service
Target version: 
Affected Puppet version: 2.7.6
Keywords: solaris, opensolaris, svcadm
Branch: 


    # /var/ruby/1.8/gem_home/bin/puppet --version
    2.7.6
    # /var/ruby/1.8/gem_home/bin/puppet resource service --debug
    debug: Puppet::Type::Service::ProviderSystemd: file /bin/systemctl does not 
exist
    debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not 
exist
    debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not 
exist
    debug: Puppet::Type::Service::ProviderDebian: file /usr/sbin/update-rc.d 
does not exist
    debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
    debug: Puppet::Type::Service::ProviderRedhat: file /sbin/service does not 
exist
    debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does 
not exist
    debug: Puppet::Type::Service::ProviderSystemd: file /bin/systemctl does not 
exist
    debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not 
exist
    debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not 
exist
    debug: Puppet::Type::Service::ProviderDebian: file /usr/sbin/update-rc.d 
does not exist
    debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
    debug: Puppet::Type::Service::ProviderRedhat: file /sbin/service does not 
exist
    debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does 
not exist
    info: /Service[acct]: Provider init does not support features enableable; 
not managing attribute enable
    info: /Service[pppd]: Provider init does not support features enableable; 
not managing attribute enable
    info: /Service[sendmail]: Provider init does not support features 
enableable; not managing attribute enable
    info: /Service[dhcpd]: Provider init does not support features enableable; 
not managing attribute enable
    info: /Service[rdc.cluster]: Provider init does not support features 
enableable; not managing attribute enable
    info: /Service[dodatadm.udaplt]: Provider init does not support features 
enableable; not managing attribute enable
    info: /Service[sv.cluster]: Provider init does not support features 
enableable; not managing attribute enable
    info: /Service[rdc]: Provider init does not support features enableable; 
not managing attribute enable
    info: /Service[scm]: Provider init does not support features enableable; 
not managing attribute enable
    info: /Service[rdcfinish]: Provider init does not support features 
enableable; not managing attribute enable
    info: /Service[ii.cluster]: Provider init does not support features 
enableable; not managing attribute enable
    info: /Service[PRESERVE]: Provider init does not support features 
enableable; not managing attribute enable
    info: /Service[sv]: Provider init does not support features enableable; not 
managing attribute enable
    info: /Service[ii]: Provider init does not support features enableable; not 
managing attribute enable
    debug: Service[acct](provider=init): Executing '/etc/init.d/acct status'
    debug: Service[pppd](provider=init): Executing '/etc/init.d/pppd status'
    debug: Service[sendmail](provider=init): Executing '/etc/init.d/sendmail 
status'
    debug: Service[dhcpd](provider=init): Executing '/etc/init.d/dhcpd status'
    debug: Service[rdc.cluster](provider=init): Executing 
'/etc/init.d/rdc.cluster status'
    debug: Service[dodatadm.udaplt](provider=init): Executing 
'/etc/init.d/dodatadm.udaplt status'
    debug: Service[sv.cluster](provider=init): Executing 
'/etc/init.d/sv.cluster status'
    debug: Service[rdc](provider=init): Executing '/etc/init.d/rdc status'
    debug: Service[scm](provider=init): Executing '/etc/init.d/scm status'
    debug: Service[rdcfinish](provider=init): Executing '/etc/init.d/rdcfinish 
status'
    debug: Service[ii.cluster](provider=init): Executing 
'/etc/init.d/ii.cluster status'
    debug: Service[PRESERVE](provider=init): Executing '/etc/init.d/PRESERVE 
status'
    debug: Service[sv](provider=init): Executing '/etc/init.d/sv status'
    debug: Service[ii](provider=init): Executing '/etc/init.d/ii status'
    service { 'PRESERVE':
      ensure => 'stopped',
    }
    service { 'acct':
      ensure => 'stopped',
    }
    service { 'dhcpd':
      ensure => 'stopped',
    }
    service { 'dodatadm.udaplt':
      ensure => 'running',
    }
    service { 'ii':
      ensure => 'stopped',
    }
    service { 'ii.cluster':
      ensure => 'running',
    }
    service { 'pppd':
      ensure => 'stopped',
    }
    service { 'rdc':
      ensure => 'stopped',
    }
    service { 'rdc.cluster':
      ensure => 'stopped',
    }
    service { 'rdcfinish':
      ensure => 'stopped',
    }
    service { 'scm':
      ensure => 'stopped',
    }
    service { 'sendmail':
      ensure => 'stopped',
    }
    service { 'sv':
      ensure => 'stopped',
    }
    service { 'sv.cluster':
      ensure => 'stopped',
    }
    # uname -a
    SunOS beta.oz 5.11 11.0 i86pc i386 i86pc



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