To generate graphs with Terraform Open a terminal window in the Terraform script directory Execute the command terraform graph | dot -Tsvg > graph.svg
Author Archives: Laszlo Pinter
SocketError: Error connecting to … Name or service not known
In an enterprise environment, the company usually operates its own DNS servers. When a Linux instance launches in AWS, the DNS settings only contain the AWS DNS server. If the company DNS server settings are applied with Chef, during the first Chef Client run those settings do not take effect. When we reference an internal DNS …
Continue reading “SocketError: Error connecting to … Name or service not known”
The specified version of the NuGet package is not found in Artifactory
The “chocolatey_package” Chef resource can install NuGet packages from Artifactory. Artifactory is inconsistent in case sensitivity when an application is searching for a NuGet package. When we specify the package ID only, the search is not case sensitive. If the package is called “GoogleChrome” and we search for “googlechrome” the NuGet package is found in Artifactory. chocolatey_package ‘googlechrome’ do source ‘devops-chocolatey’ options “–allow-empty-checksums –ignore-package-exit-codes” end When we specify the version of the package, …
Continue reading “The specified version of the NuGet package is not found in Artifactory”
Scale inserted videos with the correct aspect ratio in Adobe Premiere CC
When we insert a video clip into our timeline that has the same height, but different width than our project, Adobe Premiere CC distorts the inserted clip. My project is 1920 x 1080, the inserted clip is 1440 x 1080. When I insert the narrower clip into my timeline, Adobe Premiere stretches the inserted clip horizontally. …
Continue reading “Scale inserted videos with the correct aspect ratio in Adobe Premiere CC”
Determine the Linux OS version
To display the Linux operating system version execute the command cat /etc/*release* uname -a
Copy files between Windows and Linux computers
There are many tools to copy files between Windows and Linux computers, I have found this method the simplest. It does not require any software installation on the Windows machine, and only one package installation on the Linux machine. Share a folder on the Windows machine Share a folder on the Windows machine and allow …
Continue reading “Copy files between Windows and Linux computers”
Edit the HKEY_CURRENT_USER Windows Registry keys of another user
The user-specific settings in the Windows registry are stored under the HKEY_CURRENT_USER key. If you open the Regedit.exe application the HKEY_CURRENT_USER key contains the settings for your user account. To access the registry keys of another user we need to Find the Security ID of the user In Regedit navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\hivelist The key lists the Security IDs and …
Continue reading “Edit the HKEY_CURRENT_USER Windows Registry keys of another user”
“Ran out of time waiting for the server with id” with Windows Server 2016 in Chef Test Kitchen
AWS changed how Windows Server EC2 instances send messages during boot. Windows Server 2012 R2 AWS EC2 instances sent the “Windows is ready” message every time those became available after boot. When a Windows Server 2016 AWS EC2 instance launches, it only sends the “Windows is ready” message during the first boot. If you create your custom …
Test Chef cookbooks locally on a virtual workstation
When you use a virtual machine to write your Chef cookbooks you may want to test them locally with Vagrant. This nested virtual machine cannot use a 64 bit operating system, because to run a 64 bit virtual machine, the host computer’s CPU has to provide the CPU Extensions. Currently only physical CPUs can provide …
Continue reading “Test Chef cookbooks locally on a virtual workstation”
Nested VirtualBox virtual machine on a VirtualBox virtual machine
There can be reasons when we want to run a VirtualBox virtual machine on another VirtualBox virtual machine. I am setting up a Windows virtual machine to interview job candidates and want to run a small Ubuntu virtual machine on the Windows virtual machine. It is not recommended for performance reasons, but I want to …
Continue reading “Nested VirtualBox virtual machine on a VirtualBox virtual machine”