On 29-8-2016 18:30, [email protected] wrote:
> Thanks for the response.
>
> I am assuming that the following code in the github example is the input:
>
> |
> class{'hash_resources':  resources =>{    'file':{      '/tmp/foo':{ 
>       'ensure'  =>'present',        'content'=>'test',      },     
> '/tmp/bar':{        'ensure'  =>'present',        'content'=>'test', 
>     }    }  }}
> |
>
Wrong assumption :-)

You need the yaml part and then withou the first two lines and properly
indented.
I tried it today and this is what I put into the parameter field:
file:
  /tmp/foo:
    ensure: present
    content: test
  /tmp/bar:
    ensure: present
    content: test

Greetz,

Joop

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to