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

Error installing module from forge for non r10k users #217

Closed
liketed opened this issue Jan 24, 2017 · 4 comments
Closed

Error installing module from forge for non r10k users #217

liketed opened this issue Jan 24, 2017 · 4 comments
Labels
Milestone

Comments

@liketed
Copy link

liketed commented Jan 24, 2017

user@DEV $ puppet module install icinga-icinga2 --version 1.0.2 --ignore-dependencies --modulepath=forge
Notice: Preparing to install into /etc/puppetlabs/code/environments/DEV/forge ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
/etc/puppetlabs/code/environments/DEV/forge
└── icinga-icinga2 (v1.0.2)
user@DEV $ git add forge/icinga2
user@DEV $ git status
error: object directory /Users/bsheqa/.r10k/git/https---github.com-Icinga-puppet-icinga2.git/objects does not exist; check .git/objects/info/alternates.
fatal: bad object HEAD
fatal: 'git status --porcelain' failed in submodule forge/icinga2/serverspec/environments/production/modules/icinga2

@bobapple
Copy link
Contributor

It looks like puppet module build included my serverspec modules. I will have to find a way to avoid this for future releases. #213 should solve this

Thanks for reporting @liketed

@liketed
Copy link
Author

liketed commented Feb 10, 2017

This is still valid even though the module is now available on forge and #213 is merged.

@bobapple
Copy link
Contributor

We didn't have a release since the merge. This fix will be available in v1.0.3

@liketed
Copy link
Author

liketed commented Feb 10, 2017

Ahhhh, that's right. Ok, thanks :)

@bobapple bobapple modified the milestones: v1.1.0, v1.0.3 Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants