Chef HabitatDeveloper ResourcesChef Habitat is an open source automation solution for defining, packaging, and delivering applications to almost any environment regardless of operating system or platform.
ChefSpec Write RSpec examples and generate coverage reports for Chef recipes! View on GitHub Download .zip Download .tar.gz ChefSpec is a unit testing framework for testing Chef cookbooks. ChefSpec makes it easy to write examples and get fast feedback on cookbook changes without the need for virtual machines or cloud servers. ChefSpec runs your cookbook(s) locally with Chef Solo without actually c
å ¨å½1000ä¸äººã®Infrastructure as Codeè·äººã¨Immutable Infrastructureè¸äººã®ã¿ãªãããããã«ã¡ãï¼ ãã§ã«åæã§è¨åããã¦ãã¾ãéãããChefå®è·µå ¥é ~ã³ã¼ãã«ããã¤ã³ãã©æ§ç¯ã®èªåå ããæè¡è©è«ç¤¾ããåºçããã¾ãã Chefã解説ããæ¸ç±ã¨ãã¦ã¯æ¾¤ç»ãããæ¨å£ããã«ããChefæ´»ç¨ã¬ã¤ãã«ç¶ã2åãã®æ¸ç±ã¨ãªãä½µãã¦èªãã°ãã¯ãChefå ¥éãéãããã¦Chefããã¢ã«ãªããã®ã§ã¯ãªããã¨ããé£å®¹ã§ãã (2åã®æ¸ç±ãç°ãªããã£ã©ã¯ã¿ã¼ã§è¢«ãé¨åããã¾ããªãã®ã¯é«åº¦ãªæ å ±ä¼éã®è³ç©ã§ãã) ãããä¸ãã¤ãã³ãã§èµ°ãç¶ãã¦ããæ å ±ãä»ã²ã¨ã¤è¿½ãåããªãæ¹ã使ãå§ããæ¹ã«ã¨ã£ã¦ä¾¿å©ãªä¸åã¨ãªãããã«ããªãã¹ãæ¼ãã®ãªãæ§æãå¿ããã¦ãã¾ãã èªåã®æ å½ããã第8ç« Chefãããæ´»ç¨ããããã®æ³¨æç¹ãã¨å·»æ«ã®ãã¼ãã·ã¼ãã«ã¤ãã¦ã¯å ¬å¼ããã¥ã¡
ããã«ã¡ã¯ãæè¤ã§ãã Chefã§æ§ç¯ã®èªååãã§ããäºã¯ããã£ã¦ãã¦ããCookbookãã©ãè¨è¿°ããã°ããã®ããã³ã¨ããªãå ´åãããã¾ãããããªã¨ãã«ä½¿ããããªã³ããããã¯ã¢ãããã¦ã¿ã¾ããã ãChefã使ã£ã¦ã¿ãããã©ãã¾ãã¡ã¨ã£ãããããããã¥ãããããããããã¯ã©ããããã ï¼ãããããªã¨ãã«ã覧é ããã幸ãã§ãã â»Chef 10.16.2ã§ç¢ºèªãã¾ãããã¾ããRHEL, CentOSã§å©ç¨ããäºãåæã«èª¬æãã¦ãã¾ãã Cookbookã«å梱ããRPMãã¡ã¤ã«ããç´æ¥ã¤ã³ã¹ãã¼ã«ãã cookbook_fileã¨packageãªã½ã¼ã¹ãçµã¿åããã¦å®è¡ãã¾ãã ä¸è¨ã®ä¾ã¯ãMySQLãµã¼ããRPMãã¡ã¤ã«ãç¨ãã¦ã¤ã³ã¹ãã¼ã«ãã¾ãã "MySQL-server-5.5.29-1.el6.x86_64.rpm"ãã¡ã¤ã«ãããããã "files/default" å ã«ä¿åãã¾ã
An attribute is a specific detail about a node. Attributes are used by Chef Infra Client to understand: The current state of the nodeWhat the state of the node was at the end of the previous Chef Infra Client runWhat the state of the node should be at the end of the current Chef Infra Client runAttributes are defined by: The node as saved on the Chef Infra ServerAttributes passed using JSON on the
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ãã®ããã¥ã¡ã³ãã§ã¯ãChefãå®è¡ãã¦ãã¤ã³ãã©ãä½æããã人ããæ¢åã®ã¬ã·ããããã®ãåæã«ãChefã®æ¦è¦ãç解ããããã®ããã¥ã¡ã³ãã§ããChef-soloã®æ§æã®ã¿ã«å¯¾å¿ããè¨è¿°ã«ãªã£ã¦ãã¾ããç解ãééãã¦ããã¨ããã¨ãããã°ãææãã ããã Chefã®æ¦è¦ 1.1. Chefã¨ã¯ ã·ã§ãã¯ãã¤ã³ãã©ã¹ãã©ã¯ãã£ã¼ãã³ã¼ãã«å¤æããããã®èªååãã©ãããã©ã¼ã ã§ããä»®æ³ç°å¢ã§ããç©çç°å¢ã§ããã¯ã©ã¦ãã§ã使ãäºãã§ãã¾ããã¤ã³ãã©ã¹ãã©ã¯ãã£ãèªååãããã¨ã§ããããã¯ãã®ãã¼ã±ããæå ¥ãæ©ããããã¹ã±ã¼ã«ãè¤éãã«å¯¾å¿ãã
ããã³ã¾ãã¯ãRuby ã«é¢ããæè¡è¨äºã¯ãã¡ããã®ãã¨ãRubyist ã¸ã®ã¤ã³ã¿ãã¥ã¼ãã¨ãã»ã¤ããã®ä»ããå±ãããã¦ã§ãéèªã§ãã Rubyist Magazine ã«ã¤ã㦠ãRubyist Magazineããç¥ãã¦ããã³ã¾ãã¯ãRubyist ã® Rubyist ã«ãããRubyist ã¨ããã§ãªã人ã®ããã®ã¦ã§ãéèªã§ãã ææ°å· Rubyist Magazine 0064 å· ããã¯ãã³ãã¼ Rubyist Magazine 0064 å· Rubyist Magazine 0063 å· Rubyist Magazine 0062 å· Kaigi on Rails ç¹éå· RubyKaigi Takeout 2020 ç¹éå· Rubyist Magazine 0061 å· Rubyist Magazine 0060 å· RubyKaigi 2019 ç´åç¹éå· Rubyist
ã¨ãã¦å¤ã使ã£ã¦ããã ãã®ç¶æ ã§ã¯ãã¯ããã¯Aãå®è¡ããã¨ã #{node['B']['attr_key']} ã®ã¨ãã㧠NoMethodError undefined method `[]' for nil:NilClass ã¨ããã¨ã©ã¼ã«ãªãã 解決ããããã«ã¯ãã¯ãã¯ããã¯Aã®metadata.rbã«
Ohai is a tool for collecting system configuration data, which it then provides to Chef Infra Client to use in cookbooks. Chef Infra Client runs Ohai at the start of every Chef Infra run to determine system state. The attributes that Ohai collects are called automatic attributes. Chef Infra Client uses these attributes to ensure that nodes are in the desired state after each configuration run. The
I'm trying to write a wrapper cookbook for the chef graphite repo In the recipe carbon.rb, the following lines occur: template "#{node['graphite']['base_dir']}/conf/storage-schemas.conf" do owner node['apache']['user'] group node['apache']['group'] end where in templates/default/storage-schemas.conf there is a storage-schemas.conf file that is not to my liking. I can edit the file inline and achie
æ¬é ã¯ChefConf 2013: Beginner Chef Antipatternsãå訳ãããã®ã§ãã ã¯ããã« ãã Chefã®å¦ç¿ã¯å¤§å¤ Chefã®å¦ç¿æ²ç·ã¯æ¥å¾é ã¨è¨ããã¦ããã®ã§ãOpscodeã§ã¯ç·©åããããã®ã³ã³ãã³ããè²ã æºåãã¦ãã¾ãã learnchef.com docs.opscode.com ãããªãã¯/ãã©ã¤ãã¼ã ãã¬ã¼ãã³ã° Podcasts (Food Fight Show ãªã©) åå°ã®ã¦ã¼ã¶ã°ã«ã¼ã (訳注: æ¥æ¬ãªã #opschef_ja ) ChefConf! (訳注: ãã㯠ChefConf 2013 ã§è¡ãããã»ãã·ã§ã³ãªã®ã§) ããã§ããæ£ãããã¨ããã£ã¦ããã®ãç¥ãã®ã¯é£ãããä½ãééã£ããã¨ããã£ã¦ããã®ãç¥ãã®ã¯ããã«é£ãããã®ã§ããã³ãã¥ããã£ã®ä¸ã§ããã¹ããã©ã¯ãã£ã¹ãã¯å¸¸ã«é²åãã¦ãã¾ããã ãã¹ããã©ã¯ãã£ã¹ã«ã¤ãã¦ãã£
ããã«ã¡ã¯ãRuby大好ãMiyakeã§ã :-) "DevOps"ã¨ããè¨èãã¯ãã¼ãºã¢ãããããããã«ãªã£ã¦ãããChefãããªãæµè¡ã£ã¦ãã¦ã¾ãããã ããã°ã¨ãTwitterãã¿ã¦ãã¦ãããã1å¹´ã§å®éã®æ¥åããéçºç°å¢ãæ§ç¯ããã®ã«Chefã使ã£ã¦ã人ãããªãå¢ãããªï½ã£ã¦æã£ã¦ãã¾ã :-) ä»æ¥ã¯ããããªChefã使ã£ã¦ããä¸ã§æ°ã«ãªã£ããRecipeãå®è¡ãããã¾ã§ã®ä»çµã¿ã¨ãRecipeå ã§å®£è¨ãã¦ããå¤æ°ã®é¢ä¿ã«ã¤ãã¦èª¿ã¹ã¦ã¿ãã®ã§ãç´¹ä»ãããã¨æãã¾ãã å®ã¯ãã®Recipeãå®è¡ãããã¾ã§ã®ä»çµã¿ãç解ãããã¨ã§ãRecipeå ã§å®£è¨ããå¤æ°ã®ä½¿ãæ¹ããããç解ã§ããããã«ãªãã¾ã :-) ã¾ãã¯ãRecipeãå®è¡ãããã¾ã§ã®ä»çµã¿ãè¦ãã¦ãããããããã¨èª¤ã£ãå¤æ°ã®ä½¿ãæ¹ããããµã³ãã«ãæ¸ãã¦ã¿ã¾ããã 誤ã£ãå¤æ°ã®ä½¿ãæ¹ããã¦ããã®ã¯ããªã½ã¼ã¹Blockã¨ãªã½
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}