w - moscmedia.com · the online official news bullettin of mosc
OlinData Puppet Presentation for MOSC 2012
Click here to load reader
-
Upload
olindata -
Category
Technology
-
view
74 -
download
0
description
Transcript of OlinData Puppet Presentation for MOSC 2012
“Little puppet made of pine, awake. The gift of life is thine.”
July 9th, 2012Malaysia Open Source ConferenceKuala Lumpur, Malaysia
Walter Heck, OlinData
Overview
• Introduction OlinData
• Checkup
• Introduction Puppet
• Future of Puppet in South East Asia
Introduction OlinData
• OlinData▫ MySQL Consulting▫ Tribily Server Monitoring▫ Puppet training and consulting
• Started with Puppet in 2010▫ Official puppetlabs partner since 2012▫ Experience with large, medium and small
infrastructures
The big boys using puppet
Checkup
•Who is planning to use puppet soon-ish?
•Who is using puppet in production?▫Using ENC? Hiera? Mcollective? Stored configs? Open source modules?
sql.olindata.com
# apt-get install openssh-server# vim /etc/ssh/sshd_config# iptables -A INPUT -p tcp –dport 22 -j ACCEPT# /etc/init.d/sshd restart
Old school
web.olindata.com
sql.olindata.com
# apt-get install openssh-server# vim /etc/ssh/sshd_config# iptables -A INPUT -p tcp –dport 22 -j ACCEPT# /etc/init.d/sshd restart
# apt-get install openssh-server# vim /etc/ssh/sshd_config# iptables -A INPUT -p tcp –dport 22 -j ACCEPT# /etc/init.d/sshd restart
sql.olindata.com
# apt-get install openssh-server# vim /etc/ssh/sshd_config# iptables -A INPUT -p tcp –dport 22 -j ACCEPT# /etc/init.d/sshd restart
Puppet to the rescue!
puppet.olindata.com
node basenode { include ssh}
class ssh { package {'openssh-server': ensure => installed } file {'/etc/ssh/sshd_config': ensure => present, source => 'puppet:///modules/ssh/sshd_config', notify => Service['sshd'] } firewall { '001 allow ssh': chain => 'INPUT', proto => 'tcp', dport => '22', action => 'accept', }}node *.olindata.com inherits basenode { }
/etc/puppet/manifests/site.pp:
Puppet Advantages
Scalability
Puppet Advantages
Accountability
Puppet Advantages
Versioning
Puppet Advantages
Replication
Puppet Advantages
Security
Puppet advantages
Flexibility
Puppet Advantages
Backups
OlinData and Puppet
• Training▫ First training end of April in KL▫ Planning Manilla and Jakarta▫ Hyderabad this week, Singapore August 6th
• Consulting▫ Remote consulting worldwide▫ Ongoing hands-on engineering▫ Start from scratch or improve existing environment
Questions?