Difference between revisions of "Infrastructure Team/Puppet"

From Sugar Labs
Jump to navigation Jump to search
Line 38: Line 38:
 
Setup supybot IRC bot.
 
Setup supybot IRC bot.
  
=== Sugar Labs specific modules ===
+
=== Sugar Labs specific ===
  
 
'''[http://git.sugarlabs.org/projects/puppet-bazaar bazaar]'''<br>
 
'''[http://git.sugarlabs.org/projects/puppet-bazaar bazaar]'''<br>

Revision as of 09:36, 5 September 2010

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.

supybot
Setup supybot IRC bot.

Sugar Labs specific

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