can't use directory manifest site.pp in puppetlabs puppetserver 5.1.3

asked 2017-10-04 14:39:17 -0600

DougH gravatar image

Not sure why, but it errors. This is an upgrade from pupper 4 directory site.pp is 755 and site.pp/ is 644, so no read issues

client error is telling me it's a directory (which of course I know). Error: Could not retrieve catalog from remote server: Error 500 on SERVER: {"message":"Server Error: Could not parse for environment production: Is a directory - /etc/puppetlabs/code/environments/production/manifests/site.pp on node","issuekind":"RUNTIMEERROR"}

tried googling, to no avail.

edit retag flag offensive close merge delete


Just to be absolutely certain, that this _is_ the error: Have you tried putting a regular file `site.pp` in place (just with all your `site.pp/*.pp` concatenated [syntax respected])? You may wanna file a ticket

Kai Burghardt gravatar imageKai Burghardt ( 2017-10-07 09:02:03 -0600 )edit

confirmed. Works absolutely fine with plain-old-file site.pp (using it that way now after merging)

DougH gravatar imageDougH ( 2017-10-07 10:21:05 -0600 )edit