GoGPT Best VPN GoSearch

favorit OnWorks

knife-cookbook-site - Online in the Cloud

Run knife-cookbook-site in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command knife-cookbook-site that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAMA


knife-cookbook-site - The man page for the knife cookbook site subcommand.

The Cookbooks Site API is used to provide access to the cookbooks community hosted at
https://supermarket.getchef.com/cookbooks. All of the cookbooks in the community are
accessible through a RESTful API located at
https://supermarket.getchef.com/api/v1/cookbooks by using any of the supported endpoints.
In most cases, using knife and the pisau buku masak situs web sub-command (and any of its
arguments) is the recommended method of interacting with these cookbooks, but in some
cases, using the Cookbooks Site API directly may make sense.

The pisau buku masak situs web subcommand is used to interact with cookbooks that are located at
https://supermarket.getchef.com/cookbooks. A user account is required for any community
actions that write data to this site. The following arguments do not require a user
Akun: Download, Cari, install, dan daftar.

UMUM PILIHAN


Opsi berikut dapat digunakan dengan argumen apa pun yang tersedia untuk: pisau
buku masak situs web sub-perintah:

--chef-zero-port PORT
Port tempat chef-zero akan mendengarkan.

-c KONFIG_FILE, --konfigurasi KONFIG_FILE
File konfigurasi yang akan digunakan.

-D, --nonaktifkan-editing
Gunakan untuk mencegah $EDITOR dibuka dan untuk menerima data apa adanya.

--default
Gunakan agar pisau menggunakan nilai default alih-alih meminta pengguna untuk memberikannya.

-e EDITOR, --editor EDITOR
$EDITOR yang digunakan untuk semua perintah interaktif.

-E LINGKUNGAN, --lingkungan LINGKUNGAN
Nama lingkungan. Ketika opsi ini ditambahkan ke sebuah perintah, perintah
hanya akan berjalan melawan lingkungan bernama.

-F FORMAT, --format FORMAT
Format keluaran: ringkasan (Default), teks, json, yaml, dan pp.

-H, --membantu
Menampilkan bantuan untuk perintah.

-k KUNCI, --kunci KUNCI
Kunci pribadi yang akan digunakan pisau untuk menandatangani permintaan yang dibuat oleh klien API ke
Pelayan koki.

--[tanpa warna
Gunakan untuk melihat keluaran berwarna.

--cetak-setelah
Gunakan untuk menampilkan data setelah operasi destruktif.

-s url, --server-url URL
URL untuk server Chef.

-u PENGGUNA, --pengguna PENGGUNA
Nama pengguna yang digunakan oleh pisau untuk menandatangani permintaan yang dibuat oleh klien API kepada Koki
server. Otentikasi akan gagal jika nama pengguna tidak cocok dengan kunci pribadi.

-V, --bertele-tele
Atur untuk output yang lebih verbose. Menggunakan -VV untuk verbositas maksimum.

-di, --Versi: kapan
Versi koki-klien.

-y, --Ya
Gunakan untuk menanggapi semua konfirmasi konfirmasi dengan "Ya". pisau tidak akan meminta
konfirmasi.

-z, --mode lokal
Gunakan untuk menjalankan klien koki dalam mode lokal. Ini memungkinkan semua perintah yang berfungsi
melawan server Chef untuk juga bekerja melawan repo chef lokal.

DOWNLOAD


The Download argument is used to download a cookbook from the community website. A
cookbook will be downloaded as a tar.gz archive and placed in the current working
directory. If a cookbook (or cookbook version) has been deprecated and the --memaksa Option
is not used, knife will alert the user that the cookbook is deprecated and then will
provide the name of the most recent non-deprecated version of that cookbook.

Sintaksis

Argumen ini memiliki sintaks berikut:

$ knife cookbook site download COOKBOOK_NAME [COOKBOOK_VERSION] (options)

Opsi

Argumen ini memiliki opsi berikut:

BUKU MASAK_VERSI
The version of a cookbook to be downloaded. If a cookbook has only one version,
this option does not need to be specified. If a cookbook has more than one version
and this option is not specified, the most recent version of the cookbook will be
diunduh.

-f MENGAJUKAN, --mengajukan FILE
The file to which a cookbook download is written.

--memaksa
Gunakan untuk menimpa direktori yang ada.

contoh

To download the cookbook mulai, masukkan:

$ knife cookbook site download getting-started

untuk mengembalikan sesuatu seperti:

Downloading getting-started from the cookbooks site at version 0.3.0 to
/Users/sdanna/opscodesupport/getting-started-0.3.0.tar.gz
Cookbook saved: /Users/sdanna/opscodesupport/getting-started-0.3.0.tar.gz

INSTALL


The install argument is used to install a cookbook that has been downloaded from the
community site to a local git repository . This action uses the git version control system
dalam hubungannya dengan https://supermarket.getchef.com/cookbooks site to install
community-contributed cookbooks to the local chef-repo. Using this argument does the
sebagai berikut:

1. A new "pristine copy" branch is created in git for tracking the upstream.

2. All existing versions of a cookbook are removed from the branch.

3. The cookbook is downloaded from https://supermarket.getchef.com/cookbooks dalam
tar.gz format.

4. The downloaded cookbook is untarred and its contents are committed to git and a tag
dibuat.

5. The "pristine copy" branch is merged into the master branch.

This process allows the upstream cookbook in the master branch to be modified while
letting git maintain changes as a separate patch. When an updated upstream version becomes
available, those changes can be merged while maintaining any local modifications.

Sintaksis

Argumen ini memiliki sintaks berikut:

$ knife cookbook site install COOKBOOK_NAME [COOKBOOK_VERSION] (options)

Opsi

Argumen ini memiliki opsi berikut:

-B, --use-current-branch
Use to ensure that the current branch is used.

-B BRANCH, --cabang CABANG
The name of the default branch. This will default to the master branch.

BUKU MASAK_VERSI
The version of the cookbook to be installed. If a version is not specified, the
most recent version of the cookbook will be installed.

-D, --lewati-dependensi
Use to ensure that all cookbooks to which the installed cookbook has a dependency
will not be installed.

-o JALUR: JALUR, --jalur-buku masak JALUR:JALAN
Direktori tempat buku masak dibuat. Ini bisa menjadi jalur yang dipisahkan titik dua.

contoh

To install the cookbook mulai, masukkan:

$ knife cookbook site install getting-started

untuk mengembalikan sesuatu seperti:

Installing getting-started to /Users/sdanna/opscodesupport/.chef/../cookbooks
Checking out the master branch.
Creating pristine copy branch chef-vendor-getting-started
Downloading getting-started from the cookbooks site at version 0.3.0 to
/Users/sdanna/opscodesupport/.chef/../cookbooks/getting-started.tar.gz
Cookbook saved: /Users/sdanna/opscodesupport/.chef/../cookbooks/getting-started.tar.gz
Removing pre-existing version.
Uncompressing getting-started version /Users/sdanna/opscodesupport/.chef/../cookbooks.
removing downloaded tarball
1 files updated, committing changes
Creating tag cookbook-site-imported-getting-started-0.3.0
Checking out the master branch.
Updating 4d44b5b..b4c32f2
Maju cepat
cookbooks/getting-started/README.rdoc | 4 +++
cookbooks/getting-started/attributes/default.rb | 1 +
cookbooks/getting-started/metadata.json | 29 ++++++++++++++++++++
cookbooks/getting-started/metadata.rb | 6 ++++
cookbooks/getting-started/recipes/default.rb | 23 +++++++++++++++
.../templates/default/chef-getting-started.txt.erb | 5 +++
6 file diubah, 68 penyisipan (+), 0 penghapusan (-)
create mode 100644 cookbooks/getting-started/README.rdoc
create mode 100644 cookbooks/getting-started/attributes/default.rb
create mode 100644 cookbooks/getting-started/metadata.json
create mode 100644 cookbooks/getting-started/metadata.rb
create mode 100644 cookbooks/getting-started/recipes/default.rb
create mode 100644 cookbooks/getting-started/templates/default/chef-getting-started.txt.erb
Cookbook getting-started version 0.3.0 successfully installed

DAFTAR


The daftar argument is used to view a list of cookbooks that are currently available at
https://supermarket.getchef.com/cookbooks.

Sintaksis

Argumen ini memiliki sintaks berikut:

$ knife cookbook site list

Opsi

Argumen ini memiliki opsi berikut:

-w, --dengan-uri
Gunakan untuk menampilkan URI yang sesuai.

contoh

To view a list of cookbooks at https://supermarket.getchef.com/cookbooks server, masukkan:

$ knife cookbook site list

mengembalikan:

1password homesick rabbitmq
7-zip hostname rabbitmq-management
AmazonEC2Tag hosts rabbitmq_chef
R hosts-awareness rackspaceknife
accounts htop radiant
ack-grep hudson rails
activemq icinga rails_enterprise
ad id3lib redis-package
ad-likewise iftop redis2
ant iis redmine
[...truncated...]

CARI


The Cari argument is used to search for a cookbook at
https://supermarket.getchef.com/cookbooks. A search query is used to return a list of
cookbooks at https://supermarket.getchef.com/cookbooks and uses the same syntax as the
pisau Cari sub-perintah.

Sintaksis

Argumen ini memiliki sintaks berikut:

$ knife cookbook site search SEARCH_QUERY (options)

Opsi

Perintah ini tidak memiliki opsi khusus.

contoh

To search for all of the cookbooks that can be used with Apache, enter:

$ knife cookbook site search apache*

untuk mengembalikan sesuatu seperti:

apache2:
cookbook: http://cookbooks.opscode.com/api/v1/cookbooks/apache2
cookbook_description: Installs and configures apache2 using Debian symlinks with helper definitions
cookbook_maintainer: opscode
cookbook_name: apache2
instiki:
cookbook: http://cookbooks.opscode.com/api/v1/cookbooks/instiki
cookbook_description: Installs instiki, a Ruby on Rails wiki server under passenger+Apache2.
cookbook_maintainer: jtimberman
cookbook_name: instiki
kickstart:
cookbook: http://cookbooks.opscode.com/api/v1/cookbooks/kickstart
cookbook_description: Creates apache2 vhost and serves a kickstart file.
cookbook_maintainer: opscode
cookbook_name: kickstart
[...truncated...]

SHARE


The 'share' argument is used to add a cookbook to https://supermarket.getchef.com/cookbooks.
This action will require a user account and a certificate for
https://supermarket.getchef.com. By default, knife will use the user name and API key that
is identified in the configuration file used during the upload; otherwise these values
must be specified on the command line or in an alternate configuration file. If a cookbook
already exists on https://supermarket.getchef.com/cookbooks, then only an owner or
maintainer of that cookbook can make updates.

Sintaksis

Argumen ini memiliki sintaks berikut:

$ knife cookbook site share COOKBOOK_NAME CATEGORY (options)

Opsi

Argumen ini memiliki opsi berikut:

KATEGORI
The cookbook category: "Databases", "Web Servers", "Process Management",
"Monitoring & Trending", Pemrograman Languages", "Package Management",
"Applications", "Networking", "Operating Sistem Energi & Virtualization", "Utilities", atau
"Other".

-N, --lari-kering
Gunakan untuk tidak mengambil tindakan dan hanya mencetak hasil. Bawaan: palsu.

-o JALUR: JALUR, --jalur-buku masak JALUR:JALAN
Direktori tempat buku masak dibuat. Ini bisa menjadi jalur yang dipisahkan titik dua.

contoh

To share a cookbook named apache2:

$ knife cookbook site share "apache2" "Web Servers"

TAMPILKAN


The Menunjukkan argument is used to view information about a cookbook on
https://supermarket.getchef.com/cookbooks.

Sintaksis

Argumen ini memiliki sintaks berikut:

$ knife cookbook site show COOKBOOK_NAME [COOKBOOK_VERSION]

Opsi

Argumen ini memiliki opsi berikut:

BUKU MASAK_VERSI
Versi buku masak yang akan ditampilkan. Jika buku masak hanya memiliki satu versi, ini
pilihan tidak perlu ditentukan. Jika buku masak memiliki lebih dari satu versi dan
opsi ini tidak ditentukan, daftar versi buku masak akan dikembalikan.

contoh

To show the details for a cookbook named haproxy:

$ knife cookbook site show haproxy

untuk mengembalikan sesuatu seperti:

average_rating:
category: Networking
created_at: 2009-10-25T23:51:07Z
description: Installs and configures haproxy
external_url:
latest_version: http://cookbooks.opscode.com/api/v1/cookbooks/haproxy/versions/1_0_3
maintainer: opscode
name: haproxy
updated_at: 2011-06-30T21:53:25Z
versi:
http://cookbooks.opscode.com/api/v1/cookbooks/haproxy/versions/1_0_3
http://cookbooks.opscode.com/api/v1/cookbooks/haproxy/versions/1_0_2
http://cookbooks.opscode.com/api/v1/cookbooks/haproxy/versions/1_0_1
http://cookbooks.opscode.com/api/v1/cookbooks/haproxy/versions/1_0_0
http://cookbooks.opscode.com/api/v1/cookbooks/haproxy/versions/0_8_1
http://cookbooks.opscode.com/api/v1/cookbooks/haproxy/versions/0_8_0
http://cookbooks.opscode.com/api/v1/cookbooks/haproxy/versions/0_7_0

Untuk melihat informasi dalam format JSON, gunakan: -F opsi umum sebagai bagian dari perintah seperti
ini:

$ pertunjukan peran pisau devops -F json

Format lain yang tersedia termasuk: teks, yaml, dan pp.

UNSHARE


The berhenti berbagi argument is used to stop the sharing of a cookbook at
https://supermarket.getchef.com/cookbooks. Only the maintainer of a cookbook may perform
aksi ini.

Sintaksis

Argumen ini memiliki sintaks berikut:

$ knife cookbook site unshare COOKBOOK_NAME

Opsi

Perintah ini tidak memiliki opsi khusus.

contoh

To unshare a cookbook named mulai, masukkan:

$ knife cookbook site unshare getting-started

Use knife-cookbook-site online using onworks.net services


Server & Workstation Gratis

Unduh aplikasi Windows & Linux

Perintah Linux

Ad




×
iklan
❤️Berbelanja, pesan, atau beli di sini — tanpa biaya, membantu menjaga layanan tetap gratis.