Forge Home

alkivi_base

Controls basic configuration of alkivi server

10,954 downloads

9,961 latest version

3.3 quality score

Version information

  • 0.1.0 (latest)
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2 (deleted)
  • 0.0.1 (deleted)
released Oct 24th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'alkivi-alkivi_base', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add alkivi-alkivi_base
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install alkivi-alkivi_base --version 0.1.0

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
Tags: debian, alkivi, base

Documentation

alkivi/alkivi_base — version 0.1.0 Oct 24th 2013

Alkivi Base Module

This module will provide basic tools that we install on our machine. It include :

  • ssh keys
  • default software
  • provide hability to quickly create password and credentials for our api
  • remove default motd and add an executable in /etc/profile.d to allow dynamic motd
  • provide firewall rules (version alpha, using alkivi-iptables (https://github.com/alkivi-sas/debian-iptables)

Usage

You have to create your own templates in :

  • templates/alkivi_authorized_keys.erb
  • templates/root_authorized_keys.erb

Usage passwords

# Generate a reusable password (store in /root/.passwd/db)
$mysql_password = alkivi_password('mysql', 'db')

# Generate a long reusable password  (will be store in /root/.passwd/apps)
$long_password = alkivi_password('test', 'apps', 45)

Usage firewall

Currently these is alpha, need to implement more option for firewalling


# Generate a custom rules
alkivi_base::firewall_rule{ 'openerp_apache':
  dest_port => '4443',
  protocol  => 'tcp',
}

## Limitations

* This module has been tested on Debian Wheezy, Squeeze.

## License

All the code is freely distributable under the terms of the LGPLv3 license.

## Contact

Need help ? contact@alkivi.fr

## Support

Please log tickets and issues at our [Github](https://github.com/alkivi-sas/)