We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've this peace of code:
$test = "${Integer(fact('memory.system.total_bytes') * 0.7)}b"
puppet-lint prints warning about Integer has an uppercase, but Integrer is not variable it's a function for typecasting.
puppet-lint
Integer
Integrer
The error I get:
modules/profile/manifests/puppet-lint-test.pp - WARNING: variable contains an uppercase letter on line 3
Currently to avoid having this warning I use sprintf, but prefer to avoid it if possible:
sprintf
$test = sprintf('%db', Integer(fact('memory.system.total_bytes') * 0.7))
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I've this peace of code:
puppet-lint
prints warning aboutInteger
has an uppercase, butIntegrer
is not variable it's a function for typecasting.The error I get:
Currently to avoid having this warning I use
sprintf
, but prefer to avoid it if possible:The text was updated successfully, but these errors were encountered: