We serve multiple file resources depending on configuration via puppet to Windows 7 and Windows 10 workstations using FLOSS puppet. This was working with puppet agent 1.10.4 on clients and with puppet server (and foreman fwiw) 4 on Scientific Linux 7.4. Since we upgraded puppet server to 5.latest we started having issues with deploying certain, random but consistent file resources that had worked on the earlier version. In the logs we see various Error 500 messages - but they all seem to be blank (i.e. no further info than: Failed to generate additional resources using 'eval_generate': Error 500 on SERVER: Server Error) or not googleable. The files are still there and permissions look the same to me on the server. The manifest code hasn't changed. What's weirder is it seems like some file resources served like this are working.
This problem is most prevalent with files served as a defined type so I wonder if something happened around that? file { "DesignData-${title}": path => "C:/VaultWorkspace/${title}/Vault/Design Data", source => "puppet:///modules/inventor/Design Data", recurse => true, purge => true, ensure => present, } Example defined type that's now failing with the above... We feed in an array of users and that's still being parsed correctly - logs show things like: //pc5102//Stage[main]/Inventor/Inventor::Designdata[username1]/File[DesignData-username1] : Failed to generate additional resources using 'eval_generate': Error 500 on SERVER: Server Error One other place that seems like a related file serving issue to me anyway is that I have an updated module to test (a forked reboot module) which I have deployed in my dev environment and code to use the new parameter, however when I try and apply the manifest I get errors - again 500 on server, this time that the new parameter doesn't exist. I'm wondering if this is also an issue with pluginsync or something like that so the client doesn't see the new module? Any ideas as to what's gone wrong in the update? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/175349a2-26e3-40e1-b8f7-03e50a302919%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.