test-kitchen

    0熱度

    1回答

    我正在與廚師和測試廚房,我安裝Apache 2.2的一些問題,我正在閱讀食譜與我的食譜(https://github.com/sous-chefs/apache2/blob/master/recipes/default.rb),我想知道這個食譜是如何工作的當安裝Apache和我想打印一些變量,當我啓動我的食譜: node['platform_family'] node['platform_ver

    0熱度

    1回答

    我在使用廚房測試廚師食譜期間出現問題。 我將Vagrant用作驅動程序,將Virtual Box用作虛擬化系統。他們在Linux平臺上運行。 我已經創建了一個測試配方來重新啓動我的機器。 這是代碼: # # Author:: Alessandro Zucchelli # Recipe:: test_recipe_required_reboot # reboot 'test if kitc

    0熱度

    1回答

    看看自述文件,我看到很多選項可以添加額外的存儲空間,但沒有其他的選項。可能嗎?

    0熱度

    1回答

    環境 chefdk 1.3.40 伯克斯5.6.4 廚房1.16.0 流浪漢1.9.3 在「廚房登錄」後,我們可以看到端口80已打開 sudo iptables-save | grep 80 -A IN_public_allow -p tcp -m tcp --dport 80 -m conntrack --ctstate NEW -j ACCEPT 但是,在運行時的 '廚房驗證' 的測試失

    0熱度

    1回答

    雖然試圖對廚師下面的例子倚: https://learn.chef.io/manage-a-web-app/ubuntu/configure-the-database/ 我跑與這段代碼的問題 # Create a path to the SQL file in the Chef cache. create_tables_script_path = File.join(Chef::Config[:

    0熱度

    2回答

    安裝了以下軟件版本: Berkshelf - 2.0.18 紅寶石 - 2.2.2 流浪 - 1.9.3 測試廚房 - 1.15.0 廚房無業遊民 - 1.1.0 廚師服務器API版本 - 11.0.2 我試圖在本地系統上運行測試廚房。 這樣做,我有一個指向chef_api一個berksfile:配置與單一配方貼切 chef_api :config cookbook 'apt' 這個配置是

    0熱度

    1回答

    工作,我有一個簡單的食譜,添加用戶到一個CentOS 7.3的機器: users_manage 'sales' do group_id 5000 action [:create] data_bag 'sales_users' end users_manage 'mechanics' do group_id 6000 action [:crea

    -1熱度

    1回答

    我們如何能夠在特定目錄改變這一慶典運營商的任何資源 只是我而動特定的目錄 bash " deploy" do cwd "#{stage}" code <<-EOH cp -pr "#{stage}/#{name}-#{package_version}.tar" "#{stage_operator}/" tar xvf "#{stage}/#{name}-#{

    0熱度

    2回答

    這裏是我的kitchen.yml --- driver: name: vagrant network: - ["private_network", {ip: "192.168.35.35"}] provisioner: name: chef_zero # You may wish to disable always updating cook

    0熱度

    1回答

    我有下面一段代碼來下載安裝程序 remote_file '/tmp/apache-tomcat-8.0.23.tar.gz' do source 'http://mirror.sdunix.com/apache/tomcat/tomcat-8/v8.0.23/bin/apache-tomcat-8.0.23.tar.gz' end 其使用執行時kitchen converge給