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

Integer 18455137360 too big to convert to "int" at manifests/params.pp:333:24 #329

Closed
suslikas opened this issue Dec 22, 2016 · 5 comments
Closed

Comments

@suslikas
Copy link

Hi,

with puppet-zabbix module v2.4.0 all fine, after update to 2.6.1 I got error

Error while evaluating a Function Call, integer 18455137360 too big to convert to `int' at /etc/puppetlabs/code/environments/csinlb6/modules/zabbix/manifests/params.pp:333:24

CentOS release 6.8
puppet-agent-1.3.6-1.el6.x86_64
gem list --local | grep stdlib
stdlib (0.1.0)

@bastelfreak
Copy link
Member

Hi,
you have a puppet module called stdlib, can you tell us the version of it? It provides the function that failes here. There are known issues with older versions.

suslikas referenced this issue Dec 22, 2016
When apache hasn't been evaluated `getvar('::apache::user')` should
return `undef`.

This commit attempts to address 2 issues.

1) In puppet 4 `''` (empty string) != `undef`
2) In stdlib < 4.13.0 instead of `undef`, `getvar('::apache::user')`
returns a literal string `'class ::apache has not been evaluated'`. This
is a bug that was fixed, but it's not too hard to work around.
@suslikas
Copy link
Author

puppetlabs/stdlib 4.6.0

@alexjfisher
Copy link
Member

It might actually be the puppet server containing the bug. @suslikas Do you know what version you use?
Are you hitting https://tickets.puppetlabs.com/browse/SERVER-1408 ?

@suslikas
Copy link
Author

Temporary I'm switch stdlib to 4.13.0, it's work, but we need lot of time to check all other modules for compatible with this version, will be very nice to leave version as 4.6.0.

@suslikas
Copy link
Author

We update stdlib and now all work fine.

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