Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 739 Bytes

README.markdown

File metadata and controls

30 lines (23 loc) · 739 Bytes

SSH Private key provider.

Ben Hughes [email protected]

Hackety Hack

Makes SSH private keys. Why is this useful? Well say if you use github for things and vcsrepo then you'll need to generate SSH keys, but you don't want to always make them then push them to a repo, then add them in Puppet etc, you just want a key.

sshprivkey{ '/root/.ssh/sekret_nu_key':
  ensure => present,
}

It also supports user, to specify a user to make the key as.

And it supports mailto, to mail the public key to that address using system mail. Sketch.

sshprivkey{ '/home/daveo/.ssh/githubz':
  ensure => present,
  user   => 'daveo',
  mailto => '[email protected]',
}