Getting Started With Chef-solo – The Geeky Way
Old, but still good for a quick start. Why the hard to read screenshots though?

- Just do a `dpkg -i` for the chef-dk url
- `mkdir chef`
- `cd chef`
- `mkdir -p cookbook/hellochef/recipes`
- `vi cookbook/hellochef/recipes/default.rb`

```
Put whatever ruby you want to be executed
```

- `vi ~/chef/node.json`

```
{
"run_list": [ "recipe[hellochef]" ]
}
```

- `vi ~/solo.rb`

```
file_cache_path "/path/to/chef"
cookbook_path "/path/to/chef/cookbook"
json_attribs "/path/to/chef/node.json"
```

- `chef-solo -c solo.rb`
chef  blogs  tutorials 
yesterday
Twitter
, it's time to troll Britain.

Vote for in tonight. Then next year, after Brexit day, the UK…
from twitter_favs
8 days ago
Credentials — Boto 3 Docs 1.7.15 documentation
~/.aws/credentials

[default]
aws_access_key_id=foo
aws_secret_access_key=bar
aws_session_token=baz
documentation  python  aws 
11 days ago
Why do I land up in __deleted_database__._migrations is not available state? · Issue #5191 · rethinkdb/rethinkdb
> r.db('rethinkdb').table('table_config').filter({db: "__deleted_database__", name: "_migrations"}).delete()
rethinkdb  github  bugs 
16 days ago
Possible write loss during cluster reconfiguration · Issue #5289 · rethinkdb/rethinkdb
r.db(<db>).table(<table>).reconfigure({emergencyRepair: "_debug_recommit"})

Sure I've got this bookmarked somewhere else.
rethinkdb  github 
25 days ago
The Guardian: Black Lives Matter novel wins Waterstones children's book of the year
And now for something _completely_ different. In a Virginia Woolf interlude I read what my younger daughter had recently read. This is a great book. It’s impossible to put down and even though you know how it’s going to end from the start you are still wishing it doesn’t all the way through. But it does... afterall it’s not really fiction.

It's actually been out for a year, but hey we live out in the sticks and being about a year behind is about right for us. Linking to a recent-ish article that I noticed because I knew my younger daughter was reading the book.

I think it’s classed as young adult as opposed to children’s literature, but books aren’t so much like telly. Suitable reading age is whenever you can read whatever it is since you are limited somewhat to your own imagination and ability to interpret... just trying to justify the fact that she read it.

This also prompted me to revisit Tupac and perhaps see if he wasn’t as bad a rapper as I remember. Unfortunately I still just don’t see what all the fuss is about; he's no Gift of Gab or Chali 2na.

Anyway... an EXCELLENT book.

Originally posted at https://atomicules.co.uk/2018/04/21/The-Hate-U-Give.html
posse:https://atomicules.co.uk/ 
29 days ago
mongodb - How can I enter Mongo as a superuser or reset users? - Database Administrators Stack Exchange
> mongo -u __system -p "$(tr -d '\011-\015\040' < path-to-keyfile)" --authenticationDatabase local

Amazing tip.
mongodb  stackexchangefavs 
4 weeks ago
sensu_check - Manage Sensu checks — Ansible Documentation
A better reference for Sensu checks then the Sensu docs themselves
sensu  documentation 
9 weeks ago
Why you should invest your time as wisely as your money | Oliver Burkeman | Life and style | The Guardian
> “If you don’t save a bit of your time for you, now, out of every week,” Abel writes, “there is no moment in the future when you’ll magically be done with everything and have loads of free time.”

So true
articles  news  life 
10 weeks ago
[OVZ-6136] nf_conntrack: falling back to vmalloc - bugs.openvz.org
> During container start kernel allocates hash tables for conntracks.
These objects are quite huge, and requires one piece of several neighbour memory pages.
Heavily loaded node can have lot of 1 or 2-pages pieces but can be unable to merge them for creation of requested piece (so called memory fragmentation).
In such cases kernel switches to vmalloc allocateion, where required object combined from separate single pages. It however is danger situation, because vmalloc area is size-limited.
Node still works correctly in this situation, but following vmalloc-related allocation can fail in future.
So it makes sense for you to schedule maintenance for this node and reboot it.
After reboot, memory fragmentation disappear, and node huge objects will be correctly allocated successfully.
ovs  networking 
10 weeks ago
TroubleshootingNTP < Support < NTP
The very first column
contains the "tally code" character. Short overview:

* the source you are synchronized to (syspeer)
# source selected, distance exceeds maximum value
o the PPS(Pulse Per Second) source if your ntpd (ppspeer, only if you have a PPS capable system and refclock)
+ candidate, i.e. it is considered a good source
- outlyer, i.e. quality is not good enough
x falseticker, i.e. this one is considered to distribute bad time
blank: source discarded, failed sanity
ntp 
january 2018
dvtm || dynamic virtual terminal manager
I’m thinking of switching from Tmux. Laziness has kept me on tmux so far.

Also see: https://m.pinboard.in/u:atomicules/b:3c9f2b8e050c
software  console  terminal 
january 2018
ANN RabbitMQ 3.6.x support timeline - Google Groups
We will continue doing 3.6.x releases until May 1st, 2018.
rabbitmq  mailing_list 
january 2018
Issues · rabbitmq/rabbitmq-server
Useful to search with log snippets to see if anyone else has come across issues before.
rabbitmq 
january 2018
NetBSD NPF Loading Kernel Modules when using SecureLevel
Finally learnt why my npf efforts had still failed on my Linode NetBSD even since switching to KVM (and in hindsight perhaps why I could never get it working on Xen): Because I use `securelevel` 1. Doh!

I now have the following in a `/etc/modules.conf`:

```
npf
bpfjit
sljit
npf_alg_icmp
```

Just having `npf` was not enough as I'd get the following without `bpfjit`.

```
npfctl: source /usr/src/sys/net/npf/npf_ctl.c line 231
npfctl: npfctl_config_send: Invalid argument
```

And `bpfjit` requires `sljit` (check `modstat`). And `npf_alg_icmp` is required for the Application Level Gateway stuff.

Bizarrely, though, `npfctl reload` will still moan about `bpfjit` even with it, but it seems to actually work ok.

_I've also updated [this npf post]({% post_url 2016-12-23-npf-so-far %})_.

Originally posted at https://atomicules.co.uk/2018/01/04/NetBSD-NPF-Loading-Kernel-Modules-when-using-SecureLevel.html
posse:https://atomicules.co.uk/ 
january 2018
Free IPv6 Tools | UltraTools
The expand and CIDR to range are handy.

I want a web based version of this though
ipv6  tools 
january 2018
Too Many Ts - South City
Late to the game with these, but luckily still just in time to enjoy their debut album. This is *so* good and *all* good and I have listened to it Too Many Times already ;-)

_I share the love for 1992_

Originally posted at https://atomicules.co.uk/2017/11/19/Too-Many-Ts-South-City.html
posse:https://atomicules.co.uk/ 
november 2017
Open vSwitch Cheat Sheet
> ovs-ofctl dump-ports

Needs to be:

ovs-ofctl dump-ports --protocols=OpenFlow13

because of: https://bugzilla.redhat.com/show_bug.cgi?id=1278136
networking  network  ovs 
november 2017
One, two or three nodes in CloudAMQP - CloudAMQP
> In terms of the CAP theorem: Consistency is more expensive in terms of throughput or latency to maintain than availability. You will with three nodes get consistency but the clients that are connected to the paused node will not have "availability" in case of a net-split. There is a risk of some data becoming unavailable.
rabbitmq  cap  databases 
october 2017
Re: conflicting PLIST during install
> It sounds like your pkgdb got corrupted. Did you have any file system
issues or parallel pkg_add/pkg_deletes?
pkgsrc 
october 2017
Manage Indexes — MongoDB Manual 3.2
db.getCollectionNames().forEach(function(collection) {
indexes = db[collection].getIndexes();
print("Indexes for " + collection + ":");
printjson(indexes);
});
mongodb  documentation  databases 
october 2017
[web-ui] Delete selected tables deletes database · Issue #6098 · rethinkdb/rethinkdb
r.db('rethinkdb').table('table_config').filter({db: "__deleted_database__"}).update({db: "new_db"})
rethinkdb  github 
october 2017
« earlier      
*nix 116 aberdeen advice ansys api apple applescript applications archive archlinux art articles asme autodesk bad_science bearings blogs bugs business c camino car career chrome code colorsync command_line compose css css_tutorials_tricks_tips culture cycling databases dead_link design diy documentation downloads education elasticsearch electrical elixir email encryption engineering engineering_general_info entertainment erlang etcd excel fastener fea features fedora feed_me film firefox flickr fonts format:pdf formula_1 formula_student fortran forums from:feedafever fuel_injection funny g.i.n.e gd&t gems ggplot2 git github gmail google hardware haskell health help! hints&tips history home hosting howto html imovie_stuff intelligent_things_people_say interesting interviews inventor iphone irc irc_/_other_chat italian italy java javascript jekyll jobs kids l6s languages last.fm latex learning life linux mac mac_stuff magazine mailing_list main_page manual manufacturing materials maths mental_health metallurgy money mongodb movies music mutt mysql netbsd news non-linear oh!_canada oil&gas osx package pdf performance photography php pik pkgsrc plugins polaroid politics posse:http://atomicules.co.uk/ postgresql power_train process_bw process_colour productivity proe programming python r rabbitmq recipes record_reviews reference repositories rethinkdb ruby rubyonrails science scm search security shoes sixsigma skating software sql ssh ssl stackexchangefavs stackoverflow statistics stress suspension sweave technology tex the_world_has_gone_mad threads tlobf_recommended to_sort tools top travel tutorial tutorials twitter uk uk_film_processing_labs uncategorized vba vcs via:popular video video_editing vim virtualbox web_apps web_browser web_design welding wiki windows windows_support wishlist work

Copy this bookmark:



description:


tags: