Issue #9381 has been updated by Evgeny Zislis.

Affected Puppet version changed from 2.7.1 to 2.7.3

Tried with 2.7.3, same error as before.
Do note that the Ubuntu release was not changed, only the version on puppet on 
servers that had it running fine with 2.6.3.
----------------------------------------
Bug #9381: puppet 2.7.1 service{postfix: ensure=>stopped} error about not 
finding init script
https://projects.puppetlabs.com/issues/9381

Author: Evgeny Zislis
Status: Needs More Information
Priority: Normal
Assignee: 
Category: service
Target version: 
Affected Puppet version: 2.7.3
Keywords: 
Branch: 


In Puppet 2.6.7 it worked fine, but after upgrading to 2.7.1 on the agents we 
started getting errors about ensuring stopped services.
Ubuntu 10.10 (maverick) systems are affected.

    echo 'service{[postfix,exim,sendmail]: ensure => stopped }'| puppet apply
    err: /Stage[main]//Service[postfix]: Could not evaluate: Could not find 
init script for 'postfix'
    err: /Stage[main]//Service[exim]: Could not evaluate: Could not find init 
script for 'exim'
    err: /Stage[main]//Service[sendmail]: Could not evaluate: Could not find 
init script for 'sendmail'
    notice: Finished catalog run in 0.25 seconds


and with debug:

    info: Applying configuration version '1315474587'
    debug: Service[postfix](provider=debian): Could not find postfix in 
/etc/init.d
    debug: Service[postfix](provider=debian): Could not find postfix.sh in 
/etc/init.d
    err: /Stage[main]//Service[postfix]: Could not evaluate: Could not find 
init script for 'postfix'
    debug: Service[exim](provider=debian): Could not find exim in /etc/init.d
    debug: Service[exim](provider=debian): Could not find exim.sh in /etc/init.d
    err: /Stage[main]//Service[exim]: Could not evaluate: Could not find init 
script for 'exim'
    debug: Service[sendmail](provider=debian): Could not find sendmail in 
/etc/init.d
    debug: Service[sendmail](provider=debian): Could not find sendmail.sh in 
/etc/init.d
    err: /Stage[main]//Service[sendmail]: Could not evaluate: Could not find 
init script for 'sendmail'
    debug: Finishing transaction 70157060062900
    debug: Storing state
    debug: Stored state in 0.18 seconds
    notice: Finished catalog run in 0.23 seconds
    debug: Finishing transaction 70157060647300
    


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