Am tring to create a dspace module but when updating the node I get this error.. Kindly help.

asked 2017-11-16 00:44:15 -0600

cherin.onyango gravatar image

updated 2017-11-17 00:27:58 -0600

.

$ /opt/puppetlabs/bin/puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Language validation logged 2 errors. Giving up in /etc/puppetlabs/code/environments/production/modules/dspace/manifests/install.pp on node agent2
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
edit retag flag offensive close merge delete

Comments

Hello Cherin.onyango, Kindly paste the content of /etc/puppetlabs/code/environments/production/modules/dspace/manifests/install.pp. Run also (on the master): puppet parser validate /etc/puppetlabs/code/environments/production/modules/dspace/manifests/install.pp

stivesso gravatar imagestivesso ( 2017-11-16 09:42:39 -0600 )edit

Hey Stivesso, Thank you so much for responding. Here is the content of /etc/puppetlabs/code/environments/production/modules/dspace/manifests/install.pp at https://github.com/dspaceproject/dspace-puppet-scripts/blob/puppet/install.pp. Let me try to run puppet parser validate and see the response.

cherin.onyango gravatar imagecherin.onyango ( 2017-11-17 00:40:18 -0600 )edit

Oh girl, check where your curly braces start and end. I'm already missing the opening and closing curly braces for the definition block per se.

Kai Burghardt gravatar imageKai Burghardt ( 2017-11-18 10:28:58 -0600 )edit