dracoblue.net

Install vcredist and .NET unattended with puppet

If your applications need a msvcr100.dll or similiar file, you'll need to get one of the Microsoft Visual C++ 2010 Redistributable Package (x86) or another version installed.

This is a very simple task, if you are a human and have to do this only one time. If you have lots of PCs or servers and want to install this automated, you might want to do this with puppet.

The process is the same for any vcredist file, so I'll explain it for vcredist_2008_x64.exe.

Download the vcredist_2008_x64.exe from microsoft.com and put it into your files folder.

Continue reading ...

In open source, puppet, vagrant, windows by DracoBlue @ 2014-02-05 | 346 Words

Test a Puppet Host with Vagrant

In the previous post we had a look on configuring the puppet config for a single machine with git.

This looks quite good, but before we want to roll out the config to our target machine, we might test it with a vagrant machine first.

Install vagrant (and virtualbox) before we can continue.

Continue reading ...

In open source, puppet, ubuntu, vagrant by DracoBlue @ 2014-02-03 | 762 Words

Alias and Virtual Domains with Postfix

Today I ran into the case, that I have my ubuntu server with postfix running as MTA. Since there is no IMAP server or something like this installed, I use this server only for relaying/proxying the mails to my gmail account.

Setup was straight forward (choose "Internet Site" and enter the ip of the server when it asks for mynetworks):

# apt-get install postfix

The /etc/aliases looks like this:

root: [email protected]

if I want to send all mails from root to the mail address [email protected].

Continue reading ...

In open source, postfix, ubuntu by DracoBlue @ 2013-12-30 | 304 Words

Setup Puppet Host with Git

I want to share the way, how I manage hosts with puppet. Let's say we have a new box, which runs ubuntu.

First of all I install latest puppet and configure a hostname.

We have to check if puppet is properly installed (e.g. 3.4):

# puppet --version
3.4.0

Then we have to check if the hostname looks good with puppet's facter:

# facter fqdn
hans.example.org
Continue reading ...

In open source, puppet, ubuntu by DracoBlue @ 2013-12-23 | 557 Words

Configure hostname and failover ip on ubuntu

If you want to configure two ubuntu nodes in such way, that the second node is a hot standby for the other one, you will need a failover ip.

First of all, set a proper hostname for your machine by editing the /etc/hostname file. Afterwards your machine needs to be rebooted or you call sudo hostname myhostname.example.org.

Since it's still necessary to have both nodes accessible, I use the following steps to make the failover ip available on both devices.

Continue reading ...

In open source, ubuntu by DracoBlue @ 2013-12-22 | 342 Words

Page 8 - Page 9 - Page 10