1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
{ @ssh_authorized_key{"rip": ensure => present, key => "foo==", type => "ssh-dss", name => "rip@indulgence.nephilim.ml.org", user => rip, } @user{"rip": } } inherits user { ( User["rip"], Ssh_authorized_key["rip"], ) } include user::unixadmins |
output
1 2 3 |
# puppet test.pp notice: //user/Ssh_authorized_key[rip]/target: target changed '/home/rip/.ssh/authorized_keys' to '/home/rip/.ssh/authorized_keys' # |

