test-kitchen

    1热度

    3回答

    我试图安装PostgreSQL 9.3从操作码的食谱厨师独奏,但我得到了以下错误: Chef::Exceptions::Package: No version specified, and no candidate version available for postgresql93-devel 这里是我的属性/ default.rb代码,但它只是安装9.1,不能找到9.3-devel的软件包

    1热度

    1回答

    工作当Opscode公司test-kitchen工具检验出chef_zero供应方,我看到下面的错误: $ bundle exec kitchen test -----> Starting Kitchen (v1.1.1) -----> Cleaning up any prior instances of <default-ubuntu-1004> -----> Destroying <de

    7热度

    1回答

    我试图用test-kitchen覆盖java食谱中的属性。 当我尝试运行kitchen converge default-centos-64时,出现错误的YAML错误。 --- driver: name: vagrant customize: memory: 1024 cpuexecutioncap: 50 provisioner: name

    1热度

    1回答

    我正在使用Test-Kitchen与serverspec集线器。我试图测试redis服务正在运行到我的厨房实例中。 这是我的serverspec测试。 describe "myapp::redis" do describe service ('redis6379') do it { should be_enabled } it { should be_running

    1热度

    1回答

    我使用Test-Kitchen为我的集成测试和我对厨房命令specificaly有关OPTS几个疑点属性 这是厨房的命令。 Commands: kitchen console # Kitchen Console! kitchen converge [(all|<REGEX>)] [opts] # Converge one or more instances

    1热度

    1回答

    我必须在名为hc-pg的食谱配方中访问角色为pg_client的节点的ip地址。为了测试目的,我使用了运行列表中同时包含role[pg_client]和recipe[hc-pg]的单个节点。 hc-pg有一个配方,它试图在角色pg_client的节点上搜索。以下是配方代码: ruby_block "searchnode" do block do pg_client_nodes

    13热度

    3回答

    我有我的厨师cookbooks存储在厨师/ cookbooks /文件夹。当运行kitchen converge我仍然得到通知 Berksfile, Cheffile, cookbooks/, or metadata.rb not found so Chef will run with effectively no cookbooks. Is this intended? 我试过很多选项,例如

    0热度

    1回答

    如何将files_copy_to_guest转换为Ruby哈希? .kitchen.yml 'my_cookbook': 'files_copy_to_guest': - 'home/kevin/bin/script.sh' : '/vagrant/unix_scripts/script.sh' 'home/kevin/script2.sh'

    0热度

    1回答

    我有几个食谱,我想用厨房测试它们。 我是新来的厨房,我正在阅读他们的文档,这是非常好的。 --- driver: name: ssh provisioner: name: chef_solo platforms: - name: ubuntu-14.04 driver: hostname: 123.456.789.10 us

    0热度

    1回答

    我在CentOS VM上学习Chef + Test Kitchen,看来每次运行kitchen converge时,有些程序包会失败并抛出相同的错误: Chef::Exceptions::Exec ---------------------- returned 1, expected 0 而所有的错误都位于package资源。例如: Compiled Resource: -------