-
If you pass bad credentials in the grafana_organization LWRP you get the following cryptic error message:
```
================================================================================
Error ex…
tas50 updated
6 years ago
-
### Cookbook version
2.15.6
### Chef-client version
12.11.18
### Platform Details
Oracle Linux 7.3
### Scenario:
When running the cookbook when rubygems.org is not reachable (i.e. behind …
-
Here is an example of a 'library' cookbook with a matcher.rb: https://github.com/nicgrayson/chefspec-library
Here is an example of a 'wrapper' cookbook calling the lwrp provided in the library cookbo…
-
I'm consuming the [network_interfaces_v2](https://github.com/target/network_interfaces_v2-cookbook) cookbook and trying to use its `create_network_interface` matcher as defined [here](https://github.c…
-
Using the `vagrant_plugin` resource fails on Windows because the `vagrant_get_home` helper relies on Ruby's Unix-only Etc module:
https://github.com/jtimberman/vagrant-cookbook/blob/master/libraries/…
-
In a cookbook of mine, I use the `sysctl_param` LWRP standalone without including any recipes:
``` ruby
sysctl_param 'vm.swappiness' do
value 0
end
```
With version 0.6.0 of the cookbook, however,…
-
here: https://github.com/opscode/chef-metal-fog/blob/master/lib/chef_metal_fog/providers/aws.rb#L24
Currently a confounding error
```
NoMethodError: undefined method `[]' for nil:NilClass
/oc/src/ec…
-
After latest (v0.20) chef-privisioning changes following code stops working:
``` ruby
require 'chef/provisioning/docker_driver'
machine_image 'web_server' do
recipe 'apache'
machine_options :dock…
marc- updated
6 years ago
-
I get the following error when using the chef-rundeck recipe.
The error seems to be a call to `run_restart` inside the `runit_service` lwrp. Looking at the runit docs, I can not find anything mentio…
X0nic updated
6 years ago
-
It would be nice if you could check the attributes of the resource. For example:
```
@chef_run.should create_service('apache2').with(:attributeA, "abc").with(:attributeB, "abcd")
or
attributes = {…