Infrastructure Team/Puppet

From Sugar Labs
Jump to navigation Jump to search

Sugar Labs Puppet infrastructure.

Run stages

Run stages were introduced in Puppet v2.6. Within Sugar Labs infrastructure there are additional, to default Puppet, stages. All puppet modules should take care about it.

Defined stages:

  • initialize only for high-level initialization on nodes level,
  • main default Puppet stage to run nodes.

Module resources should be registered after initialize stage and might be before main one.

Modules

Modules are end-usage environment independent blocks to build final configuration. All end-usage configuration happen via class/define/type arguments from out of these modules in the nodes. Modules are stored in vcs.

Low-level

util
Common infrastructure routines. Module contains only code, not any data.

firewall
High level setup of iptables.

mysql
MySQL procedures.

lighttpd
Lighttpd support.

vcsrepo
Version control systems procedures.

End applications

supybot
Setup supybot IRC bot.

bazaar
Maintain bazaar.sugarlabs.org infrastructure.

Nodes

In progress

End-usage nodes. Configuration settings are tracked by local git repository only since contain private data.

jita.sugarlabs.org