<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          ChefAPI ClientChef 的 Ruby 客戶端

          聯(lián)合創(chuàng)作 · 2023-09-19 06:45

          ChefAPI 是一個依賴最小化的 Chef 服務器的 Ruby 客戶端。

          連接服務器:

          ChefAPI.configure do |config|
            # The endpoint for the Chef Server. This can be an Open Source Chef Server,
            # Hosted Chef Server, or Enterprise Chef Server.
            config.endpoint = 'https://api.opscode.com/organizations/meats'
          
            # The client and key must also be specified (unless you are running Chef Zero
            # in no-authentication mode). The +key+ attribute may be the raw private key,
            # the path to the private key on disk, or an +OpenSSLL::PKey+ object.
            config.client = 'bacon'
            config.key    = '~/.chef/bacon.pem'
          
            # If you are running your own Chef Server with a custom SSL certificate, you
            # will need to specify the path to a pem file with your custom certificates
            # and ChefAPI will wire everything up correctly. (NOTE: it must be a valid
            # PEM file).
            config.ssl_pem_file = '/path/to/my.pem'
          
            # If you would like to be vulnerable to MITM attacks, you can also turn off
            # SSL verification. Despite what Internet blog posts may suggest, you should
            # exhaust other methods before disabling SSL verification. ChefAPI will emit
            # a warning message for every request issued with SSL verification disabled.
            config.ssl_verify = false
          
            # If you are behind a proxy, Chef API can run requests through the proxy as
            # well. Just set the following configuration parameters as needed.
            config.proxy_username = 'user'
            config.proxy_password = 'password'
            config.proxy_address  = 'my.proxy.server' # or 10.0.0.50
            config.proxy_port     = '8080'
          end
          瀏覽 9
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  亚洲AV无码久久久久网站飞鱼 | 欧美一级A片在线观看 | 国产大屄 | 免费的成人网站在线观看 | 国产黄色片网站 |