Debugging Chef Test Kitchen runs
If there is a configuration error in the Test Kitchen system, there are commands that can help you to get more information. Run the instance creation in debug mode kitchen create -l debug SUITE_NAME
Ruby Gem Management
Ruby gems are Ruby programs and libraries with a name, version and the platform that can execute them. List the installed gems on your system gem list Detailed list that includes the author, homepage, license, install location and a short description gem…
Bootstrap Chef nodes to connect them to the Chef server
A Chef node is a physical or virtual machine with an operating system that is connected to the Chef server. Once the node has made the connection to the Chef server, the installed Chef Client can execute Chef cookbooks to configure the machine.…
Dynamically set Chef resource attributes
When you need to set a Chef resource attribute based on the current state of the environment, there is a way to dynamically provide the value. Set the value of a boolean variable with a test, Declare the Chef resource and assign a reference to it to a…
How to create a bootable USB drive to install Windows 11
If the computer you want to install Microsoft WIndows on, does not have a DVD drive, you can install Windows from a USB drive. To start the computer from the USB drive, you need to prepare the drive to make it bootable. Microsoft has a free tool that can…
Setup failed: Failed to copy slug dir: lstat /Users: no such file or directory error in Terraform Enterprise
When you try to execute a Terraform configuration in Terraform Enterprise (Atlas) you may get the error message: Setup failed: Failed to copy slug dir: lstat /Users: no such file or directory Cause: The Git repository contains the .terraform/modules…
Install a Python package
To install a Python package on Macintosh Download the Python package to your workstation, Unpack the package, Open a terminal window, Start sudo, sudo -i Change to the directory of the package, Install the package. pip install PACKAGE_NAME If you…
PyCharm configuration
When you install PyCharm, the default Python interpreter is may not the version you want to use for your new projects. When you create a new project, and the project interpreter is not set, you may get the following error message: Executed command:…
IronPython
IronPython can expose Python types to C# libraries, and expose C# libraries to Python code.
Python ImportError: No module named …
Symptom: from MY_FOLDER.MY_FILE import MY_CLASS causes an error: ImportError: No module named MY_FOLDER.MY_FILE Debugging: Execute the program in debug mode, In the Variables window expand Special Variables, Read the __warningregistry__ value. Possible…