Skip to content

Instantly share code, notes, and snippets.

@jayhendren
Created March 21, 2019 23:15
Show Gist options
  • Save jayhendren/17be71344878734a4f8b733f0cce49ab to your computer and use it in GitHub Desktop.
Save jayhendren/17be71344878734a4f8b733f0cce49ab to your computer and use it in GitHub Desktop.
[birdsnest ~/Work/git/chef_metadata](master|✔)[N]% knife bootstrap -i ~/.ssh/localization_rsa -N 'unix-766' -x root --json-attribute-file nodes/unix-766.json --bootstrap-version=14.2.0 localhost
Doing old-style registration with the validation key at /home/jay/.chef/validation.pem...
Delete your validation key in order to use your user credentials instead
Connecting to localhost
Enter passphrase for /home/jay/.ssh/localization_rsa:
localhost -----> Existing Chef installation detected
localhost Starting the first Chef Client run...
localhost Starting Chef Client, version 14.2.0
localhost Creating a new client identity for unix-766 using the validator key.
localhost [2019-03-21T17:01:30-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost [2019-03-21T17:01:30-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost [2019-03-21T17:01:30-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost [2019-03-21T17:01:30-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost Using policy 'UNIX-766' at revision '2937f320a7f0bf998efd13f501b1f2d4f0dcbc2745a9fb580540d5ff8fc2e1c9'
localhost [2019-03-21T17:01:31-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost [2019-03-21T17:01:31-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost resolving cookbooks for run list: ["UNIX-766::[email protected] (7f1ba72)"]
localhost [2019-03-21T17:01:31-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost Synchronizing Cookbooks:
localhost - UNIX-766 (0.1.0)
localhost Installing Cookbook Gems:
localhost Compiling Cookbooks...
localhost [2019-03-21T17:01:31-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost Converging 1 resources
localhost Recipe: UNIX-766::default
localhost * file[/tmp/foo] action create
localhost - create new file /tmp/foo
localhost - update content in file /tmp/foo from none to fcde2b
localhost --- /tmp/foo 2019-03-21 17:01:31.139292803 -0600
localhost +++ /tmp/.chef-foo20190321-6856-tzwc8r 2019-03-21 17:01:31.139292803 -0600
localhost @@ -1 +1,2 @@
localhost +bar
localhost - restore selinux security context
localhost [2019-03-21T17:01:31-06:00] WARN: Using deprecated positional arguments for sign(), please update to keyword arguments (from /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/http/authenticator.rb:114)
localhost
localhost Running handlers:
localhost Running handlers complete
localhost Chef Client finished, 1/1 resources updated in 02 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment