AmazonLinux2ã§kontena-lensã使ããããã«ãã
AmazonLinux2ã§kontena-lensãèµ·åãããã¨ããã¨ããã以ä¸ã®ããã«ãªã£ã¦ãã¾ãèµ·åã§ãã¾ããã§ããã
% kontena-lens info: ð Setting Lens as protocol client for lens:// info: ð failed â
調ã¹ã¦ä½ã¨ã解決ãããã®ã®ããããªãã«å¤§å¤ã ã£ãã®ã§çµç·¯ã¨è§£æ±ºæ¹æ³ãã¡ã¢
(å°æ¥ã®kontena-lensãxdg-utilsã§ã¯ä¿®æ£ããã¦ããå¯è½æ§ãããã¾ã)
Â
ç¶ããèªãApache httpd 2.4ã§ã®è¨å®ã®å°ãã¿
Apache httpd 2.4ã®è¨å®ãæ¯åã°ã°ã£ã¦ã¯å¿ããã®ã§ããã¤ã³ãã«ãªãã¨ãããã¾ã¨ãã¦ãã
æ°ãåãããæ¸ã足ããã
ç¶ããèªãChefã®çéã§èµ·ããäºä»¶ã«ã¤ãã¦æ¥æ¬èªã§æ¸ãã¦ãã
ããã¯2019å¹´9æã«èµ·ããChefé¢é£OSSã®åé¤é¨ãã®çµç·¯ãå人çã«è¨é²ããããã®è¨äºã§ããããã®è¨äºã¯ã©ã¡ãã®ç«å ´ã«ãç«ããã確èªã§ããè¨äºã®å 容ãè¨è¼ããã«ã¨ã©ããã
è¨è¼ãã¦ãã2019å¹´9æ24æ¥ç¾å¨ãäºæ ã¯é²è¡ä¸ã§ãããå¤æ´ã確èªãããã°æ´æ°ãã¦ããã
2019/09/17
Chef社ã¨ã¢ã¡ãªã«åè¡å½ç§»æ°ã»é¢ç¨å·è¡å±(以ä¸ICE)ã¨ã®å¥ç´ã«ã¤ãã¦ã®Tweetããªãããã
hey @chef can you please provide a statement on your $100k contract with ICE, as documented here: https://t.co/x1awrUmVEt
â shanley #NoTechForICE (@shanley) September 16, 2019
Â
2019/09/19
chef-sugar ãã¯ããã¨ããChefé¢é£ã®Ruby gemãrubygems.orgããåé¤ããããããã¯å Chef社å¡(ç¾GCP)ã®Seth Vargoã«ãããã®ã ã£ãã
ããã¾ã§(Githubããã³Rubygemsä¸ã§ã¯)Vargoå人ã®gemã¨ãã¦éçºããã¦ããgemã®ä¸é¨ã«ã¤ãã¦ãChef社ãã(æ³ç権å©ã主張ããæ¸é¡ã¨ã¨ãã«)Ruby Centralã¸æ¨©é移管ã®è¦æ±ãããããããRuby Centralãåã容ãããã¨ãçºè¡¨ããã¦ãã(2019/09/20)ã
ãããgemã®å ã ã®ownerã§ãã£ãVargoã¯chef-sugerã¬ãã¸ããªã§å£°æãçºè¡¨ãã¦ãããChef社ãICEã¨ã®$95,500ã®å¥ç´ãè¡ã£ããã¨ãå¼ãéã¨ãªã£ãã¨ã®ãã¨ã
Vargoã®ä¸»å¼µã§ã¯ICEãé人éçãªæ±ãã人権ã®ç¡è¦ãåã©ãã®å¾çãªã©ãè¡ã£ã¦ããããããã®éªæªãªç®çã®ããã«èªèº«ã®ã³ã¼ããå©ç¨ãããªãããã«ã¨Chefã®ã¨ã³ã·ã¹ãã ããã³ã¼ããåé¤ããæ¨ãè¨ããã¦ããã
ãã®å¾ãGoogleãAppleãAWSçã®ç¤¾å¡ããã人ç©ãããã®è³åã®replyãã¿ãããã
Cancel the contract, Corey. This is super clear - not a time for mealy brand tweets about âuncharted territory.â
â scott andreas (@cscotta) September 21, 2019
Â
#ChefSupportsICE @chef cancel your contract with ICE!
â Lee Pêgas (@pegaslee) September 21, 2019
Chef CEOã®Barry Cristã®è¨äº(CristããChefå ¨ç¤¾å¡ã«åãã¦éä¿¡ãããã¡ã¼ã«)ã«ããã¨ããã®åé¤ã«ãã£ã¦ç¤¾å ã¯å¤§ããå½±é¿ãåããããã§ããã
2019/09/20
ãã®å¾Chef社å´ãããã¤ãã®å¯¾å¿ãè¡ã£ãæ¨ãçºè¡¨ããã¦ãããããã¯2019/09/20ä»ããChef社ã®CTOã§ããCorey Scobieã«ããè¨äºã§ããã
Vargoã«ããåé¤å¾ãRubygemsã«å¥åãæ°ãã¼ã¸ã§ã³ã§ã®gem releaseãè¡ã£ã¦ããããã®å¾åå空éãRubygemsã¸ã®è¦æ±ã§åå¾ããå ã®ååã§éå»ã®ãªãªã¼ã¹ã復å ãããã¨è¨ããã¦ããããã®éä¸ãAuthorã¾ã§åæã«Chef Softwareã«æ¸ãæãã¦ãã¾ãå¾ã»ã©å ã«æ»ãããããã
ã¾ãããã§ã¯Chef社ãRuby Centralã«æåºãã権å©ã®å¸°å±ã示ãæ¸é¡ã¨ãã¦ãVargoã®éç¨æ¥ãåããæ¸é¡ãç½²åãããæ å ±ããã³çºæã®å°æã«ä¿ãåæã®æ¸é¡ã§ãããã¨ãè¨ããã¦ããã
2019/09/23
ããã«2019/09/23ä»ãã§CEOã®Barry Cristããã®è¨äºãåºã¦ããã
ãããCristããChefå ¨ç¤¾å¡ã«åãã¦éä¿¡ãããã¡ã¼ã«ã®æ¬æã¨ã®ãã¨ã§ãããChef社ã¯äººæ¨©ä¾µå®³ã«å対ãããã®ã§ãããã¨ãå¤ãã®ç¤¾å¡ãä»åã®å¥ç´ã«å対ããä¼ç¤¾ãå¤ãããã¨ãã¦ãããã¨ã¸ã®æè¬ã表æãã¦ããã
ã¾ããä»åã®å¥ç´ã«ã¤ãã¦ã¯å±¥è¡ãããã®ã®ãæ¥å¹´ã®ICEã¨ã®å¥ç´æ´æ°ã¯è¡ããªããã¨ã決ããããã«ãã®å¥ç´ã«ããåçã¯å ¨ã¦å®¶æã®åæãå¾çã®å½±é¿ãåãã人ã ã¸ã®æ¯æ´ã¸ã¨å¯ä»ãããã¨ã表æãããã
Chef15ã«ãªã£ããTravis CIãå ¨é¨ã³ã±ã
æ²é¡ã®éãã§ããããªããã
ãã°ã確èªãã¦ã¿ãã¨ãããChefã®ã©ã¤ã»ã³ã¹ã«åæããï¼ã£ã¦ããããã³ãããåºã¦ããããã§ããã
gist6e5b13d2544dbcc89235005714909790
ç¶ããèªãHOWTO: release Chef cookbooks
tl;dr
Use stove.
I tried to release a new version of chrony_ii cookbook in the same way I used to, but it did not succeed.
I found that the subcommand I was using is now deprecated, so I determined to use the dedicated tool for that.
Problem I faced
I was releasing public cookbooks with the following command in the cookbook directory (/path/to/cookbooks, not /path/to/cookbooks/my_cookbook):
$ COOKBOOK_NAME=chrony_ii $ chef exec knife cookbook site share ${COOKBOOK_NAME} -k ~/.chef/limitusus-chefio.pem -u limitusus -o .
The result is FAIL, as follows
Generating metadata for chrony_ii from /var/folders/hb/dzt5s4014wv6_nxjmkkmwd141dqz8q/T/chef-chrony_ii-build20190321-12141-12lhjc1/chrony_ii/metadata.rb Making tarball chrony_ii.tgz ERROR: Multipart POST part 'tarball' is corrupt: "\x80\x00\x00\x00\x02\xDB\xFD\x17" is not an octal string
While investigating the cause of this error I found the subcommand "knife cookbook site" is deprecated and we should use knife supermarket instead.
I replaced knife cookbook site with knife supermarket but the error unchanged.
stove: packaging & releasing Chef cookbooks
Next I found supermarket document page:
then I tried using stove
It simply worked, and no output (with --no-git, as I have already tagged), but the cookbook is successfully uploaded.
TravisCI upgraded to Xenial, and ChefDK install failed
tl;dr
Should you have a trouble on ChefDK install in TravisCI for Chef cookbook you maintain, you can fix it by fixing .travis.yml
What happened
I received a TravisCI notification that indicates my cookbook's weekly test build failed.
The error says ChefDK installation failed and build stopped then. Here is the log.
Root Cause
TravisCI seems to have changed the default build environment from Precise to Xenial.
I used chef-current-precise as an apt addon, so the apt source line had turned to be disabled.
How to Fix
Easy. Just fix the apt source line. Unfortunately "chef-current-xenial" is not registered inÂ
GitHub - travis-ci/apt-source-whitelist: Whitelist of apt sources approved for build environments with restricted sudo for now. I chose to manually write an apt source line for Xenial by TravisCI instruction page, and the build passed.
Actually the diff is very small.
è¤æ°OSSã®Contributerã«ãªãã¾ãã
å¹´æ«ã¨ãããã¨ã§1ã¤è¨äºãæ¸ãã¦ä»å¹´ãç· ãããã¨æãã¾ãã
ã¤ã³ãã©ã¨ã³ã¸ãã¢ã¨ãã¦ã®ä»äºã6å¹´ç®ã¨ãªãã¾ãããããã®éã«ITã¤ã³ãã©çéã¯ãªã³ãã¬ããã¯ã©ã¦ãã¸ã®ç§»è¡ã¨ãããã®ãæ¥éã«é²ãã§ãã¦ããã®ãæãã¦ãã¾ãã
ãããªããã§ä»äºã§ã¯AWSã主ã¨ãã¦ã¯ã©ã¦ãä¸ã®ã¤ã³ãã©ãæ§ç¯ãããã¨ãå¢ãã¦ããã®ã§ãããInfrastructure as Codeã¨ããææ³ããã(ãªãã¦ããããã§ãã)Terraformã§ãã£ããCodenize Toolsã使ã£ãããã¦ãã¾ããã
ãµã¼ãã®ãããã¸ã§ãã³ã°ã¯Chefã使ã£ã¦ãã¾ããCodenize ToolsãChefãRuby製ãªã®ã§è¨èªãåãæ¿ããªãã¦ããã®ãå人çã«ã¯æ°ã«å ¥ã£ã¦ãã¾ããTerraformãHCLã§ããâ¦
Codenize Toolsã®Contributerã¸
ãã¦ããããªããã§Codenize Toolsãroadworkerãpiculetãmiamãªã©ããããã使ã£ã¦ãã¦ãä»å¹´ã«å ¥ã£ã¦ããã¯æ©è½ã®å°ããªä¿®æ£ãããã¤ãPull requestã«ãã¦ããã®ã§ãããããæãããªmentionãã¡ã³ãããããã£ã¦ãã¾ãã
ã¨ããããã§ãç¾å¨Codenize Toolsã®Contributerããã£ã¦ããã¾ãã
å ¨ã¦ã«ç®ãéãã¦ããããã§ããªãã§ãããåºæ¬çã«ã¯èªåã使ã£ã¦ãã¦ä¸ä¾¿ã«æãã¦ããã¨ãããä¿®æ£ãã¦ããã®ãã¡ã¤ã³ã®æ´»åã«ãªãããªã¨æãã¾ãããç¡çã®ãªãç¯å²ã§è²¢ç®ãã¦ãããã°ã¨æã£ã¦ãã¾ãã
timezone_iii Cookbookã®Contributerã¸
Chefã§ãµã¼ãã®timezoneãè¨å®ãããã¨æãã¨ããã®ãã®ãºããªã®
timezone Cookbook - Chef Supermarket
ã¨ããcookbookãæåã«è¦ä»ããã¾ãããã ãã®ã¡ã³ãããããã¦ãã¾ã£ãã®ãã2010å¹´ã§æ´æ°ã¯çµäºã対å¿ãã¦ããã®ãDebian/Ubuntuã®ã¿ã¨ãªã£ã¦ãã¾ã£ã¦ãã¾ãã
ãã¡ããããã§ã¯ãããã¨æã£ã人ããã¦ãtimezone-iiã¨ããforkãçã¾ãã¾ããã
timezone-ii Cookbook - Chef Supermarket
ã¨ãããããã¾ã2015å¹´ã§æ´æ°ãæ¢ã¾ã£ã¦ãã¾ã£ã¦ãã¦ãChef13ã§ã¯åãã¾ããã
ãããªIssueãä½æããã¦ãããèªãã§ã¿ãã¨ã¡ã³ããã®Larry Gilbertæ°ãæ»å»ãã¦ãã¾ã£ãããã§ã(Facebookã追æ¼ã¢ã«ã¦ã³ãã«ãªã£ã¦ãã¾ã)ã
timezone-iiã誰ãç´æ¥å¼ãç¶ããã¨ãã§ããããããããä½ãããã®ãtimezone_iiiã§ãã
timezone_iii Cookbook - Chef Supermarket
Cookbookåã«hyphenã使ããªãã®ãæ¨å¥¨ã¨ããã®ããããããããæ¹åããã¦ãã¾ãã
ä½ããæ´»çºã«ã¡ã³ããã³ã¹æ´»åãããã¦ããããã ã£ãã®ã§ãããå©ç¨ãããã¨ã«ããä¾ã«ãã£ã¦èªåã§ä¸æºãªã¨ãããPull requestã«ãã¦ã¶ã¤ãã¦ããã¾ããã
CentOSã®whyrunã綺éºã«ãã
ã¡ãã£ã¨ãã¹ããæ¸ããããDebianã®whyrunã綺éºã«ãã
#14ã®PRã§ã¡ã³ããã«Collaboratorã«ãªããªãï¼ã£ã¦è¨ããã¾ãã
ã¨ããããã§timezone_iiiã®v1.1.5ãå ã»ã©supermarketã«ã¢ãããã¼ããã¾ããã
Â
ãããªããã§ãCodenize Toolsãtimezone_iiiã¸ã®è¦æãããã°issueãªãTwitterãªãã§ãé£çµ¡ãã ããã
timezone_iiiã«ãæ¥æ¬èªã§æ¸ãã¦ããã ãã¦æ§ãã¾ãããã¡ã³ããåãã«ç¿»è¨³ãã¾ããããããã®ãcollaborationã ã¨æã£ã¦ã¾ãã
ä»å¹´ã®OSSã¸ã®commitã¯ãããã«ããã§æã¡æ¢ãã§ãããæ¥å¹´ãæ©ä¼ãããã°ãã£ã¦ãããã¨æãã¾ãã
Â
ã§ã¯ã§ã¯ã
追è¨
timezone_iiiã®v1.1.6ã¾ã§ãªãªã¼ã¹ãã¡ããã¾ãã
2019/03/22追è¨
timezone_iiiã¯Chef 14.6以éã¯deprecatedã¨ãªãã¾ãããããã¯timezone resourceãChefã§ç´æ¥æ±ãããããã«ãªã£ãããã§ã