bodgit / puppet-carbon

Puppet Module for managing the Carbon daemons
https://forge.puppet.com/bodgit/carbon
Apache License 2.0
0 stars 4 forks source link

module does not work as expected in puppet 3.8.7 and future parser enabled #3

Closed rturnbull1977 closed 7 years ago

rturnbull1977 commented 7 years ago

Hello,

I have downloaded the module from the forge and was going to use it. I read that you have to have parser = future enabled. I have enabled this on the puppet master and on the puppet agents. When calling the module with default options include ::carbon

When this is done, I get the following error on the agent node.

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at 'Hash'; expected ')' at /etc/puppet/environments/development/modules/carbon/manifests/init.pp:3 on node Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run

Have I done something wrong? Some assistance would be appreciated.

Thank you

bodgit commented 7 years ago

The error you're getting is what I see if I try and use the module on Puppet 3.8.7 without the future parser enabled. It's basically exploding on the first bit of Puppet 4 (future) syntax it's encountering.

rturnbull1977 commented 7 years ago

Hello,

Silly me – I had the parser = future in place in the configuration file but restarting the puppet server would be a good thing.

My mistake!

Cheers

From: Matt Dainty [mailto:notifications@github.com] Sent: May-17-17 5:35 PM To: bodgit/puppet-carbon puppet-carbon@noreply.github.com Cc: Ryan Turnbull Ryan.Turnbull@Paysafe.com; Author author@noreply.github.com Subject: Re: [bodgit/puppet-carbon] module does not work as expected in puppet 3.8.7 and future parser enabled (#3)

The error you're getting is what I see if I try and use the module on Puppet 3.8.7 without the future parser enabled. It's basically exploding on the first bit of Puppet 4 (future) syntax it's encountering.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bodgit/puppet-carbon/issues/3#issuecomment-302260077, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACqSGrdHpl3BrTwNCYcWb4hS1GWXO-5-ks5r64Q8gaJpZM4NegYZ.

bodgit commented 7 years ago

Cool, glad you fixed it.