Skip to content

Commit

Permalink
fix #352 update documentation about += operator
Browse files Browse the repository at this point in the history
  • Loading branch information
lbetz committed Sep 27, 2017
1 parent 796670d commit 1ff191e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,10 @@ Assignments other than simple attribution are not currently possible either, e.g
```
vars += config
```
but you can use the following instead:
```
vars = vars + config
```

### Apply Rules

Expand Down
4 changes: 4 additions & 0 deletions lib/puppet_x/icinga2/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
#
# vars += config
#
# but you can use the following instead:
#
# vars = vars + config
#
#
require 'puppet'

Expand Down

0 comments on commit 1ff191e

Please sign in to comment.