{"id":674,"date":"2017-07-26T10:27:56","date_gmt":"2017-07-26T10:27:56","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2017\/07\/26\/chef-notifies-and-subscribes-explained-with-examples\/"},"modified":"2021-02-27T09:49:35","modified_gmt":"2021-02-27T09:49:35","slug":"chef-notifies-and-subscribes-explained-with-examples","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/","title":{"rendered":"Chef notifies and subscribes explained with examples"},"content":{"rendered":"<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2867 aligncenter\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-notifies-and-subscribe.png\" alt=\"chef-notifies-and-subscribes-explained-with-examples\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-notifies-and-subscribe.png 600w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-notifies-and-subscribe-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/h3>\n<p>&nbsp;<\/p>\n<h3>Chef notifies and subscribes explained with examples<\/h3>\n<div><\/div>\n<div>A notification is a property on a resource that listens to other resources in the resource collection and then takes actions based on the notification type (notifies or subscribes).<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<h3>Timers<\/h3>\n<div>A timer specifies the point during the chef-client run at which a notification is run. The following timers are available:<\/div>\n<div><strong>:before<\/strong><\/div>\n<div>Specifies that the action on a notified resource should be run before processing the resource block in which the notification is located.<\/div>\n<div><\/div>\n<div><strong>:delayed<\/strong><\/div>\n<div>Default. Specifies that a notification should be queued up, and then executed at the very end of the chef-client run.<\/div>\n<div><\/div>\n<div><strong>:immediate, :immediately<\/strong><\/div>\n<div>Specifies that a notification should be run immediately, per resource notified.<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<h3>Notifies<\/h3>\n<div>A resource may notify another resource to take action when its state changes. Specify a &#8216;resource[name]&#8217;, the :action that resource should take, and then the :timer for that action. A resource may notify more than one resource; use a notifies statement for each resource to be notified.<\/div>\n<div>The syntax for notifies is:<\/div>\n<div>notifies :action, &#8216;resource[name]&#8217;, :timer<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<div><strong>Example<\/strong><\/div>\n<div>The following examples show how to use the notifies notification in a recipe.<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<div><strong>Delay notifications<\/strong><\/div>\n<div>template &#8216;\/etc\/nagios3\/configures-nagios.conf&#8217; do<\/div>\n<div>\u00a0 # other parameters<\/div>\n<div>\u00a0 notifies :run, &#8216;execute[test-nagios-config]&#8217;, :delayed<\/div>\n<div>end<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<div><strong>Notify immediately<\/strong><\/div>\n<div>By default, notifications are :delayed, that is they are queued up as they are triggered, and then executed at the very end of a chef-client run. To run an action immediately, use :immediately:<\/div>\n<div>template &#8216;\/etc\/nagios3\/configures-nagios.conf&#8217; do<\/div>\n<div>\u00a0 # other parameters<\/div>\n<div>\u00a0 notifies :run, &#8216;execute[test-nagios-config]&#8217;, :immediately<\/div>\n<div>end<\/div>\n<div><\/div>\n<div>and then the chef-client would immediately run the following:<\/div>\n<div>execute &#8216;test-nagios-config&#8217; do<\/div>\n<div>\u00a0 command &#8216;nagios3 &#8211;verify-config&#8217;<\/div>\n<div>\u00a0 action :nothing<\/div>\n<div>end<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<h3>Subscribes<\/h3>\n<div>A resource may listen to another resource, and then take action if the state of the resource being listened to changes. Specify a &#8216;resource[name]&#8217;, the :action to be taken, and then the :timer for that action.<\/div>\n<div><\/div>\n<div>Note that subscribes does not apply the specified action to the resource that it listens to &#8211; for example:<\/div>\n<div>file &#8216;\/etc\/nginx\/ssl\/example.crt&#8217; do<\/div>\n<div>\u00a0 \u00a0mode &#8216;0600&#8217;<\/div>\n<div>\u00a0 \u00a0owner &#8216;root&#8217;<\/div>\n<div>end<\/div>\n<div><\/div>\n<div>service &#8216;nginx&#8217; do<\/div>\n<div>\u00a0 \u00a0subscribes :reload, &#8216;file[\/etc\/nginx\/ssl\/example.crt]&#8217;, :immediately<\/div>\n<div>end<\/div>\n<div><\/div>\n<div>In this case the subscribes property reloads the nginx service whenever its certificate file, located under \/etc\/nginx\/ssl\/example.crt, is updated. subscribes does not make any changes to the certificate file itself, it merely listens for a change to the file, and executes the :reload action for its resource (in this example nginx) when a change is detected.<\/div>\n<div>The syntax for subscribes is:<\/div>\n<div>subscribes :action, &#8216;resource[name]&#8217;, :timer<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<div><strong>Examples<\/strong><\/div>\n<div>The following examples show how to use the subscribes notification in a recipe.<\/div>\n<div><\/div>\n<div>Prevent restart and reconfigure if configuration is broken<\/div>\n<div><\/div>\n<div>Use the :nothing action (common to all resources) to prevent the test from starting automatically, and then use the subscribes notification to run a configuration test when a change to the template is detected:<\/div>\n<div><\/div>\n<div>execute &#8216;test-nagios-config&#8217; do<\/div>\n<div>\u00a0 command &#8216;nagios3 &#8211;verify-config&#8217;<\/div>\n<div>\u00a0 action :nothing<\/div>\n<div>\u00a0 subscribes :run, &#8216;template[\/etc\/nagios3\/configures-nagios.conf]&#8217;, :immediately<\/div>\n<div>end<\/div>\n<div><\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<div><strong>Reference<\/strong><\/div>\n<div><a href=\"https:\/\/docs.chef.io\/resources.html#id4\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.chef.io\/resources.html#id4<\/a><\/div>\n<div><\/div>\n<div><strong>Example<\/strong><\/div>\n<div><a href=\"https:\/\/gist.github.com\/nathanhoel\/f5433a0d9cfe2e717c71\" target=\"_blank\" rel=\"noopener\">https:\/\/gist.github.com\/nathanhoel\/f5433a0d9cfe2e717c71<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Chef notifies and subscribes explained with examples A notification is a property on a resource that listens to other [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":2867,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[88],"tags":[407,604,627,628,602,632,631,629,630],"class_list":["post-674","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chef","tag-chef","tag-chef-guide","tag-chef-notifies","tag-chef-subscribes","tag-chef-tutorials","tag-examples","tag-explanation","tag-notification","tag-subscription"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Chef notifies and subscribes explained with examples - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Chef notifies and subscribes explained with examples - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"&nbsp; Chef notifies and subscribes explained with examples A notification is a property on a resource that listens to other [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-26T10:27:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:49:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-notifies-and-subscribe.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"Chef notifies and subscribes explained with examples\",\"datePublished\":\"2017-07-26T10:27:56+00:00\",\"dateModified\":\"2021-02-27T09:49:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/\"},\"wordCount\":530,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/chef-notifies-and-subscribe.png\",\"keywords\":[\"Chef\",\"Chef Guide\",\"Chef notifies\",\"Chef subscribes\",\"Chef Tutorials\",\"Examples\",\"Explanation\",\"Notification\",\"Subscription\"],\"articleSection\":[\"Chef\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/\",\"name\":\"Chef notifies and subscribes explained with examples - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/chef-notifies-and-subscribe.png\",\"datePublished\":\"2017-07-26T10:27:56+00:00\",\"dateModified\":\"2021-02-27T09:49:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/chef-notifies-and-subscribe.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/chef-notifies-and-subscribe.png\",\"width\":600,\"height\":400,\"caption\":\"chef-notifies-and-subscribes-explained-with-examples\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/chef-notifies-and-subscribes-explained-with-examples\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chef notifies and subscribes explained with examples\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Chef notifies and subscribes explained with examples - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/","og_locale":"en_US","og_type":"article","og_title":"Chef notifies and subscribes explained with examples - scmGalaxy","og_description":"&nbsp; Chef notifies and subscribes explained with examples A notification is a property on a resource that listens to other [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/","og_site_name":"scmGalaxy","article_published_time":"2017-07-26T10:27:56+00:00","article_modified_time":"2021-02-27T09:49:35+00:00","og_image":[{"width":600,"height":400,"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-notifies-and-subscribe.png","type":"image\/png"}],"author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"Chef notifies and subscribes explained with examples","datePublished":"2017-07-26T10:27:56+00:00","dateModified":"2021-02-27T09:49:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/"},"wordCount":530,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-notifies-and-subscribe.png","keywords":["Chef","Chef Guide","Chef notifies","Chef subscribes","Chef Tutorials","Examples","Explanation","Notification","Subscription"],"articleSection":["Chef"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/","name":"Chef notifies and subscribes explained with examples - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-notifies-and-subscribe.png","datePublished":"2017-07-26T10:27:56+00:00","dateModified":"2021-02-27T09:49:35+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-notifies-and-subscribe.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/07\/chef-notifies-and-subscribe.png","width":600,"height":400,"caption":"chef-notifies-and-subscribes-explained-with-examples"},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/chef-notifies-and-subscribes-explained-with-examples\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Chef notifies and subscribes explained with examples"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=674"}],"version-history":[{"count":3,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/674\/revisions"}],"predecessor-version":[{"id":2869,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/674\/revisions\/2869"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media\/2867"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}