I have a problem with `to_yaml` in Puppet's `erb` templates.

The content of my `erb` template looks as follows:

```
<%= {"key1"=>"value1", "key2"=>"value2"}.to_yaml %>

```

The output produced by Puppet is:

```
--- 
  key1: value1
  key2: value2

```

But I expect (no indent):

```
--- 
key1: value1
key2: value2

```

Do I make something wrong? Are both representations equivalent? I don't think so.