alkivi_base

Controls basic configuration of alkivi server

Alkivi

alkivi

10,388 downloads

9,443 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
  • 0.0.1
released Oct 24th 2013

Start using this module

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/)