Felix, If I remove the comma's from the no-port and no-agent, like this
options => [ "from=\"server1.mydomain,server1,192.168.1.2\"", "no-port-forwarding", "no-agent-forwarding", ]; I get one big blob in my authorized_keys file from="server1.mydomain,server1,192.168.1.2"no-port-forwardingno-agent- forwarding ssh-dss AAAA...= userx_dss and it still loops due the comma's in the from="" to separate the servernames and ip-addresses. I don't see how I can remove the comma's without destroying the syntax of the authorized_keys file Regards, Rene On May 13, 1:29 pm, Felix Frank <felix.fr...@alumni.tu-berlin.de> wrote: > Hi, > > On 05/13/2011 01:20 PM, rvlinden wrote: > > > as an array ... > > > @authorizedkey { > > "userx_dss": > > user => "userx", > > type => "ssh-dss", > > key => "AAAA...=", > > options => [ > > "from=\"server1.mydomain,server1,192.168.1.2\"", > > ",no-port-forwarding", > > ",no-agent-forwarding", > > ]; > > } > > this is right, but you made a doo-doo: There is commas *in* your array > elements. > > Works for me (but the commas need to go). > > HTH, > Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.