Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.2.2 (via https://forge.puppetlabs.com/basholabs/riak) is not compatible with Puppet 3.7 #68

Open
fadushin opened this issue May 8, 2015 · 5 comments

Comments

@fadushin
Copy link
Member

fadushin commented May 8, 2015

When running version 0.2.2 on Puppet 3.7, I get:

[riak@dev1 ~]$ sudo puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at 'String'; expected ')' at /etc/puppet/modules/riak/manifests/init.pp:11 on node dev1.home
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

On my puppet master:

[root@marx manifests]# puppet module list
Warning: Missing dependency 'puppetlabs-apt':
'basholabs-riak' (v0.2.2) requires 'puppetlabs-apt' (>= 1.0.0 <2.0.0)
Warning: Missing dependency 'puppetlabs-stdlib':
'basholabs-riak' (v0.2.2) requires 'puppetlabs-stdlib' (>= 4.0.0 <5.0.0)
/etc/puppet/modules
├── base (???)
├── basholabs-riak (v0.2.2)
├── puppetlabs-apt (v1.8.0)
├── puppetlabs-firewall (v1.5.0)
├── puppetlabs-ntp (v3.3.0)
└── puppetlabs-stdlib (v4.6.0)
/usr/share/puppet/modules (no modules installed)

@Cornellio
Copy link
Contributor

This will sound strange, but try deleting metadata.json in the Riak module.

I have seen this inscrutable error disappear by doing this, although it wouldn't explain the root cause.

-- Pete

On May 8, 2015, at 2:07 PM, Fred Dushin [email protected] wrote:

When running version 0.2.2 on Puppet 3.7, I get:

[riak@dev1 ~]$ sudo puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at 'String'; expected ')' at /etc/puppet/modules/riak/manifests/init.pp:11 on node dev1.home
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

On my puppet master:

[root@marx manifests]# puppet module list
Warning: Missing dependency 'puppetlabs-apt':
'basholabs-riak' (v0.2.2) requires 'puppetlabs-apt' (>= 1.0.0 <2.0.0)
Warning: Missing dependency 'puppetlabs-stdlib':
'basholabs-riak' (v0.2.2) requires 'puppetlabs-stdlib' (>= 4.0.0 <5.0.0)
/etc/puppet/modules
├── base (???)
├── basholabs-riak (v0.2.2)
├── puppetlabs-apt (v1.8.0)
├── puppetlabs-firewall (v1.5.0)
├── puppetlabs-ntp (v3.3.0)
└── puppetlabs-stdlib (v4.6.0)
/usr/share/puppet/modules (no modules installed)


Reply to this email directly or view it on GitHub.

@ciaby
Copy link

ciaby commented Jun 1, 2015

I got the same error on Puppet 3.7.5. Tried deleting the metadata.json file, doesn't change anything...
Any other clue?
I'm running the latest master from the github repository.

@Cornellio
Copy link
Contributor

No other clues at this point. I will try to reproduce. What OS release and version are you running? Make sure you have the future parser enabled.

Pete

@ciaby
Copy link

ciaby commented Jun 1, 2015

Ubuntu 14.04 (on the puppet master) and 12.04 (on the agents).
Puppet 3.7.5-3.8.1

@ciaby
Copy link

ciaby commented Jun 1, 2015

Ok, you were right, I fixed by enabling the future parser.
One thing that doesn't work is the repository management.
On a ubuntu precise, you get this:

deb https://packagecloud.io/basho/riak/debian/ precise main
deb-src https://packagecloud.io/basho/riak/debian/ precise main

Which is wrong, because it should be more like:

deb https://packagecloud.io/basho/riak/ubuntu/ precise main
deb-src https://packagecloud.io/basho/riak/ubuntu/ precise main

Other than that, good job! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants