Skip to content

Instantly share code, notes, and snippets.

@binamov
binamov / az-chef.md
Last active March 23, 2018 00:11
setting up azure service principal for chef

Create Azure RM Service Principal

This makes kitchen-azurerm and knife-azure ARM mode work

  1. Install Azure CLI

  2. Run az login and take note of its output:

[

@leonardofed
leonardofed / README.md
Last active April 18, 2024 12:52
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@smford22
smford22 / chef_local_development_workflow.md
Last active November 1, 2023 00:07
Chef Local Development Workflow - ChefDK, Vagrant, VirtualBox, Test Kitchen

Chef Local Development Workflow with ChefDK, Vagrant, VirtualBox, and Test Kitchen

Overview

The following document is intended to be a quick guide to getting you setup for doing local development with Chef. This guide was created on my MacBook, but should work fine with Linux, and Windows workstations as well.

Quick review on fundamental tenets of Chef

  • Workstation - A workstation is a computer that is configured to run various Chef command-line tools that synchronize with a chef-repo, author cookbooks, interact with the Chef server, interact with nodes, or applications like Chef Delivery
  • Node - A node is any machine—physical, virtual, cloud, network device, etc.—that is under management by Chef.
  • Chef Server- The Chef server acts as a hub for configuration data. The Chef server stores cookbooks, the policies that are applied to nodes, and metadata that describes each registered
@kwilczynski
kwilczynski / azure.txt
Last active April 19, 2018 14:17
Windows, Chef and the WinRM Troubles
Microsoft Azure images:
1) Make sure that WinRM is allowed and prots are open (Azure allows remote connectvity)
2) On stock images, you might need to allow WinRM on the "Public" network (by default only local network allowa it in)
3) When doing a bootstrap from Windows to remote Windows node, make sure that you have latest version of knife-windows
and latest version of winrm-s Ruby gems (and that your Basic and AllowUnencrypted options for WinRM are switched off)