Chapter 6. Users and Applications

"The system should treat all user input as sacred."

Jef Raskin

In this chapter, we will cover the following recipes:

  • Creating users from data bags
  • Securing the Secure Shell daemon
  • Enabling passwordless sudo
  • Managing NTP
  • Installing nginx from source
  • Creating nginx virtual hosts
  • Creating MySQL databases and users
  • Managing Ruby on Rails applications
  • Managing Varnish
  • Managing your local workstation with Chef Pantry

Introduction

In this chapter, we'll see how to manage the user accounts on your nodes with Chef. This is one of the fundamental things you can start your infrastructure automation efforts with.

After dealing with users, we'll look at how to install and manage more advanced applications. Our examples cover a web application ...

Get Chef Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.