Issue #7296 has been updated by Derek Yarnell.

Hi,

Ubuntu Lucid 10.04.02, Puppet 2.6.8, Facter 1.5.6

There is something very strange going on with the 
Puppet::Type::Service::ProviderDebian.  We see the above behavior and also this,

debug: Service[cups](provider=debian): Executing '/etc/init.d/cups status'
debug: Puppet::Type::Service::ProviderDebian: Executing '/usr/sbin/update-rc.d 
-f cups remove'
debug: Puppet::Type::Service::ProviderDebian: Executing '/usr/sbin/update-rc.d 
cups stop 00 1 2 3 4 5 6 .'
notice: /Stage[main]/Cups/Service[cups]/enable: enable changed 'true' to 'false'

root@lucid-64:/# /etc/init.d/cups status
Status of Common Unix Printing System: cupsd is running.

root@lucid-64:/# /usr/sbin/update-rc.d cups stop 00 1 2 3 4 5 6 .
update-rc.d: warning: cups start runlevel arguments (none) do not match LSB 
Default-Start values (2 3 4 5)
update-rc.d: warning: cups stop runlevel arguments (1 2 3 4 5 6) do not match 
LSB Default-Stop values (1)
 System start/stop links for /etc/init.d/cups already exist.

----------------------------------------
Bug #7296: Debian service provider disables serivce when set to enable
https://projects.puppetlabs.com/issues/7296

Author: Zach Leslie
Status: Needs Decision
Priority: Normal
Assignee: Nigel Kersten
Category: 
Target version: 
Affected Puppet version: 2.6.7
Keywords: 
Branch: 


<pre>
# echo 'service { "rsyslog": ensure => running, hasstatus => true, enable => 
true; }' | puppet -vd
debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not 
exist
debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not 
exist
debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not 
exist
debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
debug: Puppet::Type::Service::ProviderRedhat: file /sbin/chkconfig does not 
exist
debug: Creating default schedules
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does 
not exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows 
is missing
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/private]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring 
File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring 
File[/var/lib/puppet/state]
debug: Finishing transaction 69855713235100
debug: Loaded state in 0.06 seconds
debug: Executing '/etc/puppet/etckeeper-commit-pre'
debug: Loaded state in 0.00 seconds
info: Applying configuration version '1304138816'
debug: Service[rsyslog](provider=debian): Executing 'sh -c LANG=C invoke-rc.d 
rsyslog status | grep -q '^rsyslog.*running''
debug: Puppet::Type::Service::ProviderDebian: Executing '/usr/sbin/update-rc.d 
-f rsyslog remove'
debug: Puppet::Type::Service::ProviderDebian: Executing '/usr/sbin/update-rc.d 
rsyslog enable'
notice: /Stage[main]//Service[rsyslog]/enable: enable changed 'false' to 'true'
debug: Finishing transaction 69855712878060
debug: Storing state
debug: Stored state in 0.02 seconds
notice: Finished catalog run in 3.55 seconds
debug: Executing '/etc/puppet/etckeeper-commit-post'
</pre>

Notice the removal line just before the enable line, which I can only assume is 
the reason the following notice happens on each run.

Ubuntu Lucid
Puppet 2.6.7
Facter 1.5.8


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