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 , , , , , , , , , | Comments Off on Provision Multiple Virtual Puppet Slaves with Vagrant

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 , , , , , , , | Comments Off on Hello CFEngine – CFengine3 on Ubuntu 16.04 Xenial

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 , , , , , | Comments Off on Firefox System Wide Settings – /etc/firefox/syspref.js

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 , , , , , , , , , , | Comments Off on Preseed MySQL Server Password with Salt Stack

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 , , , , , , , , , , , , , , , , | Comments Off on Salt Master-Minion with Ubuntu 14.04 LTS – Control Your Slaves over the Internet

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 , , , , , , , , | Comments Off on Implementing Package-File-Service Pattern as a Salt Stack PyObjects Function