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

// , Puppet 3.6.x installation fails, Error: No such file or directory - /usr/share/puppet/modules/dnsmasq/spec/fixtures/modules/lex-dnsmasq/templates #63

Open
v6 opened this issue May 31, 2017 · 0 comments

Comments

@v6
Copy link

v6 commented May 31, 2017

// , The full output from this error follows:

$ sudo puppet module install --force /tmp/lex-dnsmasq-2.6.1.tar.gz --modulepath /usr/share/puppet/modules/ --ignore-dependencies
Notice: Preparing to install into /usr/share/puppet/modules ...
Notice: Installing -- do not interrupt ...
Error: No such file or directory - /usr/share/puppet/modules/dnsmasq/spec/fixtures/modules/lex-dnsmasq/templates
Error: Try 'puppet help module install' for usage

$ sudo puppet module install --force lex-dnsmasq --modulepath /usr/share/puppet/modules/
Notice: Preparing to install into /usr/share/puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
Error: No such file or directory - /usr/share/puppet/modules/dnsmasq/spec/fixtures/modules/lex-dnsmasq/templates
Error: Try 'puppet help module install' for usage

$ sudo puppet module install --force lex-dnsmasq --version 2.6.1 --modulepath /usr/share/puppet/modules/
Notice: Preparing to install into /usr/share/puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
Error: No such file or directory - /usr/share/puppet/modules/dnsmasq/spec/fixtures/modules/lex-dnsmasq/templates
Error: Try 'puppet help module install' for usage

It looks like some symlinks with relative paths in /usr/share/puppet/modules/dnsmasq/spec/fixtures/modules/lex-dnsmasq/templates are the culprit:

$ ls -la
total 8
drwxr-xr-x 2 puppet puppet 4096 May 31 00:35 .
drwxr-xr-x 3 puppet puppet 4096 May 31 00:35 ..
lrwxrwxrwx 1 root   root     21 May 31 00:35 manifests -> ../../../../manifests
lrwxrwxrwx 1 root   root     21 May 31 00:35 templates -> ../../../../templates

Does puppet module install check for these before they are created or installed?

Should I be extracting this .tar.gz file manually instead of using puppet module install?

Please advise if there is anything else I can do to show more about what is happening here.

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