Skip to content

Perlbrew installation failure #20

@mblanco0626

Description

@mblanco0626

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions