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.

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

Low-level modules

Modules to maintain particular applications that don't contain any data tied to end-usage environment, all configuration happen via class/define/type arguments from out of these modules. Not all module repositories might be hosted on git.sugarlabs.org.

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.

supybot
Setup supybot IRC bot.

Sugar Labs specific modules

Modules to maintain applications that make sense only in Sugar Labs environment. Modules don't contain any data tied to end-usage environment, all configuration happen via class/define/type arguments from out of these modules. All module repositories are hosted on git.sugarlabs.org.

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