I hereby claim:
- I am markan on github.
- I am manderson26 (https://keybase.io/manderson26) on keybase.
- I have a public key ASBHpTt0kCdyKMgMlRZ7YfluIF20zSNyxhCyJc96W7FjYwo
To claim this, I am signing this object:
chef-server: [2019-06-25T20:18:04+00:00] INFO: Processing ruby_block[migration-level file sanity check] action run (private-chef::partybus line 65) | |
chef-server: (skipped due to not_if) | |
chef-server: [2019-06-25T20:18:04+00:00] DEBUG: Skipping ruby_block[migration-level file sanity check] due to not_if command `test -f /var/opt/opscode/upgrades/migration-level` | |
chef-server: [2019-06-25T20:18:04+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmq-plugins enable rabbitmq_management] sending restart action to component_runit_service[rabbitmq] (delayed) | |
chef-server: Recipe: private-chef::rabbitmq | |
chef-server: * component_runit_service[rabbitmq] action restart | |
chef-server: [2019-06-25T20:18:04+00:00] INFO: Processing component_runit_service[rabbitmq] action restart (private-chef::rabbitmq line 95) | |
chef-server: | |
chef-server: | |
chef-server: Recipe: <Dynamically Defined Resource> |
I hereby claim:
To claim this, I am signing this object:
I'm writing this up because it took me way too long to figure this out, even if it's obvious in retrospect.
Habitat uses the handlebars-rust library, (https://github.com/sunng87/handlebars-rust) which is an implementation of the handlebarsjs (http://handlebarsjs.com/) templating language. Those docs are super helpful, but it took me a few passes to piece together what I needed to do.
I've frequently been bit by failures restarting my vpn on my Mac. The connection may appear to start up in Shimo (the menu icon will change) but it looks like vpnc can't connect.
Looking at the log, we see the connection gets stuck
ERROR: can't send packet: Can't assign requested address
This has plagued me for a while, and my only fix has been to restart the machine. I hate restarting my machine. So I finally made time to dig in and find a better solution
c:\home\vagrant\omnibus-chef>bundle exec omnibus build push-jobs-client | |
DL is deprecated, please use Fiddle | |
DL is deprecated, please use Fiddle | |
[CLI] I | Using config from 'omnibus.rb' | |
C:/rubies/2.1.5/lib/ruby/2.1.0/fiddle.rb:46:in `initialize': Exec format error (Fiddle::DLError) | |
from C:/rubies/2.1.5/lib/ruby/2.1.0/fiddle.rb:46:in `new' | |
from C:/rubies/2.1.5/lib/ruby/2.1.0/fiddle.rb:46:in `dlopen' | |
from c:/home/vagrant/omnibus-chef/vendor/bundle/ruby/2.1.0/gems/ffi-yajl-1.4.0/lib/ffi_yajl/ext.rb:29:in `try_fiddle_dlopen' | |
from c:/home/vagrant/omnibus-chef/vendor/bundle/ruby/2.1.0/gems/ffi-yajl-1.4.0/lib/ffi_yajl/ext.rb:66:in `<module:FFI_Yajl>' | |
from c:/home/vagrant/omnibus-chef/vendor/bundle/ruby/2.1.0/gems/ffi-yajl-1.4.0/lib/ffi_yajl/ext.rb:9:in `<top (required)>' |
c:\home\vagrant\omnibus-chef>bundle exec omnibus cache missing | |
DL is deprecated, please use Fiddle | |
DL is deprecated, please use Fiddle | |
[CLI] I | Using config from 'omnibus.rb' | |
[Command::Cache] I | Using config from 'omnibus.rb' | |
Digest::Digest is deprecated; use Digest | |
Digest::Digest is deprecated; use Digest | |
c:/home/vagrant/omnibus-chef/config/projects/angrychef.rb:23:in `instance_eval': Exec format error (Fiddle::DLError) | |
from C:/rubies/2.1.5/lib/ruby/2.1.0/fiddle.rb:46:in `new' | |
from C:/rubies/2.1.5/lib/ruby/2.1.0/fiddle.rb:46:in `dlopen' |
opscode-pushy-server fd058b5568e2bac6abf5ccd9df6b11897a2fad20 branch ma/fix-rebar-config | |
opscode-pushy-client 64fc931ff36c4b0870d1f4ddfbeedba3e978d8bd branch ma/use-ffi-rzmq | |
pushy_common 60342ad697ed8d000fbc110ea56aa9f7c270cad7 branch sg/fix-rebar-config | |
oc-pushy-pedant 1f6c658d010abe2a8efa3c5ff8733dac14ae97a7 branch ma/update-chef-version | |
oc-chef-pedant and chef-pedant are on latest master | |
# start guest | |
bin/rake start # choose option 1 |
#!/usr/bin/ruby | |
def decode_vint(s) | |
acc = 0 | |
i=0 | |
s.each_byte do |v| | |
puts "i #{i} v #{v}" | |
nv = v & 0x7f | |
acc+= nv << (i*7) | |
if (v & 0x80 == 0x80) |