Install Puppet 3 in Amazon Linux

The most recent version of the Amazon Linux VMI (2015.09.1) seems to install version 2 of Puppet by default.

However, if you need to install Puppet 3, that is also easy enough.

Just type in the following to install it:

sudo yum install puppet3

If any errors pop up in respect to incorrect dependencies (this can happen if you installed puppet 2 first), just remove these – they should be reinstalled with the correct version for puppet 3 upon running the above command again.

 

Add Date to File Name in Windows

I like to organize my files by prefixing the current date and time to the file name. Yes, sorting files by date created and date modified more or less accomplishes the same thing but I just find it to be more organized this way.

I’ve spent countless hours prefixing the respective date to files but today I found a much easier way.

I found the free tool Bulk Rename Utility.

Just download and extract this, then launch it and drag and drop the files you want to rename on the file list (it can be more than one file).

Then set the following options:

autodate

Mode: Prefix

Type: Creation (Current)

Fmt: YMD

Sep.: Just put one space

Next, select the file(s) you want to rename and click the Rename button on the bottom left.