Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class user::virtual {
        @ssh_authorized_key{"rip":
                ensure  => present,
                key     => "foo==",
                type    => "ssh-dss",
                name    => "rip@indulgence.nephilim.ml.org",
                user    => rip,
        }

        @user{"rip": }
}

class user::unixadmins inherits user::virtual {
        realize(
                User["rip"],
                Ssh_authorized_key["rip"],
        )
}

include user::unixadmins

output

1
2
3
# puppet test.pp
notice: //user::virtual/Ssh_authorized_key[rip]/target: target changed '/home/rip/.ssh/authorized_keys' to '/home/rip/.ssh/authorized_keys'
#