Comments (7)
Same issue with 0.3.0:
/Users/cdenneen/.vagrant.d/gems/gems/vagrant-r10k-0.3.0/lib/vagrant-r10k/helpers.rb:107:in `join': no implicit conversion of nil into String (TypeError)
from /Users/cdenneen/.vagrant.d/gems/gems/vagrant-r10k-0.3.0/lib/vagrant-r10k/helpers.rb:107:in `r10k_config'
from /Users/cdenneen/.vagrant.d/gems/gems/vagrant-r10k-0.3.0/lib/vagrant-r10k/action/validate.rb:23:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:214:in `action_raw'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:191:in `block in action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:516:in `lock'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'
from vagrant-r10k.
@jantman I know you fixed this similar error back in 0.2.0 but maybe it's back?
from vagrant-r10k.
The issue come from this: https://github.com/jantman/vagrant-r10k/blob/master/lib/vagrant-r10k/helpers.rb#L107
With the changes made to the puppet apply provisioner in vagrant for Puppet 4, the manifest_file
setting is optional now. However, this plugin hopes to find it set explicitly. I have not run down the options yet, but I'd imagine there is a way to grab the value after the explicitly provided settings are merged with the defaults so that this can always succeed.
The workaround for now is to explicitly specify the manifest_file
and manifests_path
settings. While this may be redundant, it will at least work.
from vagrant-r10k.
Ah, ok. I actually haven't used this plugin with puppet4 yet.
@trlinkin thanks for spotting that and suggesting the workaround.
I'm going to need some time to dig into this and try to figure out the best fix, but I'm not sure I'll be able to get to it until tomorrow night.
@cdenneen If the workaround of explicitly specifying manifest_file
and manifests_path
doesn't work, ping me back and I'll see if I can find the time later tonight to start work on this.
from vagrant-r10k.
Um... this looks like a bit of an oops on my part. r10k doesn't need to know about the manifest file. In fact, as far as I can tell, the :manifest_file
value is only used in one place in all of my code... a log message.
from vagrant-r10k.
@trlinkin @cdenneen I have a fix for this tested, and should be releasing it imminently soon as 0.4.1.
from vagrant-r10k.
@trlinkin @cdenneen 0.4.1 is released and pushed to rubygems. Could someone please update the plugin and verify that things now work, without the workaround?
I've documented example puppet4 use in the readme: https://github.com/jantman/vagrant-r10k/blob/master/README.md#usage-with-puppet4-environment-based-provisioner
from vagrant-r10k.
Related Issues (20)
- Integration/functional tests HOT 6
- upgrade r10k HOT 5
- validate Puppetfile in config validate HOT 2
- Can't power up a VM if Internet connection is down HOT 4
- docs - vagrant plugin install puppet
- No validation of nil module_path HOT 5
- No validation of nil module_path HOT 1
- vmware_workstation acceptance tests
- code analysis HOT 6
- Test ticket from Code Climate
- [R10K::TaskRunner - ERROR] on OSX (yosemite) host HOT 10
- Can r10k run after specific provision script? HOT 3
- Ability to run arbitrary ruby code block before r10k
- Support puppet_server provisioner HOT 3
- r10k deploy error on Windows HOT 2
- undefined method `activate_bin_path' HOT 5
- undefined method `original' HOT 1
- `find_spec_for_exe': can't find gem puppet (>= 0.a) (Gem::GemNotFoundException) HOT 4
- problem library ruby 3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vagrant-r10k.