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

Perlbrew installation failure #20

Open
mblanco0626 opened this issue Dec 18, 2013 · 0 comments
Open

Perlbrew installation failure #20

mblanco0626 opened this issue Dec 18, 2013 · 0 comments

Comments

@mblanco0626
Copy link

Hello,

In my puppet node.pp file i have the following
class { 'perlbrew': }
perlbrew::build { "5.18.1":
version => "perl-5.18.1",
}

I see the below information when i run vagrant with --verbose --debug options set.

Debug: /Stage[main]/Perlbrew::Environment/Exec[perlbrew_init]/require: requires Group[perlbrew]
Debug: /Stage[main]/Perlbrew::Environment/Exec[perlbrew_init]/require: requires User[perlbrew]

I do not see the command to run perlbrew init being ran. This I believe is causing the following:
Error: /bin/sh -c 'umask 022; /usr/bin/env PERLBREW_ROOT=/usr/local/perlbrew /usr/local/bin/perlbrew install perl-5.18.1 --as 5.18.1 -Accflags=-fPIC -Dcccdlflags=-fPIC' returned 2 instead of one of [0]
Error: /Stage[main]//Node[puppet.mb.test.local]/Perlbrew::Build[5.18.1]/Exec[perlbrew_build_5.18.1]/returns: change from notrun to 0 failed: /bin/sh -c 'umask 022; /usr/bin/env PERLBREW_ROOT=/usr/local/perlbrew /usr/local/bin/perlbrew install perl-5.18.1 --as 5.18.1 -Accflags=-fPIC -Dcccdlflags=-fPIC' returned 2 instead of one of [0]

Any ideas on why i don't see the init command being executed?

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