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

No such file or directory - ./moduleroot//spec/spec_helper_acceptance.rb #44

Closed
dhoppe opened this issue Dec 14, 2015 · 3 comments
Closed

Comments

@dhoppe
Copy link
Member

dhoppe commented Dec 14, 2015

Why is this file missing and how do I get rid of this error message?

Syncing puppet-kafka
Overriding any local changes to repositories in ./modules
Switching to branch modulesync
/Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/gems/modulesync-0.6.1/lib/modulesync/renderer.rb:14:in `read': No such file or directory - ./moduleroot//spec/spec_helper_acceptance.rb (Errno::ENOENT)
    from /Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/gems/modulesync-0.6.1/lib/modulesync/renderer.rb:14:in `build'
    from /Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/gems/modulesync-0.6.1/lib/modulesync.rb:77:in `block (2 levels) in run'
    from /Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/gems/modulesync-0.6.1/lib/modulesync.rb:68:in `each'
    from /Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/gems/modulesync-0.6.1/lib/modulesync.rb:68:in `block in run'
    from /Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/gems/modulesync-0.6.1/lib/modulesync.rb:57:in `each'
    from /Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/gems/modulesync-0.6.1/lib/modulesync.rb:57:in `run'
    from /Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/gems/modulesync-0.6.1/bin/msync:8:in `<top (required)>'
    from /Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/bin/msync:23:in `load'
    from /Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/bin/msync:23:in `<main>'
    from /Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/bin/ruby_executable_hooks:15:in `eval'
    from /Users/dhoppe/.rvm/gems/ruby-2.0.0-p643@puppet-community/bin/ruby_executable_hooks:15:in `<main>'
@igalic
Copy link
Contributor

igalic commented Dec 15, 2015

to answer the only question i have here:
puppet-kafka's .sync.yml

---
spec/spec_helper_acceptance.rb:
  dependencies:
    - puppetlabs-stdlib
    - puppetlabs-java
spec/acceptance/nodesets/windows-2008R2-serverstandard-x64.yml:
  unmanaged: true

@danzilio
Copy link
Member

Yeah, .sync.yml is trying to manage a file that doesn't exist in the moduleroot. We should have better error messages.

@dhoppe
Copy link
Member Author

dhoppe commented Feb 4, 2016

This issue has been solved, by fixing the .sync.yml.

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