Variable ‘…’: duplicate found. Variable names must be unique.

Starting with Terraform version 0.7.3 you can only define a variable once within a directory or a module. Before that release you could copy variable definition files from other modules and did not throw an error if you had the same variable defined in multiple files within the module. In the new version of Terraform …

Disable the Caps Lock key on the Macintosh

I am not sure who uses the Caps Lock button anymore. It was important in the age of typewriters to be able to type all uppercase titles without holding the shift key, but these days I don’t remember the last time I needed it. In fact I frequently press it accidentally and prevents me to …

Launch Windows instances locally with Chef Test Kitchen

Most Linux distributions are free, and do not require product keys to launch them. The steps below are based on the great article at http://kitchen.ci/blog/test-kitchen-windows-test-flight-with-vagrant/ I have summarized the steps below to create a free Virtual Box Windows Server 2012R2 image on your workstation, so Test Kitchen can use Vagrant and Virtual Box to launch Windows instances and test cookbooks …

How to migrate the DevOps development environment to another workstation

Git Move the Git repositories to a new workstation If you want to move Git repositories to your new workstation Commit and push all repositories to GitHub on the old workstation, Copy the folders from your old workstation to the new, Execute the following command in all Git repositories on the new workstation. git reset …

DevOps Engineering part 1. (Mac) – Make your Macintosh easier to use

Enable the right-click To be able the right-click on the mouse Disable caps lock If you never write emails with all capital letters, and many times a day accidentally press the caps lock key, you can disable it. Remove Siri from the control strip If you don’t use Siri on your Mac, there is no …

OLD- DevOps Engineering part 1. (Win) – Make your Windows computer easier to use

Set up your computer Display the file extensions On Windows 11 Open the File Explorer Click the arrow next to View and select Show Mark File name extensions and Hidden items On Windows 10 Open File Explorer On the View tab select File name extensions Hidden items On Windows 7 (if you accidentally run into …

Your session has timed out. Please try again. Code 5107 in the

To download apps from the Apple Store you need an Apple Id. If the app is free, you may not want to enter credit card information during the registration. If you try to create the Apple Id without the credit card in the App Store application, you may get the following error message: Your session …

`block in filter_instances’: undefined method `empty?’ for nil:NilClass (NoMethodError)

When you try to execute any of the “kitchen” commands in Chef Test Kitchen you may get the following error message. lib/kitchen/config.rb:182:in `block in filter_instances’: undefined method `empty?’ for nil:NilClass (NoMethodError) This happened in my cookbook, when I have removed the value from the “excludes:” option in the .kitchen.yml file, but left the “excludes:” option …

Failed to open file ‘…’ , error 2 and error 22

How to restore a MySQL database in Windows To restore a MySQL database on a Windows machine: Place the database backup file in the root directory of your C: drive (trust me, this will make your life easier) Open the Command Prompt Start the MySQL command prompt mysql -u root -p This command will prompt you …

The FastCGI process exited unexpectedly

When you install WordPress on a Windows machine you may get the following error message: HTTP Error 500.0 – Internal Server Error C:\Program Files (x86)\PHP\v5.5\php-cgi.exe – The FastCGI process exited unexpectedly Detailed Error Information: Module FastCgiModule Notification ExecuteRequestHandler Handler PHP55_via_FastCGI1 Error Code 0x000000ff The error message is misleading. If you open the Application events in …