Chef Attributes

Chef attributes are global variables that are available for every cookbook on the node. There are multiple formats to declare and use an attribute. For important notes on the syntax, please see Undefined method or attribute error in a Chef recipe. To override the value of an attribute that is defined in another cookbook, use the …

Prevent the auto-termination of stranded instances in RighScale

When you launch an instance with RightScale Self Service, and the Chef cookbook execution fails, the instance goes into “stranded” mode. By default RightScale Self Service terminates the stranded instances, so there is no way to remote into them and read log files to find the cause of the problem. To keep stranded instances running in RightScale …

Getting started with InSpec

InSpec is an open-source testing framework to verify your infrastructure satisfies the design requirements. In this article, we will learn to install and use InSpec with Chef. Install InSpec Navigate to https://downloads.chef.io/inspec, and download the installer for the operating system of your workstation, Execute the downloaded installer. Allow InSpec to verify Red Hat Enterprise Linux instances InSpec needs …

Import STL mesh files into Autodesk Inventor

Import and export STL mesh files To enable Autodesk Inventor to open and save .stl files add the STL Import and STL Export add-ins to Adobe Inventor. .stl files are used to transfer 3D print designs between computers. You can download most of them for free from the Internet. In the Tools menu open the Add-in Manager …

Recommended 3D Printer settings

There are many 3D printers, filaments, and project types out there, so the variations of 3D printer settings are almost limitless. This page contains recommended settings for the most common 3D printing jobs, printers, and materials. Printing materials Filament material Shore A hardness Shrinkage Platform adhesion Advantages PLA Blue painters tape  Less warping, No heating bed required, …

Cura 3D Printing and Slicing Software

The Cura 3D printing software is made by Ultimaker, the 3D printer manufacturer. When you install the application create a profile for your printer. The user’s guide or data sheet of you printer should contain the necessary information to populate the form. Troubleshooting The save button is not enabled Symptom: The design is loaded into the program, …

Monoprice Select Mini 3D Printer

The Monoprice Select Mini 3D printer is one of the best values on the market today. For $220 you get a 50-micron (0.05 mm) resolution 3D printer with PLA and ABS capabilities, and heated printing platform. The heated platform can reduce or eliminate the warping of the edges when the object cools down too quickly. The printer …

Undefined method or attribute error in a Chef recipe

There are multiple reasons Chef can display the following error message NoMethodError ————- Undefined method or attribute `…’ on `node’   There are many ways to reference an attribute in a Chef recipe: node[‘ATTRIBUTE_NAME’] (the recommended style) node[“ATTRIBUTE_NAME”] node[:ATTRIBUTE_NAME] (use it only if the single or double quotes (‘ or “) would cause a problem …

Monitor timeouts in TeamCity

TeamCity is a Continuous Integration (CI) tool that enables software development teams to build and test their software. Sometimes the server is too busy to serve the users and the web user interface does not respond in time. TeamCity logs all actions in a log file so we can find the date and time of …