Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
root@mta-system:/tmp# cat /tmp/test.pp @ssh_authorized_key{"seph-test":
        ensure  => present,
        key     => "foo==",
        type    => "ssh-dss",
        name    => "explicit test",
        user    => seph,
        target  => "/tmp/testkeys",
}

realize(Ssh_authorized_key["seph-test"])

root@mta-system:/tmp# puppet --debug --detailed-exitcodes --verbose /tmp/test.pp 
info: Loading fact virtual
sh: Syntax error: Bad fd number
sh: Syntax error: Bad fd number
debug: Creating default schedules
debug: Prefetching parsed resources for ssh_authorized_key
debug: //Ssh_authorized_key[seph-test]: Changing ensure
debug: //Ssh_authorized_key[seph-test]: 1 change(s)
notice: //Ssh_authorized_key[seph-test]/ensure: created
debug: Flushing ssh_authorized_key provider target /tmp/testkeys
debug: Finishing transaction 70269078380780 with 1 changes