Top Configuration Management Systems – Puppet vs Salt vs Ansible vs Chef

The leading configuration management systems compared: Puppet, Chef, Ansible, Salt. My students Joona, Jori, Eero and Jarkko gave a presentation and demonstrated each system. ArcticCM provisioned and configured a couple of Linux desktops and servers, and also configured some Windows … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Provision Multiple Virtual Puppet Slaves with Vagrant

For testing, it’s convenient to provision many virtual slave computers to your master. This Vagrant file installs two virtual computers and automatically configures them as slaves to a puppetmaster in a predefined IP address. Advanced stuff warning: Using this sample … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Aikataulu – Linuxin keskitetty hallinta – 3 op, vanha OPS – loppusyksy 2017 p5 – Puppet

Control 10 computers. Or 100. Or 1000. Use Puppet, the tool used by US Gov (security baseline), Mozilla, Google (laptops and desktops) and Wikipedia. Just write what you want (idempotency). Control almost everything with one system (single source of truth). … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , | 44 Comments

Hello CFEngine – CFengine3 on Ubuntu 16.04 Xenial

This article shows you how to install CFEngine 3 on Ubuntu and write a simple “Hello World” program. Modern configuration management systems let your describe your infrastructure as code in an idempotent way. You define the target state of your … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

So Many Slaves: 455 Docker, 100 VirtualBox, 65 physical workstations, 50 VPS

Nikolai has 455 slaves in Docker containers. Joona has 100 slaves in VirtualBox, Joonas and Matilda have 60 slaves, Heikki has 21. This an ongoing competition for the students of my configuration management courses.

Posted in Uncategorized | Tagged , , , , , , | 2 Comments

Firefox System Wide Settings – /etc/firefox/syspref.js

Firefox preferences for all users are in /etc/firefox/syspref.js. You can copy settings from your current user preferences.

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Aikataulu – Palvelinten hallinta ict4tn022-1 – 5 op, uusi OPS – loppusyksy 2016

Hallitse palvelimiasi Pupetilla. Pupettia käyttävät esimerkiksi Google, Mozilla ja Wikipedia. Sillä on toteutettu myös US Government Security Baseline hallinnon Linux ja Windows -tietokoneisiin.

Posted in Uncategorized | Tagged , , , , , , , , | 115 Comments

Aikataulu – Linuxin keskitetty hallinta – ict4tn011-9 – loppukevät 2016

Hallitse palvelimiasi ja työasemiasi Pupetilla. Kuvaile tavoitetila, ja anna Pupetin tehdä tarvittavat säädöt ja asetukset. Pupettia käyttävät mm. Google, Mozilla ja Wikipedia. USA:n valtio suojaa Windows- ja Linux-työasemansa Pupetilla (US Government Security Baseline).

Posted in Uncategorized | Tagged , , , , , , , , , , , | 20 Comments

Preseed MySQL Server Password with Salt Stack

MySQL is the most popular multi-user database in the world. When you install MySQL Server automatically, you must set database root password without asking user to type it. On Debian and Ubuntu, you can use Preseed to answer installer (apt-get) … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Salt Master-Minion with Ubuntu 14.04 LTS – Control Your Slaves over the Internet

Would you like to control many computers (slaves, minions) from one master computer? Salt-minions connect to master to retrieve instructions. Slaves then configure themselves to the target state: they install software, make settings and start daemons.

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Implementing Package-File-Service Pattern as a Salt Stack PyObjects Function

PyObjects renderer allows you to use normal Python functions to repeat actions. In this article, we’ll implement a Package-File-Service pattern as a reusable Python function.

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Salt Package-File-Service with Pyobjects

When you install Apache, the most popular web server in the world, you want to show web pages. In practice, you install the package, keep the service running and modify a configuration file. In configuration management, this is called package-file-service … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 7 Comments

Install the Latest Salt Stack on Ubuntu 14.04 LTS

Salt Stack is a configuration management system. It allows you to control a big number of computers easily. To get the latest features, you can install the latest stable Salt Stack on Ubuntu 14.04 LTS.

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Aikataulu – Linuxin keskitetty hallinta – ict4tn011-8 syksyllä 2015

Hallitse palvelimiasi ja työasemiasi automaattisesti.

Posted in Uncategorized | Tagged , , , , , , , , , , , | 37 Comments

SSH Server Puppet Module for Ubuntu 12.04

Puppet configures and installs daemons easily. OpenSSH server is one of the most popular servers. This article shows an example of Puppet’s package-file-service pattern. A bypass for Ubuntu 12.04 broken init script is offered, making it a breeze to install … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 2 Comments

Hello Puppet revisited – on Ubuntu 12.04 LTS

Learn “Hello Puppet World” in 5 minutes. Write one-liners & modules. Meet the configuration management system used by Google and Wikipedia.

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Hello Puppet – on Ubuntu 12.04 LTS

Read new, revisited version of Hello Puppet World. Now with one-liner & module! Old version below. >> Move to new version >>>

Posted in Uncategorized | Tagged , , , , , , , | 1 Comment

PuppetMaster on Ubuntu 12.04

Control a whole network of computers from PuppetMaster. Wikipedia uses puppet for servers, Google uses puppet for OSX laptops. With this article, you can use puppet with Ubuntu servers and desktops. Prequisites To follow this article, you should be fluent … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 17 Comments

Puppet Reading List

*Starting documents are marked with asterisk “*” and bold. Getting Started with Puppet Hello Puppet – on Ubuntu 12.04 LTS* Learning Puppet Master and Slave PuppetMaster on Ubuntu 12.04* Modules Learning Puppet: Modules and Classes (Part One) Learning Puppet: Parameterized … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 1 Comment

Apache on Vagrant on Ubuntu – “config.vm.forward_port 80, 8080″ and ‘vagrant reload’

Vagrant can automatically set your port forwarding to your guest os. This makes web development easy. To follow this article, you should have vagrant installed. Install Apache on Guest In the box (guest OS), install Apache web server box$ sudo apt-get … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Vagrant on Ubuntu 12.04 – Create and Boot New Virtual Machine in Minutes – apt-get install vagrant

Vagrant quickly creates a new virtual machine. Settings like automated ssh login and sudo are handled automatically. To follow this artice, you should be familiar with command line, apt-get and ssh. First Time Setup $ sudo apt-get -y install vagrant … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 3 Comments

Ideas for Automation with Centralized Configuration Tool

You automated everything with cfengine, puppet or fabric. It works so smoothly that you are now looking for some more things to automate. Wireless WEP/WPA passwords, make available to all users in each slave Add shortcuts to desktop Add language … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Virtualize Servers with KVM, Cloudmin and Ubuntu

My students Antti Ollila, Sakarias Hiltunen and Juha Salminen virtualized some servers. They set up a web interface that creates new virtual servers with a click of a button. After trying some alternatives, they ended up using KVM and Cloudmin. … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Vagrant promises to automate virtual machine creation

Vagrant promises to automate creation of VirtualBox virtual machines. Vagrant automatically adds ssh access, software and port forwarding. But is Vagrant ready for prime time yet? My students Tuomas Aaltonen, Toni Honkanen and Jesse Lindroos decided to try it out. … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 2 Comments

55 Computer Cloud – with Ubuntu Enterprise Cloud

The cloud at its biggest was about 55 nodes. When trying out the Folding@Home, we successfully installed Origami on 64 VM instances. Arttu got Irssi IRC-client and WordPress client running in the VMs, but due to the lack of backups and/or snapshot functionality, … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment
  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects