Issue #9381 has been updated by Gabriel Filion.
upstart has been around for quite some time in ubuntu, so it's a bit surprising
that it's not the default.
also, the "debian" provider still doesn't support insserv even though it's been
used since squeeze.
----------------------------------------
Bug #9381: puppet 2.7.1 service{postfix: ensure=>stopped} error about not
finding init script
https://projects.puppetlabs.com/issues/9381#change-91232
* 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 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.