-
notifying_block is a DSL method so at compile-time it creates a subresource collection and eagerly converges it.
to lazy the execution of the subcollection we could offer a primitive like this:
``` …
-
In my recipe:
```
swap_file '/var/swapfile' do
size 1024 # MBs
persist true
not_if { system("swapon -s | grep -v ^Filename | grep -v '/var/swapfile'") }
end
```
Getting this error during a …
-
Create sensu-agent and sensu-backend service LWRPs. The LWRPs need to install the appropriate Sensu 2.x package, manage their respective .yml service configuration files, and manage their service (e.g…
-
```
httpd_module "php" do
action :create
end
```
This throws an error that the package name must be specified on line 8 of the debian helper.
It does not appear to find the correct module to…
-
The 1.3.0 gem contains files that are not world-readable. This is likely to be a problem for users that use sudo to install gems.
Rubygems 2.0+ is nice and will warn you if you try to build a gem wit…
acrmp updated
6 years ago
-
As of [this](https://github.com/onehealth-cookbooks/sysctl/commit/deadf43c42f3b066884ae1b400a282d48f483b65) commit, using the provider without first including the default recipe causes exceptions, sin…
-
Create a sensuctl LWRP to install the Sensu 2.x sensu-cli package and set it up to authenticate to one or more sensu-backend APIs.
The sensuctl documentation will be of some help in figuring out ho…
-
I am having trouble getting machine_batch to work with chef-provisioning-aws 1.3.0 and chef-provisioning 1.2.1
Here's my output:
```
Converging 1 resources
Recipe: @recipe_files::/home/bbbco/chef/tr…
bbbco updated
6 years ago
-
``` bash
WARN: Using an LWRP by its name (Chocolatey) directly is no longer supported in Chef 12 and will be removed. Use Chef::Resource.resource_for_node(node, name) instead.
```
-
These should probably be configurable. If not, they should definitely be changed.