{"id":31868,"date":"2026-12-01T22:04:23","date_gmt":"2026-12-01T22:04:23","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=31868"},"modified":"2026-12-01T22:04:23","modified_gmt":"2026-12-01T22:04:23","slug":"chef-tutorials-common-resource-functionality-in-chef-cookbook-recipe","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/chef-tutorials-common-resource-functionality-in-chef-cookbook-recipe\/","title":{"rendered":"Chef Tutorials: Common Resource Functionality in chef Cookbook recipe"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Common resource properties are settings that every Chef Infra resource accepts, whatever the resource type: <code>action<\/code>, <code>ignore_failure<\/code>, <code>retries<\/code>, <code>retry_delay<\/code>, <code>sensitive<\/code>, guards such as <code>not_if<\/code> and <code>only_if<\/code>, and notifications. This page explains how the <code>ignore_failure<\/code>, <code>retries<\/code> and <code>retry_delay<\/code> examples above behave at run time. It then covers the other common properties and shows how to test them in a recipe.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"639\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2022\/11\/image-26-1024x639.png\" alt=\"Chef docs on common resource properties: compile_time, ignore_failure, retries, retry_delay, sensitive\" class=\"wp-image-31869\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2022\/11\/image-26-1024x639.png 1024w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2022\/11\/image-26-300x187.png 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2022\/11\/image-26-768x479.png 768w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2022\/11\/image-26.png 1333w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">Examples \n\nThe following examples show how to use common properties <span class=\"hljs-keyword\">in<\/span> a recipe.\n\nUse the ignore_failure common property\n\n\ngem_package <span class=\"hljs-string\">'syntax'<\/span> <span class=\"hljs-keyword\">do<\/span>\n  <span class=\"hljs-attr\">action<\/span> :install\n  ignore_failure <span class=\"hljs-literal\">true<\/span>\nend\nUse the retries and retry_delay common properties\n\n\nservice <span class=\"hljs-string\">'apache'<\/span> <span class=\"hljs-keyword\">do<\/span>\n  action &#91; :enable, :start ]\n  retries <span class=\"hljs-number\">3<\/span>\n  retry_delay <span class=\"hljs-number\">5<\/span>\nend<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What common resource properties are<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Each Chef resource has its own properties. For example, <code>package<\/code> has <code>version<\/code> and <code>template<\/code> has <code>source<\/code>. Chef also defines a set of properties on the base resource class, and every resource inherits them. Because of that, you can add <code>retries 3<\/code> to a <code>package<\/code>, <code>execute<\/code>, <code>service<\/code> or <code>remote_file<\/code> resource and it works the same way on each one.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Property<\/th><th>Type and default<\/th><th>What it does<\/th><\/tr><\/thead><tbody><tr><td><code>action<\/code><\/td><td>Symbol or array; default depends on the resource<\/td><td>The action or actions to run, for example <code>:install<\/code> or <code>[:enable, :start]<\/code><\/td><\/tr><tr><td><code>ignore_failure<\/code><\/td><td><code>true<\/code>, <code>false<\/code> or <code>:quiet<\/code>; default <code>false<\/code><\/td><td>Lets the Chef run continue if this resource fails. <code>:quiet<\/code> also suppresses the error output<\/td><\/tr><tr><td><code>retries<\/code><\/td><td>Integer; default <code>0<\/code><\/td><td>How many more times to try the resource after it raises an error<\/td><\/tr><tr><td><code>retry_delay<\/code><\/td><td>Integer (seconds); default <code>2<\/code><\/td><td>How long to wait between retries<\/td><\/tr><tr><td><code>sensitive<\/code><\/td><td><code>true<\/code> or <code>false<\/code>; default <code>false<\/code><\/td><td>Hides property values and diffs from logs and output<\/td><\/tr><tr><td><code>not_if<\/code> \/ <code>only_if<\/code><\/td><td>Block or command string<\/td><td>Guards that decide whether the resource runs<\/td><\/tr><tr><td><code>notifies<\/code> \/ <code>subscribes<\/code><\/td><td>Action, resource, timer<\/td><td>Trigger an action on another resource when this one changes<\/td><\/tr><tr><td><code>compile_time<\/code><\/td><td><code>true<\/code> or <code>false<\/code>; default <code>false<\/code><\/td><td>Runs the resource during the compile phase instead of the converge phase<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How the example above behaves<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the first example, <code>ignore_failure true<\/code> on the <code>gem_package<\/code> resource means that if the <code>syntax<\/code> gem fails to install (for example, because there is no network access to the gem source), Chef logs the error and moves on to the next resource. The run still finishes successfully. Use this only when the resource really is optional. It hides real problems, and a resource that fails does not fire its notifications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the second example, <code>retries 3<\/code> and <code>retry_delay 5<\/code> make Chef retry the <code>service<\/code> resource up to three more times, waiting 5 seconds between attempts. That gives up to <strong>four attempts in total<\/strong>. If the last attempt also fails, the run fails, unless <code>ignore_failure<\/code> is also set. Retries help with problems that clear up on their own, such as a package mirror that is briefly down, a service that depends on something still starting, or a slow download.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> Retries do not fix configuration errors. If a service fails because its configuration file is invalid, retries only add delay before the same failure. Keep <code>retries<\/code> for operations that can fail temporarily.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Corrected and complete version of the example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Most Linux distributions do not have a service called <code>apache<\/code>. Debian and Ubuntu call it <code>apache2<\/code>, and RHEL-family systems call it <code>httpd<\/code>. The recipe below picks the right names for the platform, installs the package first, and puts both common-property examples into a recipe you can run.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># recipes\/default.rb<\/span>\n\napache_pkg = platform_family?(<span class=\"hljs-string\">'debian'<\/span>) ? <span class=\"hljs-string\">'apache2'<\/span> : <span class=\"hljs-string\">'httpd'<\/span>\n\n<span class=\"hljs-comment\"># Optional gem: do not fail the whole run if it cannot be installed<\/span>\ngem_package <span class=\"hljs-string\">'syntax'<\/span> <span class=\"hljs-keyword\">do<\/span>\n  action :install\n  ignore_failure <span class=\"hljs-keyword\">true<\/span>\nend\n\n<span class=\"hljs-comment\"># Package installs can fail briefly when a mirror is unavailable<\/span>\npackage apache_pkg <span class=\"hljs-keyword\">do<\/span>\n  action :install\n  retries <span class=\"hljs-number\">3<\/span>\n  retry_delay <span class=\"hljs-number\">10<\/span>\nend\n\nservice apache_pkg <span class=\"hljs-keyword\">do<\/span>\n  action &#91;:enable, :start]\n  retries <span class=\"hljs-number\">3<\/span>\n  retry_delay <span class=\"hljs-number\">5<\/span>\nend<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><code>platform_family?<\/code> is a built-in recipe helper. <code>debian<\/code> covers Debian and Ubuntu, and other families such as <code>rhel<\/code>, <code>fedora<\/code> and <code>amazon<\/code> fall back to <code>httpd<\/code>. You can extend the condition if you support other platforms.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Guards: not_if and only_if<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Guards make a resource run only when it needs to. Most built-in resources are already idempotent, but <code>execute<\/code>, <code>bash<\/code> and <code>script<\/code> resources are not, so they usually need a guard. A guard can be a Ruby block, which is evaluated inside the Chef process, or a string, which runs as a shell command where an exit code of 0 means true.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">execute <span class=\"hljs-string\">'initialise-app-db'<\/span> <span class=\"hljs-keyword\">do<\/span>\n  command <span class=\"hljs-string\">'\/opt\/app\/bin\/init-db'<\/span>\n  <span class=\"hljs-comment\"># Ruby block guard: skip if the marker file already exists<\/span>\n  not_if { ::File.exist?(<span class=\"hljs-string\">'\/opt\/app\/.db_initialised'<\/span>) }\nend\n\nexecute <span class=\"hljs-string\">'reload-sysctl'<\/span> <span class=\"hljs-keyword\">do<\/span>\n  command <span class=\"hljs-string\">'sysctl --system'<\/span>\n  <span class=\"hljs-comment\"># String guard: run only if the setting is present in the config file<\/span>\n  only_if <span class=\"hljs-string\">'grep -q net.ipv4.ip_forward \/etc\/sysctl.conf'<\/span>\nend<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Ruby block guards are faster and portable because they do not start a shell. String guards accept options such as <code>user<\/code>, <code>group<\/code>, <code>cwd<\/code>, <code>environment<\/code> and <code>timeout<\/code>, for example <code>not_if &#039;test -f done&#039;, cwd: &#039;\/opt\/app&#039;<\/code>. On Windows, the <code>guard_interpreter<\/code> property controls which interpreter runs string guards.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Notifications: notifies and subscribes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Notifications connect resources. When a resource actually changes something, it can trigger an action on another resource. The usual case is restarting a service after its configuration file changes.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">template <span class=\"hljs-string\">'\/etc\/apache2\/sites-available\/app.conf'<\/span> <span class=\"hljs-keyword\">do<\/span>\n  source <span class=\"hljs-string\">'app.conf.erb'<\/span>\n  notifies :reload, <span class=\"hljs-string\">'service&#91;apache2]'<\/span>, :delayed\nend\n\nservice <span class=\"hljs-string\">'apache2'<\/span> <span class=\"hljs-keyword\">do<\/span>\n  action &#91;:enable, :start]\n  <span class=\"hljs-comment\"># Equivalent reverse form:<\/span>\n  <span class=\"hljs-comment\"># subscribes :reload, 'template&#91;\/etc\/apache2\/sites-available\/app.conf]', :delayed<\/span>\nend<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<ul class=\"wp-block-list\">\n<li><code>:delayed<\/code> (the default) queues the action until the end of the run, and runs it only once even if many resources send the same notification.<\/li>\n\n\n<li><code>:immediately<\/code> (or <code>:immediate<\/code>) runs the action straight after the notifying resource.<\/li>\n\n\n<li><code>:before<\/code> runs the action before the notifying resource, and only if that resource is about to make a change.<\/li>\n\n\n<li>Notifications fire only when the resource is updated. If the template content has not changed, the service is not reloaded.<\/li>\n\n\n<li>A resource used only as a notification target usually has <code>action :nothing<\/code>, so it runs only when notified.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">sensitive and compile_time<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Set <code>sensitive true<\/code> on any resource that handles secrets. Chef then stops printing property values, command lines and file diffs to the console and logs, and keeps them out of reporting data.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">template <span class=\"hljs-string\">'\/etc\/app\/db.yml'<\/span> <span class=\"hljs-keyword\">do<\/span>\n  source <span class=\"hljs-string\">'db.yml.erb'<\/span>\n  variables(password: data_bag_item(<span class=\"hljs-string\">'secrets'<\/span>, <span class=\"hljs-string\">'db'<\/span>)&#91;<span class=\"hljs-string\">'password'<\/span>])\n  mode <span class=\"hljs-string\">'0600'<\/span>\n  sensitive <span class=\"hljs-keyword\">true<\/span>\nend\n\n<span class=\"hljs-comment\"># Install a gem during the compile phase so later recipe code can require it<\/span>\nchef_gem <span class=\"hljs-string\">'aws-sdk-s3'<\/span> <span class=\"hljs-keyword\">do<\/span>\n  compile_time <span class=\"hljs-keyword\">true<\/span>\nend<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Chef runs in two phases. In the compile phase it reads all recipes and builds a resource collection, and in the converge phase it runs those resources in order. <code>compile_time true<\/code> runs the resource while the recipe is being compiled. Use it only when later Ruby code in the recipe needs the result immediately, for example a gem it will <code>require<\/code>. An older pattern that does the same thing is <code>resource.run_action(:action)<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Running and testing the recipe<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You do not need a Chef Infra Server to try these properties. Use <code>chef-apply<\/code> for a single recipe file, or local mode for a whole cookbook. Both need administrator rights because they change the system.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># Single recipe file<\/span>\nsudo chef-apply common_props.rb\n\n<span class=\"hljs-comment\"># Whole cookbook in local mode (run from the chef-repo directory)<\/span>\nsudo chef-client --local-mode --runlist <span class=\"hljs-string\">'recipe&#91;mycookbook::default]'<\/span>\n\n<span class=\"hljs-comment\"># Lint the cookbook before running it<\/span>\ncookstyle cookbooks\/mycookbook<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">In the output, look for the resources being marked as updated or up to date. Run it a second time to check idempotency: guarded <code>execute<\/code> resources should be skipped, and no notifications should fire if nothing changed. To see retries happen, point a <code>remote_file<\/code> resource at a URL that does not exist and set <code>retries 2<\/code>. You will see the retry messages and the delay between attempts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common mistakes and best practices<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Using <code>ignore_failure<\/code> to hide bugs.<\/strong> Fix the cause instead. If a step really is optional, add a comment explaining why.<\/li>\n\n\n<li><strong>Expecting <code>retries<\/code> to mean total attempts.<\/strong> <code>retries 3<\/code> means one attempt plus three retries.<\/li>\n\n\n<li><strong>Leaving out <code>sensitive true<\/code> on secrets.<\/strong> Passwords in <code>execute<\/code> commands and templates appear in logs and CI output by default.<\/li>\n\n\n<li><strong>Using a string guard where a Ruby block would do.<\/strong> Each string guard starts a shell. <code>::File.exist?<\/code> is faster and works on every platform.<\/li>\n\n\n<li><strong>Wrong resource name in a notification.<\/strong> <code>&#039;service[apache]&#039;<\/code> must match an existing resource name exactly. If it does not, the run fails with an error saying the resource cannot be found.<\/li>\n\n\n<li><strong>Overusing <code>compile_time<\/code>.<\/strong> Running resources at compile time breaks the normal ordering and makes recipes harder to follow.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Does retries 3 in Chef mean three attempts or four?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Four. Chef makes the first attempt and then retries up to three more times if it raises an error, waiting <code>retry_delay<\/code> seconds (default 2) between attempts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is the difference between ignore_failure true and ignore_failure :quiet?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Both let the Chef run continue after the resource fails. With <code>true<\/code>, the error is still printed. With <code>:quiet<\/code>, the error output is suppressed, which is useful for expected failures but makes problems harder to troubleshoot.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">When should I use not_if instead of only_if?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use <code>not_if<\/code> when the resource should be skipped if a condition is true, such as a marker file existing. Use <code>only_if<\/code> when the resource should run only if a condition is true. They are opposites, and you can use both on the same resource.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why did my notification not trigger a service restart?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Notifications fire only when the notifying resource is updated. If the file or template content did not change, nothing is sent. Also check that the target name, such as <code>service[apache2]<\/code>, matches the resource name exactly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do common properties work with custom resources?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Custom resources inherit from the base Chef resource class, so <code>retries<\/code>, <code>ignore_failure<\/code>, guards, notifications and <code>sensitive<\/code> all work on them the same way as on built-in resources.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related tutorials<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/category\/infrastructure-as-code\/chef\/\">More Chef tutorials<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/what-is-chef-and-use-cases-of-chef\/\">What is Chef and use cases of Chef?<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/chef-tutorials-knife-command-line-reference\/\">Chef Tutorials: knife command line reference<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/top-50-chef-interview-questions-and-answers\/\">Top 50 Chef interview questions and answers<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Common resource properties are settings that every Chef Infra resource accepts, whatever the resource type: action, ignore_failure, retries, retry_delay, sensitive, guards such as not_if and only_if, and&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[88],"tags":[1659,4799],"class_list":["post-31868","post","type-post","status-publish","format-standard","hentry","category-chef","tag-chef-cookbooks","tag-chef-recipes"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/31868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=31868"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/31868\/revisions"}],"predecessor-version":[{"id":80491,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/31868\/revisions\/80491"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=31868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=31868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=31868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}