I believe you need to add "options => 'from="1.1.1.1"'" to your resource to do this.
Cheers, Tim On Thursday, 29 March 2012 at 12:44 PM, Brandon wrote: > Fairly new to puppet here and trying to figure out a couple of issues > with distributing ssh keys. First one is how can I distribute a > public key with the from= field at the beginning. What I currently > have working is > > ssh_authorized_key { "brandon": > user => "brandon", > ensure => "present", > type => "ssh-rsa", > key => "AAAAB3NzaC1yc2E...... > } > > which adds > > ssh-rsa AAAAB3NzaC1yc2E...... > > to my authorized_keys just fine. But how do I prepend that with > > from="1.1.1.1" > > ? Everything I've tried doesn't work. Thanks. > > -- > 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 > (mailto:puppet-users@googlegroups.com). > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com > (mailto:puppet-users+unsubscr...@googlegroups.com). > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- 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.