Commit 9de93333 authored by Dominik Rosiek's avatar Dominik Rosiek Committed by Dominik Rosiek
Browse files

chore(makefile,vagrant): add knife-publish

Signed-off-by: default avatarDominik Rosiek <>
parent 11aac831
......@@ -25,3 +25,4 @@ nodes
......@@ -5,3 +5,15 @@ test:
bundle exec rubocop
bundle exec foodcritic --version
bundle exec foodcritic . --exclude spec
# ensure that chef configuration is in place
ls .chef
# list cookbooks
knife cookbook list
# upload the sumologic-collector cookbook
knife cookbook upload --cookbook-path /sumologic sumologic-collector
# list cookbooks
knife cookbook list
# publish the cookbook
knife supermarket share -o /sumologic sumologic-collector
......@@ -23,3 +23,9 @@ curl -L | sudo bash
# accepts licenses
chef-solo --chef-license=accept || true
su vagrant -c 'chef-solo --chef-license=accept' || true
# install chef-workstation
curl \
-o chef-workstation_21.2.278-1_amd64.deb \
&& dpkg --install chef-workstation_21.2.278-1_amd64.deb \
&& rm chef-workstation_21.2.278-1_amd64.deb
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment