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

Expected an Integer at /etc/puppetlabs/code/modules/vsftpd/manifests/init.pp:57:24 #1

Open
Fr33maan opened this issue Jun 12, 2017 · 5 comments

Comments

@Fr33maan
Copy link

Fr33maan commented Jun 12, 2017

Hi I'm installing your module with puppet docker build and I get the following error :

Evaluation Error: A substring operation does not accept a String as a character index. Expected an Integer at /etc/puppetlabs/code/modules/vsftpd/manifests/init.pp:57:24 on node MyNode

I guess its because you specified $package_name to be an array here.

I cannot try to remove it unless by forking your module and publishing it on the forge so I can't do it just for debug.

EDIT: ressource names should be capitalized, it has nothing to do with package_name being an array

@Fr33maan
Copy link
Author

Note that puppet docker build uses puppet 4 instead of puppet 3

@Fr33maan
Copy link
Author

Comes from here
(but still don't get how to avoid it and what it exactly means)

@Fr33maan
Copy link
Author

And the explanation here

@Fr33maan
Copy link
Author

#2

@Fr33maan
Copy link
Author

@aneesh-c please merge the PR as it corrects the issue with puppet 4

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

1 participant