[chef] help with users cookbook


Chronological Thread 
  • From: David Birdsong < >
  • To:
  • Subject: [chef] help with users cookbook
  • Date: Thu, 21 Mar 2013 20:16:48 -0700

I'm still pretty new to chef, but this operation should be straight-forward.

I'm on centos6.3 and trying to use this cookbook:
http://community.opscode.com/cookbooks/users

Let's start with the search not working. My data bag is clearly there:


 chef-repo{master}]$ knife data bag show users
chris
david


 chef-repo{master}]$ knife data bag show users  david
comment:  DAVID
email:    

groups:
  admin
  dev
id:       david
shell:    /bin/bash
ssh_keys: ssh-dss AAAAB3NzaC1kc33/OVhcn8N1<snip>WOk5tocKAw=
/Users/david/.ssh/id_dsa
uid:      500


but search returns 0 results for anything in the users data bag:


 chef-repo{master}]$ knife  search users
0 items found


 chef-repo{master}]$ knife  search users  -q '*david*'
0 items found

Any ideas?



Archive powered by MHonArc 2.6.16.

§