Issue #1884 has been updated by tstoop.

Ok, I have a Parallels Desktop VM that experiences this behaviour. I'm 
uploading the VM as I write this, should be available at 
http://tim.hokkertjes.nl/puppet#1884.tar.bz2 about 90 minutes after I write 
this comment.

Details about the VM:
- Debian Etch
- Backported packages from testing: rails and libbuilder-ruby1.8
- Puppet 0.24.5 (but it's exactly the same behaviour with 0.24.7)

Using the VM:
- login: tim
- password: puppet
- MySQL credentials in /etc/puppet/puppet.conf
- Manifest in /etc/puppet/manifests/site.pp
- Check out the resources table in MySQL to see multiple sshkey exported 
resource which have the exported field set to NULL
- rm /etc/ssh/ssh_know_hosts
- sudo /etc/init.d/puppet restart; tail -f /var/log/daemon (ignore the 
fileserver errors)

You'll see that only the own hostname is changed.

To test further, edit /etc/hostname and change it into something else. Reboot 
the VM. Try again. All data from the previous run should still be in the 
database.

The packages out of the kumina repository (http://debian.kumina.nl) are simply 
backported packages from Lenny to Etch.
----------------------------------------
Bug #1884: resource export with mysql stopped working.
http://projects.reductivelabs.com/issues/1884

Author: freiheit
Status: Accepted
Priority: Normal
Assigned to: 
Category: plumbing
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.24.7
Keywords: 


@@host { $foo: ip => $bar, ensure => present }
Host <<| |>>
@@sshkey { $foo: type => rsa, key => $sshrsakey }
Sshkey <<| |>>

[puppetmasterd]
  storeconfigs=true
  dbadapter=mysql
  (etc)

This was working before.  I think in 0.24.4, but possibly 0.24.3 or 0.24.2...

When I added a new node, those resources appeared on that new node, but never 
appeared on other nodes.  Older exported resources worked on the new node.

In the "resources" table in mysql the exported column was NULL.

Manually changing the exported column to 1 for the affected resources seemed to 
work around the problem.


----------------------------------------
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://reductivelabs.com/redmine/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