diff --git a/README.md b/README.md index c5e2124a1..6f912af09 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/lib/puppet_x/icinga2/utils.rb b/lib/puppet_x/icinga2/utils.rb index f160b6bf2..4ba1d2c90 100644 --- a/lib/puppet_x/icinga2/utils.rb +++ b/lib/puppet_x/icinga2/utils.rb @@ -71,6 +71,10 @@ # # vars += config # +# but you can use the following instead: +# +# vars = vars + config +# # require 'puppet'