puppet upgrade problem 0.25 “could not convert from pson”
After upgrading to 0.25, the following error occurs:
Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target ”This turned out to be because of recipes using exec without naming the exec. Example
exec { "cat /that/file":
unless => "something",
path => "/bin",
refreshonly => false
}
should be rewritten as
exec { "cat that file":
command => "cat /that/file",
unless => "something",
path => "/bin",
refreshonly => false
}
The error goes away after making the change and all is well.



December 15th, 2009 at 03:06
Superb! That fixed the problem that had me stumped for a while. Thanks
January 18th, 2010 at 13:29
Have you tried a latter 0.25.x release?
Can you update this ticket – http://projects.reductivelabs.com/issues/3083
Thanks
January 18th, 2010 at 22:27
We’ve opened a ticket based on this report (http://projects.reductivelabs.com/issues/3084), but I’m unable to duplicate the problem. Could anyone who is experiencing or has experienced the issue please update the ticket with any suggestions as to how to replicate it?
Thanks,
Markus Roberts,
Reductive Labs.
January 19th, 2010 at 05:44
I considered this more of sloppiness on my part than a bug…I really should be naming everything. I’ll update the ticket with my tests to determine this as the cause, I basically wiped my manifest and started adding back in things until it broke.