Skip to content

herffjones-ssg/puppet-sshprivkey

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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]',
}

About

SSH Private key provider for Puppet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%