Permalink
Browse files

Merge pull request #145 from pawelpacana/patch-1

Fix typo in chef_environment search query.
  • Loading branch information...
2 parents 9025a24 + 1546029 commit 8aeeebe7228d6cc4f1f55b38ad62f7c5c6a59272 @tobami committed Jan 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -55,7 +55,7 @@ result from merging cookbook, node and role attributes, following the standard
[Chef attribute preference rules][]. Some [automatic attributes][] are also added.
```ruby
-munin_servers = search(:node, "role:#{node['munin']['server_role']} AND chef_environment:node.chef_environment']}")`
+munin_servers = search(:node, "role:#{node['munin']['server_role']} AND chef_environment:#{node.chef_environment}")
```
#### Logs ####

0 comments on commit 8aeeebe

Please sign in to comment.