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

Path to /home/kyle is hard coded, somewhere #65

Closed
bhourigan opened this issue Jan 15, 2015 · 5 comments
Closed

Path to /home/kyle is hard coded, somewhere #65

bhourigan opened this issue Jan 15, 2015 · 5 comments

Comments

@bhourigan
Copy link

I'm trying to install the consul module on my OSX Laptop using librarian-puppet, the puppet module install command fails citing an non-existent path of /home/kyle.

Librarian puppet is generating the following module install command: https://gist.github.com/bhourigan/6fc71c3506fdd9cede81

Output of running it with --debug:
https://gist.github.com/bhourigan/8c3b9c1e72ad54e4fc66

I must be missing something important, as I can't find a telling location of the substrings 'home', or 'kyle'. Running puppet module installer under dtruss did give me more information about the full path, but alas, it has not given me more insight into where the problem lies.

Debug command: sudo dtruss -b 32m -f <command in gist 6fc71c3506fdd9cede81>

Interesting snippit (full output available upon request)
65195/0x3bfd22: symlink("/home/kyle/Projects/puppet_modules/puppet-consul\0", "KyleAnderson-consul-0.4.2/spec/fixtures/modules/consul\0") = 0 0

I'm running ruby 2.0.0p481, and according to https://docs.puppetlabs.com/guides/platforms.html#ruby-versions it is supported.

@gozer
Copy link
Contributor

gozer commented Jan 15, 2015

Looks like there is a dangling symlink in the released archives for that module, but me too.

@bhourigan
Copy link
Author

Good catch! It's not present in the git checkout, but when I download the .tar.gz from puppet forge I see the following:

22886459 8 lrwxr-xr-x 1 bhourigan staff 48 Oct 28 23:26 ./spec/fixtures/modules/consul -> /home/kyle/Projects/puppet_modules/puppet-consul

@solarkennedy
Copy link
Contributor

Whoops. Ug :(
Um.

I've built 0.4.5? tar -tzf shows no symlink?

@solarkennedy
Copy link
Contributor

I'm going to close this as I think it is fixed in the latest release.

@bhourigan
Copy link
Author

Thanks!

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

3 participants