Skip to content
This repository has been archived by the owner on Jun 2, 2019. It is now read-only.

Windows compatibility #65

Open
Skynet5d opened this issue Mar 21, 2017 · 1 comment
Open

Windows compatibility #65

Skynet5d opened this issue Mar 21, 2017 · 1 comment

Comments

@Skynet5d
Copy link

Hi maestrodev,

First, I would like to thank you for the job you have done so far. You have been providing to the community with a tremendous contribution.

I would like to report you that it seems that your puppet-maven module is not compatible with Windows 7. Indeed, if you check for example the manifests\maven.pp file you can notice that within exec {'maven-untar':..} there is a tar xf command with paths that are unix/linux like and the cwd attribute value is /opt. Therefore, the puppet parsing is failing because, it expects a fully qualified path for cwd and I guess an error would occur at runtime since the paths are not windows like.

Am I missing anything? Do you have an idea of how could I fix this issue?

Many thanks
Regards

@jcuk
Copy link

jcuk commented Dec 18, 2017

I too have been struggling to get this working under windows. I'm a puppet noob, so may be doing something wrong, but I'm getting issues like this, which I assume is due to the mixed unix/windows paths:

Error: /Stage[main]/Main/Maven[c:\tmp\common-lib.jar]/ensure: change from 'absent' to 'present' failed: No such file or directory

When I try to download a file from our local nexus repo.

I've tried all the combinations of fully qualified paths, local paths, drive letters present and absent, forward slashes, reversed slashes, and escaped slashes with no joy. I can't get past the No such file or directory. Under Ubuntu, it works perfectly

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants