Managing WordPress sites

You need to enable your business users to manage their own website. Fast. WordPress has come a long way. You might have seen it as a simple blogging tool, however, in recent years, it has grown into a fully featured content management system. Fortunately, managing WordPress with Chef is pretty straightforward.

Let's take a look at how to do it.

Getting ready

Make sure that you have a cookbook called my_cookbook and that the run_list of your node includes my_cookbook, as described in the Creating and using cookbooks recipe in Chapter 1, Chef Infrastructure.

Create Berksfile in your Chef repository including my_cookbook:

mma@laptop:~/chef-repo $ subl Berksfile
cookbook 'my_cookbook', path: './cookbooks/my_cookbook'

Tip

If you're ...

Get Chef: Powerful Infrastructure Automation 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.