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

Handling os and family facts issue #344

Closed
cmseal opened this issue Dec 7, 2017 · 2 comments
Closed

Handling os and family facts issue #344

cmseal opened this issue Dec 7, 2017 · 2 comments

Comments

@cmseal
Copy link

cmseal commented Dec 7, 2017

Hope what I've put below is enough to help. First time I've raised an issue on GitHub before. Couldn't find anything to suggest why this doesn't seem to work. Help greatly appreciated!

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: Agent - 3.8.5
  • Ruby: 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
  • Distribution: Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-101-generic x86_64)
  • Module version: 4.0.1

How to reproduce (e.g Puppet code you use)

class { 'nodejs': }

What are you seeing

Error during/after loading facts

What behaviour did you expect instead

Accept the OS and family to then install nodejs and npm

Output log:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: {"message":"Server Error: Evaluation Error: A substring operation does not accept a String as a character index. Expected an Integer at /etc/puppetlabs/code/environments/test/modules_3rdparty/nodejs/manifests/params.pp:16:32 on node test_node","issue_kind":"RUNTIME_ERROR"}

@juniorsysadmin
Copy link
Member

@cmseal Puppet 3 is EOL and is not actively supported in any of our modules. Does the issue still occur with a Puppet4 agent/master?

@cmseal
Copy link
Author

cmseal commented Dec 7, 2017

Yes, I’m afraid it seems to work fine. I’ll have to find another option until we have puppet upgraded.

@cmseal cmseal closed this as completed Dec 7, 2017
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

2 participants