Chef Cookbooks - Upload




[root@chef-automate-server-qgr4glxhllrewxvs cookbooks]# cd ..
[root@chef-automate-server-qgr4glxhllrewxvs chef-repo]# ll
total 120
drwxr-xr-x 6 root root  4096 Sep 20 23:25 apache2
-rw-r--r-- 1 root root    79 Sep 20 17:37 Berksfile
-rw------- 1 root root   299 Sep 20 17:37 Berksfile.lock
-rw-r--r-- 1 root root   156 Sep 19 20:04 chefignore
drwxr-xr-x 3 root root  4096 Sep 20 23:30 cookbooks
drwxr-xr-x 2 root root  4096 Sep 19 20:04 environments
drwxrwxr-x 4 1000 1000  4096 Apr 22  2016 lamp
-rw------- 1 root root 71680 Sep 20 21:39 lamp-1.0.4.tar
-rw-r--r-- 1 root root  3929 Sep 19 20:04 README.md
drwxr-xr-x 2 root root  4096 Sep 19 20:04 roles
-rw-r--r-- 1 root root  5625 Sep 19 20:04 userdata.ps1
-rw-r--r-- 1 root root  3106 Sep 19 20:04 userdata.sh
[root@chef-automate-server-qgr4glxhllrewxvs chef-repo]# mv lamp /root/chef-repo/cookbooks/
[root@chef-automate-server-qgr4glxhllrewxvs chef-repo]# knife cookbook upload lamp
Uploading lamp           [1.0.4]
Uploaded 1 cookbook.
[root@chef-automate-server-qgr4glxhllrewxvs chef-repo]#

2 comments:

Unknown said...

GREAT topic! It is really interesting to read from the beginning & I would like to share your blog to my circles, keep sharing… DevOps Online Training
DevOps Training
DevOps Online Training

oliviadavis said...

cPanel License is a popular web hosting control panel that simplifies the process of website and server management.

Installing Ingress Controller - Kubernetes

Installing the Ingress Controller Prerequisites Make sure you have access to the Ingress controller image: For NGINX Ingress controll...