Edit this page on GitHub

Home > developer > content development > Modify existing component

Modify Existing Component

Scenario Context

Adding a new attribute to component is done routinely. For example you want to add support for pre shut down command in apache webserver. You can do by the following

  • Modify the component’s metadata.rb file to add the attribute details.
  • Modify the recipe’s to use prestart attribute to execute the pre shut down command.

  • To upload the metadata and test follow the instructions on getting-started