Forge Home

10,471 downloads

9,877 latest version

1.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.2.7 (latest)
  • 0.2.2
  • 0.1.2
  • 0.1.0
released Mar 21st 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'samukasmk-deploy_keys', '0.2.7'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add samukasmk-deploy_keys
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install samukasmk-deploy_keys --version 0.2.7

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

samukasmk/deploy_keys — version 0.2.7 Mar 21st 2014

samukasmk-deploy_keys

Puppet module to manage deploy keys, for use example in (git clone)/(vcsrepo) actions.

Goal: Store your private keys for secure deploys, avoiding unsafe ssh connections with user/password. ##Example 1: Basic Usage By default your keys will be stored in schema: "/etc/puppet/.deploy_keys/<username>/<my_deploy_key>"

class { "deploy_keys":
  key_name     => "my_deploy_key",
  source       => "puppet:///files/.../my_deploy_key",
  user         => "root"
}

##Example 2: Defining different base folder in same schema If you wish, is possible store your keys in other folder, but in the same schema: "/path/to/my/other/folder/<username>/<my_deploy_key>"

class { "deploy_keys":
  key_name     => "my_deploy_key",
  source       => "puppet:///files/.../my_deploy_key",
  user         => "root",
  base_folder  => "/path/to/my/other/folder",
}

##Example 3: Define the specific folder to key To the final example, your keys will be stored simply in "/root/.ssh/id_rsa"

class { "deploy_keys":
  key_name     => "my_deploy_key",
  source       => "puppet:///files/.../my_deploy_key",
  user         => "root",
  key_dest     => "/root/.ssh/id_rsa"
}

##Please contribute with us:

  • creating your pull request: https://github.com/samukasmk/puppet-deploy_keys.git