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

File method doesn't unpack the file #9

Open
thomaslarsen opened this issue Feb 4, 2015 · 0 comments
Open

File method doesn't unpack the file #9

thomaslarsen opened this issue Feb 4, 2015 · 0 comments

Comments

@thomaslarsen
Copy link
Contributor

When using the file method (method => 'file'), then the unpackeclipse exec is not invoked as it is missing when using the file method. This results in a fatal error:

Error: Could not find dependency Exec[upackeclipse] for Exec[modeclipse] at /opt/librarian-puppet/modules/eclipse/manifests/init.pp:109

It looks like you can just reuse the unpackeclipse from the wget method, except it will need to require the eclipsefile:

exec {"upackeclipse":
    command=>$unpackcommand,
    cwd=> $eclipse::params::executefrom,
    path=> $eclipse::params::execlaunchpaths,
    creates=>$finalcreates,
    logoutput=> on_failure,
    require=>File["eclipsefile"]
}
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