chef

# SHOW CLIENTS
knife node list

# SHOW ALL ROLES
knife role list

# SHOW ROLE DETAILS
knife role show rolename

# SHOW SPECIFIC ATTRS
knife node show hostname -a platform_version

# SEARCH NODE ATTRS
knife search node name:yourname -a kernel.machine
knife search node name:"namenode*" -a platform -a platform_version

# CLIENT DETAILS
knife client show 

# UPLOAD FROM WORKSTATION
knife cookbook upload nginx

# RUN MANIFEST ON CLIENT
chef-client

# RUN MANIFEST ON CLIENT DRY-RUN
chef-client -W

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>