On Wednesday, March 28, 2012 6:44:09 PM UTC-7, 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.
Have you tried:
options => ['from="..."'],
or even just:
options => 'from="..."'
Wil
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/KPQan9SFtrIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.