deploy_keys

contributions requested
UNKNOWN

10,632 downloads

9,980 latest version

1.9 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.2.7 (latest)
  • 0.2.2
  • 0.1.2
  • 0.1.0
released Mar 22nd 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 22nd 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