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.
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'