Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
.gitkeep
README.md
apt_repository.rb
chef_server.rb
elasticsearch_client.rb
elasticsearch_datanode.rb
elasticsearch_httpnode.rb
elasticsearch_server.rb
elasticsearch_server_with_auth.rb
flume_agent.rb
flume_master.rb
hadoop.rb
hadoop_datanode.rb
hadoop_elephant_bird.rb
hadoop_hive.rb
hadoop_hue.rb
hadoop_hue_from_release.rb
hadoop_jobtracker.rb
hadoop_lzo.rb
hadoop_namenode.rb
hadoop_s3_keys.rb
hadoop_secondarynn.rb
hadoop_tasktracker.rb
hbase_backup_tables.rb
hbase_client.rb
hbase_master.rb
hbase_regionserver.rb
hbase_stargate.rb
hbase_thrift.rb
iron_cuke.rb
jenkins_master.rb
jruby.rb
maven.rb
maven3.rb
minidash.rb
mongodb_client.rb
mongodb_server.rb
mysql_client.rb
mysql_server.rb
nfs_client.rb
nfs_server.rb
org_base.rb
org_final.rb
org_users.rb
package_set.rb
pig.rb
redis_client.rb
redis_server.rb
set_hostname.rb
ssh.rb
systemwide.rb
systemwide_rhel.rb
the_village.rb
the_village_rhel.rb
tuning.rb
volumes.rb
zabbix_agent.rb
zabbix_server.rb
zookeeper_client.rb
zookeeper_server.rb

README.md

Create roles here, in either the Role Ruby DSL (.rb) or JSON (.json) files. To install roles on the server, use knife.

For example, create roles/base_example.rb:

name "base_example"
description "Example base role applied to all nodes."
# List of recipes and roles to apply. Requires Chef 0.8, earlier versions use 'recipes()'.
#run_list()
# Attributes applied if the node doesn't have it set already.
#default_attributes()
# Attributes applied no matter what the node has set already.
#override_attributes()

Then upload it to the Chef Server:

knife role from file roles/base_example.rb
Something went wrong with that request. Please try again.