You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ma...@apache.org on 2012/09/29 03:30:33 UTC
svn commit: r1391722 [1/9] - in /incubator/ambari/branches/AMBARI-666: ./
ambari-agent/src/main/puppet/manifestloader/
ambari-agent/src/main/puppet/modules/
ambari-agent/src/main/puppet/modules/configgenerator/manifests/
ambari-agent/src/main/puppet/mo...
Author: mahadev
Date: Sat Sep 29 01:30:22 2012
New Revision: 1391722
URL: http://svn.apache.org/viewvc?rev=1391722&view=rev
Log:
AMBARI-776. Puppet scripts for all the modules to install/configure the stack. (mahadev)
Added:
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/dashboard/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/dashboard/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/templates/cluster_configuration.json.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkGmetad.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkGmond.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkRrdcached.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmetad.init
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmetadLib.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmond.init
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmondLib.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/rrdcachedLib.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/setupGanglia.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/startGmetad.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/startGmond.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/startRrdcached.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/stopGmetad.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/stopGmond.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/stopRrdcached.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/teardownGanglia.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/config/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/config.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/config/generate_monitor.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/config/generate_server.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/hdp-gmetad/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/hdp-gmetad/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/hdp-gmond/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/hdp-gmond/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/monitor.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/monitor_and_server.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/server.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/templates/gangliaClusters.conf.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/templates/gangliaEnv.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/templates/gangliaLib.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/files/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/files/hbaseSmoke.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/client.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/hbase/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/hbase/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/master-conn.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/master.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/regionserver.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/service.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/zk-conn.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/templates/hadoop-metrics.properties-GANGLIA-MASTER.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/templates/hadoop-metrics.properties-GANGLIA-RS.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/templates/hadoop-metrics.properties.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/templates/hbase-env.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/templates/log4j.properties.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hbase/templates/regionservers.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/files/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/files/hcatSmoke.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/files/hiveSmoke.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/client.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/hcat/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/hcat/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/hive/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/hive/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/mysql-connector.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/server.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/service.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/templates/hcat-env.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat-old/templates/hive-env.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat/files/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat/files/hcatSmoke.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat/files/pigSmoke.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat/manifests/hcat/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat/manifests/hcat/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hcat/templates/hcat-env.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/files/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/files/hiveSmoke.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/client.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/mysql-connector.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/server.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hive/templates/hive-env.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/lib/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/lib/facter/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/lib/facter/kadm_keytab.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/lib/puppet/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/lib/puppet/parser/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/lib/puppet/parser/functions/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/lib/puppet/parser/functions/kerberos_keytabs_input.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/manifests/adminclient.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/manifests/bigtop/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/manifests/bigtop/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/manifests/client.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/manifests/server.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/templates/kadm5.acl
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/templates/kdc.conf
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/templates/krb5.conf
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/tests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-kerberos/tests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-monitor-webserver/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-monitor-webserver/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-monitor-webserver/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-mysql/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-mysql/files/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-mysql/files/startMysql.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-mysql/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-mysql/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-mysql/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-mysql/manifests/server.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_aggregate.php
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_cpu.pl
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_datanode_storage.php
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_hdfs_blocks.php
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_hdfs_capacity.php
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_hive_metastore_status.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_name_dir_status.php
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_oozie_status.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_puppet_agent_status.php
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_rpcq_latency.php
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_templeton_status.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/files/check_webui.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/lib/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/lib/puppet/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/lib/puppet/parser/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/lib/puppet/parser/functions/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/lib/puppet/parser/functions/hdp_nagios_all_hosts.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/lib/puppet/parser/functions/hdp_nagios_compute_target_hosts.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/lib/puppet/parser/functions/hdp_nagios_members_exist.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/lib/puppet/parser/functions/hdp_nagios_target_hosts.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/nagios/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/nagios/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/server/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/server.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/server/config.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/server/packages.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/target.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/contacts.cfg.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-commands.cfg.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-hostgroups.cfg.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-hosts.cfg.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-servicegroups.cfg.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/nagios.cfg.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/files/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/files/oozieSmoke.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/client.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/download-ext-zip.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/oozie/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/oozie/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/server.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/templates/oozie-env.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-oozie/templates/oozie-log4j.properties.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/files/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/files/pigSmoke.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/manifests/pig/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/manifests/pig/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/templates/log4j.properties.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/templates/pig-env.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-pig/templates/pig.properties.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-sqoop/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-sqoop/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-sqoop/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-sqoop/manifests/mysql-connector.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-sqoop/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-sqoop/manifests/sqoop/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-sqoop/manifests/sqoop/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-sqoop/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-sqoop/templates/sqoop-env.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/files/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/files/templetonSmoke.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/client.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/download-hive-tar.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/download-pig-tar.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/server.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/service.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/templeton/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/templeton/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-templeton/templates/templeton-env.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/files/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/files/zkEnv.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/files/zkServer.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/files/zkService.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/files/zkSmoke.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/client.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/quorum/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/quorum/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/service.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/zookeeper/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/zookeeper/service_check.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/templates/configuration.xsl.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/templates/log4j.properties.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/templates/zoo.cfg.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-zookeeper/templates/zookeeper-env.sh.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_args_as_array.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_array_from_comma_list.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_calc_xmn_from_xms.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_default.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_fail.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_host.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_host_attribute.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_is_empty.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_java_home.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_no_hosts.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_option_value.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_template_var.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_unique_id_and_date.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_user.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/.directory
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/configfile.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/download_keytabs.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/java/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/java/jce/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/java/jce/package.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/java/package.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/lzo/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/lzo/package.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/namenode-conn.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/package.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/snappy/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/snappy/package.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/snmp.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/testing_env_patch.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/templates/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/templates/snmpd.conf.erb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/puppetApply.sh
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/CHANGELOG
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/LICENSE
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/Modulefile
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/README.markdown
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/RELEASE_PROCESS.markdown
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/getvar.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/has_key.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/loadyaml.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/merge.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/validate_bool.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/validate_hash.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/validate_re.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/provider/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/provider/append_line/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/provider/append_line/ruby.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/type/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/type/anchor.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/type/append_line.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/manifests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/manifests/init.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/manifests/stages.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/spec.opts
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/spec_helper.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/functions/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/functions/getvar_spec.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/functions/has_key_spec.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/functions/merge_spec.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/functions/validate_bool_spec.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/functions/validate_hash_spec.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/provider/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/provider/append_line/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/provider/append_line/ruby_spec.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/type/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/type/append_line_spec.rb
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/tests/
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/tests/append_line.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/stdlib/tests/init.pp
Modified:
incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/manifestloader/site.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/configgenerator/manifests/configfile.pp
incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
Modified: incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt?rev=1391722&r1=1391721&r2=1391722&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt (original)
+++ incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt Sat Sep 29 01:30:22 2012
@@ -12,6 +12,9 @@ AMBARI-666 branch (unreleased changes)
NEW FEATURES
+ AMBARI-776. Puppet scripts for all the modules to install/configure the
+ stack. (mahadev)
+
AMBARI-756. Heartbeat handler: Handle heartbeat timeout. (jitendra)
AMBARI-772. Stylize main nav. (yusaku)
Modified: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/manifestloader/site.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/manifestloader/site.pp?rev=1391722&r1=1391721&r2=1391722&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/manifestloader/site.pp (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/manifestloader/site.pp Sat Sep 29 01:30:22 2012
@@ -1,48 +1,293 @@
-#
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-#
-
-class manifestloader () {
- file { '/etc/puppet/agent/modules.tgz':
- ensure => present,
- source => "puppet:///modules/catalog/modules.tgz",
- mode => '0755',
- }
-
- exec { 'untar_modules':
- command => "rm -rf /etc/puppet/agent/modules ; tar zxf /etc/puppet/agent/modules.tgz -C /etc/puppet/agent/ --strip-components 3",
- path => '/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin'
- }
-
- exec { 'puppet_apply':
- command => "sh /etc/puppet/agent/modules/puppetApply.sh",
- timeout => 1800,
- path => '/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin',
- logoutput => "true"
- }
-
- File['/etc/puppet/agent/modules.tgz'] -> Exec['untar_modules'] -> Exec['puppet_apply']
-}
-
-node default {
- stage{1 :}
- class {'manifestloader': stage => 1}
-}
-
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
+
+$hdp_hadoop_mapred_queue_acls_props => {'mapred.queue.default.acl-submit-job' => '*',
+ 'mapred.queue.default.acl-administer-jobs' => '*',}
+
+$hdp_hadoop_policy_props => {'security.client.protocol.acl' => '*',
+ 'security.client.datanode.protocol.acl' => '*',
+ 'security.datanode.protocol.acl' => '*',
+ 'security.inter.datanode.protocol.acl' => '*',
+ 'security.namenode.protocol.acl' => '*',
+ 'security.inter.tracker.protocol.acl' => '*',
+ 'security.job.submission.protocol.acl' => '*',
+ 'security.task.umbilical.protocol.acl' => '*',
+ 'security.admin.operations.protocol.acl' => '',
+ 'security.refresh.usertogroups.mappings.protocol.acl' => '',
+ 'security.refresh.policy.protocol.acl' => '',}
+
+$hdp_hadoop_core_site_props => {'io.file.buffer.size' => '131072',
+ 'io.serializations' => 'org.apache.hadoop.io.serializer.WritableSerialization',
+ 'io.compression.codecs' => '',
+ 'io.compression.codec.lzo.class' => 'com.hadoop.compression.lzo.LzoCodec',
+ 'fs.default.name' => '',
+ 'fs.trash.interval' => '360',
+ 'fs.checkpoint.dir' => '',
+ 'fs.checkpoint.edits.dir' => '',
+ 'fs.checkpoint.period' => '21600',
+ 'fs.checkpoint.size' => '536870912',
+ 'ipc.client.idlethreshold' => '8000',
+ 'ipc.client.connection.maxidletime' => '30000',
+ 'ipc.client.connect.max.retries' => '50',
+ 'webinterface.private.actions' => 'false',
+ 'hadoop.security.authentication' => '',
+ 'hadoop.security.authorization' => '',
+ 'hadoop.security.auth_to_local' => '',}
+
+$hdp_hadoop_mapred_site_props => {'io.sort.mb' => '',
+ 'io.sort.record.percent' => '.2',
+ 'io.sort.spill.percent' => '',
+ 'io.sort.factor' => '100',
+ 'mapred.tasktracker.tasks.sleeptime-before-sigkill' => '250',
+ 'mapred.job.tracker.handler.count' => '50',
+ 'mapred.system.dir' => '',
+ 'mapred.job.tracker' => '',
+ 'mapred.job.tracker.http.address' => '',
+ 'mapred.local.dir' => '',
+ 'mapreduce.cluster.administrators' => ' hadoop',
+ 'mapred.reduce.parallel.copies' => '30',
+ 'mapred.tasktracker.map.tasks.maximum' => '',
+ 'mapred.tasktracker.reduce.tasks.maximum' => '',
+ 'tasktracker.http.threads' => '50',
+ 'mapred.map.tasks.speculative.execution' => 'false',
+ 'mapred.reduce.tasks.speculative.execution' => 'false',
+ 'mapred.reduce.slowstart.completed.maps' => '0.05',
+ 'mapred.inmem.merge.threshold' => '1000',
+ 'mapred.job.shuffle.merge.percent' => '0.66',
+ 'mapred.job.shuffle.input.buffer.percent' => '0.7',
+ 'mapred.map.output.compression.codec' => '',
+ 'mapred.output.compression.type' => 'BLOCK',
+ 'mapred.jobtracker.completeuserjobs.maximum' => '0',
+ 'mapred.jobtracker.taskScheduler' => '',
+ 'mapred.jobtracker.restart.recover' => 'false',
+ 'mapred.job.reduce.input.buffer.percent' => '0.0',
+ 'mapreduce.reduce.input.limit' => '10737418240',
+ 'mapred.compress.map.output' => '',
+ 'mapred.task.timeout' => '600000',
+ 'jetty.connector' => 'org.mortbay.jetty.nio.SelectChannelConnector',
+ 'mapred.task.tracker.task-controller' => '',
+ 'mapred.child.root.logger' => 'INFO,TLA',
+ 'mapred.child.java.opts' => '',
+ 'mapred.cluster.map.memory.mb' => '',
+ 'mapred.cluster.reduce.memory.mb' => '',
+ 'mapred.job.map.memory.mb' => '',
+ 'mapred.job.reduce.memory.mb' => '',
+ 'mapred.cluster.max.map.memory.mb' => '',
+ 'mapred.cluster.max.reduce.memory.mb' => '',
+ 'mapred.hosts' => '',
+ 'mapred.hosts.exclude' => '',
+ 'mapred.max.tracker.blacklists' => '16',
+ 'mapred.healthChecker.script.path' => '',
+ 'mapred.healthChecker.interval' => '135000',
+ 'mapred.healthChecker.script.timeout' => '60000',
+ 'mapred.job.tracker.persist.jobstatus.active' => 'false',
+ 'mapred.job.tracker.persist.jobstatus.hours' => '1',
+ 'mapred.job.tracker.persist.jobstatus.dir' => '',
+ 'mapred.jobtracker.retirejob.check' => '10000',
+ 'mapred.jobtracker.retirejob.interval' => '0',
+ 'mapred.job.tracker.history.completed.location' => '/mapred/history/done',
+ 'mapred.task.maxvmem' => '',
+ 'mapred.jobtracker.maxtasks.per.job' => '',
+ 'mapreduce.fileoutputcommitter.marksuccessfuljobs' => 'false',
+ 'mapred.userlog.retain.hours' => '',
+ 'mapred.job.reuse.jvm.num.tasks' => '1',
+ 'mapreduce.jobtracker.kerberos.principal' => '',
+ 'mapreduce.tasktracker.kerberos.principal' => '',
+ 'hadoop.job.history.user.location' => 'none',
+ 'mapreduce.jobtracker.keytab.file' => '',
+ 'mapreduce.tasktracker.keytab.file' => '',
+ 'mapreduce.jobtracker.staging.root.dir' => '/user',
+ 'mapreduce.tasktracker.group' => 'hadoop',
+ 'mapreduce.jobtracker.split.metainfo.maxsize' => '50000000',
+ 'mapreduce.history.server.embedded' => 'false',
+ 'mapreduce.history.server.http.address' => '',
+ 'mapreduce.jobhistory.kerberos.principal' => '',
+ 'mapreduce.jobhistory.keytab.file' => '',
+ 'mapred.jobtracker.blacklist.fault-timeout-window' => '180',
+ 'mapred.jobtracker.blacklist.fault-bucket-width' => '15',
+ 'mapred.queue.names' => 'default',}
+
+$hdp_hadoop_capacity_scheduler_props => {'mapred.capacity-scheduler.queue.default.capacity' => '100',
+ 'mapred.capacity-scheduler.queue.default.supports-priority' => 'false',
+ 'mapred.capacity-scheduler.queue.default.minimum-user-limit-percent' => '100',
+ 'mapred.capacity-scheduler.queue.default.maximum-initialized-jobs-per-user' => '25',}
+
+$hdp_hadoop_hdfs_site_props => {'dfs.name.dir' => '',
+ 'dfs.support.append' => '',
+ 'dfs.webhdfs.enabled' => '',
+ 'dfs.datanode.failed.volumes.tolerated' => '',
+ 'dfs.block.local-path-access.user' => '',
+ 'dfs.data.dir' => '',
+ 'dfs.hosts.exclude' => '',
+ 'dfs.hosts' => '',
+ 'dfs.replication.max' => '50',
+ 'dfs.replication' => '',
+ 'dfs.heartbeat.interval' => '3',
+ 'dfs.safemode.threshold.pct' => '1.0f',
+ 'dfs.balance.bandwidthPerSec' => '6250000',
+ 'dfs.datanode.address' => '',
+ 'dfs.datanode.http.address' => '',
+ 'dfs.block.size' => '134217728',
+ 'dfs.http.address' => '',
+ 'dfs.datanode.du.reserved' => '',
+ 'dfs.datanode.ipc.address' => '0.0.0.0:8010',
+ 'dfs.blockreport.initialDelay' => '120',
+ 'dfs.datanode.du.pct' => '0.85f',
+ 'dfs.namenode.handler.count' => '40',
+ 'dfs.datanode.max.xcievers' => '1024',
+ 'dfs.umaskmode' => '077',
+ 'dfs.web.ugi' => 'gopher,gopher',
+ 'dfs.permissions' => 'true',
+ 'dfs.permissions.supergroup' => 'hdfs',
+ 'dfs.namenode.handler.count' => '100',
+ 'ipc.server.max.response.size' => '5242880',
+ 'dfs.block.access.token.enable' => 'true',
+ 'dfs.namenode.kerberos.principal' => '',
+ 'dfs.secondary.namenode.kerberos.principal' => '',
+ 'dfs.namenode.kerberos.https.principal' => '',
+ 'dfs.secondary.namenode.kerberos.https.principal' => '',
+ 'dfs.secondary.http.address' => '',
+ 'dfs.secondary.https.port' => '50490',
+ 'dfs.web.authentication.kerberos.principal' => '',
+ 'dfs.web.authentication.kerberos.keytab' => '',
+ 'dfs.datanode.kerberos.principal' => '',
+ 'dfs.namenode.keytab.file' => '',
+ 'dfs.secondary.namenode.keytab.file' => '',
+ 'dfs.datanode.keytab.file' => '',
+ 'dfs.https.port' => '50470',
+ 'dfs.https.address' => '',
+ 'dfs.datanode.data.dir.perm' => '',
+ 'dfs.access.time.precision' => '0',
+ 'dfs.cluster.administrators' => ' hdfs',
+ 'ipc.server.read.threadpool.size' => '5',
+ 'dfs.namenode.kerberos.internal.spnego.principal' => '',
+ 'dfs.secondary.namenode.kerberos.internal.spnego.principal' => '',}
+
+$hdp_hcat_old_hive_site_props => {'hive.metastore.local' => 'false',
+ 'javax.jdo.option.ConnectionURL' => '',
+ 'javax.jdo.option.ConnectionDriverName' => 'com.mysql.jdbc.Driver',
+ 'javax.jdo.option.ConnectionUserName' => '',
+ 'javax.jdo.option.ConnectionPassword' => '',
+ 'hive.metastore.warehouse.dir' => '/apps/hive/warehouse',
+ 'hive.metastore.sasl.enabled' => '',
+ 'hive.metastore.kerberos.keytab.file' => '',
+ 'hive.metastore.kerberos.principal' => '',
+ 'hive.metastore.cache.pinobjtypes' => 'Table,Database,Type,FieldSchema,Order',
+ 'hive.metastore.uris' => '',
+ 'hive.semantic.analyzer.factory.impl' => 'org.apache.hcatalog.cli.HCatSemanticAnalyzerFactory',
+ 'hadoop.clientside.fs.operations',
+ 'hive.metastore.client.socket.timeout' => '60',
+ 'hive.metastore.execute.setugi' => 'true',}
+
+$hdp_hive_hive_site_props => {'hive.metastore.local' => 'false',
+ 'javax.jdo.option.ConnectionURL' => '',
+ 'javax.jdo.option.ConnectionDriverName' => 'com.mysql.jdbc.Driver',
+ 'javax.jdo.option.ConnectionUserName' => '',
+ 'javax.jdo.option.ConnectionPassword' => '',
+ 'hive.metastore.warehouse.dir' => '/apps/hive/warehouse',
+ 'hive.metastore.sasl.enabled' => '',
+ 'hive.metastore.kerberos.keytab.file' => '',
+ 'hive.metastore.kerberos.principal' => '',
+ 'hive.metastore.cache.pinobjtypes' => 'Table,Database,Type,FieldSchema,Order',
+ 'hive.metastore.uris' => '',
+ 'hive.semantic.analyzer.factory.impl' => 'org.apache.hivealog.cli.HCatSemanticAnalyzerFactory',
+ 'hadoop.clientside.fs.operations' => 'true',
+ 'hive.metastore.client.socket.timeout' => '60',
+ 'hive.metastore.execute.setugi' => 'true',
+ 'hive.security.authorization.enabled' => 'true',
+ 'hive.security.authorization.manager' => 'org.apache.hcatalog.security.HdfsAuthorizationProvider',}
+
+$hdp_oozie_oozie_site_props => {'oozie.base.url' => '',
+ 'oozie.system.id' => '',
+ 'oozie.systemmode' => 'NORMAL',
+ 'oozie.service.AuthorizationService.security.enabled' => 'true',
+ 'oozie.service.PurgeService.older.than' => '30',
+ 'oozie.service.PurgeService.purge.interval' => '3600',
+ 'oozie.service.CallableQueueService.queue.size' => '1000',
+ 'oozie.service.CallableQueueService.threads' => '10',
+ 'oozie.service.CallableQueueService.callable.concurrency' => '3',
+ 'oozie.service.coord.normal.default.timeout' => '120',
+ 'oozie.db.schema.name' => 'oozie',
+ 'oozie.service.StoreService.create.db.schema' => 'true',
+ 'oozie.service.StoreService.jdbc.driver' => 'org.apache.derby.jdbc.EmbeddedDriver',
+ 'oozie.service.StoreService.jdbc.url' => '',
+ 'oozie.service.StoreService.jdbc.username' => 'sa',
+ 'oozie.service.StoreService.jdbc.password' => ' ',
+ 'oozie.service.StoreService.pool.max.active.conn' => '10',
+ 'oozie.service.HadoopAccessorService.kerberos.enabled' => '',
+ 'local.realm' => '',
+ 'oozie.service.HadoopAccessorService.keytab.file' => '',
+ 'oozie.service.HadoopAccessorService.kerberos.principal' => '',
+ 'oozie.service.HadoopAccessorService.jobTracker.whitelist' => ' ',
+ 'oozie.authentication.type' => '',
+ 'oozie.authentication.kerberos.principal' => '',
+ 'oozie.authentication.kerberos.keytab' => '',
+ 'oozie.service.HadoopAccessorService.nameNode.whitelist' => ' ',
+ 'oozie.service.WorkflowAppService.system.libpath' => '',
+ 'use.system.libpath.for.mapreduce.and.pig.jobs' => 'false',
+ 'oozie.authentication.kerberos.name.rules' => '',}
+
+$hdp_templeton_templeton_site_props => {'templeton.port' => '50111',
+ 'templeton.hadoop.conf.dir' => '',
+ 'templeton.jar' => '',
+ 'templeton.libjars' => '',
+ 'templeton.hadoop' => '',
+ 'templeton.pig.archive' => '',
+ 'templeton.pig.path' => '',
+ 'templeton.hcat' => '',
+ 'templeton.hive.archive' => '',
+ 'templeton.hive.path' => '',
+ 'templeton.hive.properties' => '',
+ 'templeton.zookeeper.hosts' => '',
+ 'templeton.storage.class' => 'org.apache.hcatalog.templeton.tool.ZooKeeperStorage',
+ 'templeton.override.enabled' => 'false',
+ 'templeton.streaming.jar' => 'hdfs:///apps/templeton/hadoop-streaming.jar',
+ 'templeton.kerberos.principal' => '',
+ 'templeton.kerberos.keytab' => '',
+ 'templeton.kerberos.secret' => 'secret',}
+
+class manifestloader () {
+ file { '/etc/puppet/agent/modules.tgz':
+ ensure => present,
+ source => "puppet:///modules/catalog/modules.tgz",
+ mode => '0755',
+ }
+
+ exec { 'untar_modules':
+ command => "rm -rf /etc/puppet/agent/modules ; tar zxf /etc/puppet/agent/modules.tgz -C /etc/puppet/agent/ --strip-components 3",
+ path => '/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin'
+ }
+
+ exec { 'puppet_apply':
+ command => "sh /etc/puppet/agent/modules/puppetApply.sh",
+ timeout => 1800,
+ path => '/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin',
+ logoutput => "true"
+ }
+
+ File['/etc/puppet/agent/modules.tgz'] -> Exec['untar_modules'] -> Exec['puppet_apply']
+}
+
+node default {
+ stage{1 :}
+ class {'manifestloader': stage => 1}
+}
+
Modified: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/configgenerator/manifests/configfile.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/configgenerator/manifests/configfile.pp?rev=1391722&r1=1391721&r2=1391722&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/configgenerator/manifests/configfile.pp (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/configgenerator/manifests/configfile.pp Sat Sep 29 01:30:22 2012
@@ -34,21 +34,28 @@
# </property>
# </configuration>
#
+# Params:
+# - configname - name of the config file (class title by default)
+# - modulespath - modules path ('/etc/puppet/modules' by default)
+# - module - module name
+# - properties - set of the key-value pairs (puppet hash) which corresponds to property name - property value pairs of config file
+#
+# Note: Set correct $modulespath in the configgenerator (or pass it as parameter)
+#
-define configgenerator::configfile ($configname=$title, $module, $properties) {
- $configcontent => inline_template( "
- <configuration>
- <% properties.each do |key,value| -%>
- <property>
- <name><%=key %></name><value><%=value %></value>
- </property>
- <% end -%>
- </configuration>
- ")
+define configgenerator::configfile ($configname=$title, $modulespath='/etc/puppet/modules', $module, $properties) {
+ $configcontent = inline_template('<configuration>
+ <% properties.each do |key,value| -%>
+ <property>
+ <name><%=key %></name>
+ <value><%=value %></value>
+ </property>
+ <% end -%>
+</configuration>')
- file {'config':
- ensure => present,
- content => $configcontent,
- path => "/etc/puppet/agent/modules/${module}/templates/${configname}",
- }
- )
+file {'config':
+ ensure => present,
+ content => $configcontent,
+ path => "${modulespath}/${module}/templates/${configname}",
+}
+}
Added: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/dashboard/service_check.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/dashboard/service_check.pp?rev=1391722&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/dashboard/service_check.pp (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/dashboard/service_check.pp Sat Sep 29 01:30:22 2012
@@ -0,0 +1,21 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
+class hdp-dashboard::dashboard::service_check(){}
Added: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/init.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/init.pp?rev=1391722&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/init.pp (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/init.pp Sat Sep 29 01:30:22 2012
@@ -0,0 +1,76 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
+class hdp-dashboard(
+ $service_state = $hdp::params::cluster_client_state,
+ $opts = {}
+) inherits hdp-dashboard::params
+{
+ if ($service_state == 'no_op') {
+ } elsif ($service_state == 'uninstalled') {
+ hdp::package { 'dashboard' :
+ ensure => 'uninstalled',
+ java_needed => 'false',
+ size => 64
+ }
+ hdp::directory_recursive_create { $conf_dir :
+ service_state => $service_state,
+ force => true
+ }
+
+ Hdp::Package['dashboard'] -> Hdp::Directory_recursive_create[$conf_dir]
+
+ } elsif ($service_state in ['running','installed_and_configured','stopped']) {
+ hdp::package { 'dashboard' :
+ java_needed => 'false',
+ size => 64
+ }
+ $conf_dir = $hdp-dashboard::params::conf_dir
+
+ hdp::directory_recursive_create { $conf_dir :
+ service_state => $service_state,
+ force => true
+ }
+
+ hdp-dashboard::configfile { 'cluster_configuration.json' : }
+ Hdp-Dashboard::Configfile<||>{dashboard_host => $hdp::params::host_address}
+
+ #top level does not need anchors
+ Hdp::Package['dashboard'] -> Hdp::Directory_recursive_create[$conf_dir] -> Hdp-Dashboard::Configfile<||>
+ } else {
+ hdp_fail("TODO not implemented yet: service_state = ${service_state}")
+ }
+}
+
+###config file helper
+define hdp-dashboard::configfile(
+ $dashboard_host = undef
+)
+{
+
+ hdp::configfile { "${hdp-dashboard::params::conf_dir}/${name}":
+ component => 'dashboard',
+ owner => root,
+ group => root,
+ dashboard_host => $dashboard_host
+ }
+}
+
+
Added: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/params.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/params.pp?rev=1391722&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/params.pp (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/manifests/params.pp Sat Sep 29 01:30:22 2012
@@ -0,0 +1,28 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
+class hdp-dashboard::params()
+{
+
+ $conf_dir = "/usr/share/hdp/dashboard/dataServices/conf/" #cannot change since hard coded in rpm
+
+ $hdp_cluster_name = hdp_default("hadoop/cluster_configuration/hdp_cluster_name")
+ $scheduler_name = hdp_default("hadoop/cluster_configuration/scheduler_name")
+}
Added: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/templates/cluster_configuration.json.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/templates/cluster_configuration.json.erb?rev=1391722&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/templates/cluster_configuration.json.erb (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-dashboard/templates/cluster_configuration.json.erb Sat Sep 29 01:30:22 2012
@@ -0,0 +1,97 @@
+{
+ "config_version": 1,
+ "stack_version": "1.0.2",
+ "overall": {
+ "cluster_name": "<%=scope.function_hdp_template_var("hdp_cluster_name")%>",
+ "dashboard_host": "<%=scope.function_hdp_host("public_dashboard_host")%>",
+ "dashboard_port": 80,
+ "dataservices_host": "<%=scope.function_hdp_host("public_dashboard_host")%>",
+ "dataservices_port": 80,
+ "ganglia" : {
+ "web_host": "<%=scope.function_hdp_host("public_ganglia_server_host")%>",
+ "web_port": 80,
+ "web_root": "/ganglia/?t=yes",
+ "grid_name": "HDP_GRID"
+ },
+ "nagios": {
+ "nagiosserver_host": "<%=scope.function_hdp_host("public_nagios_server_host")%>",
+ "nagiosserver_port": 80,
+ "web_root": "/nagios"
+ },
+ "jmx": {
+ "timeout": 3
+ },
+ "services": {
+ "HDFS" : [
+ {
+ "installed": true,
+ "name": "HDFS",
+ "namenode_host": "<%=scope.function_hdp_host("public_namenode_host")%>",
+ "namenode_port": 50070,
+ "snamenode_host": "<%=scope.function_hdp_host("public_snamenode_host")%>",
+ "snamenode_port": 50090,
+ "total_datanodes": "<%=h=scope.function_hdp_template_var("slave_hosts");h.kind_of?(Array) ? h.size : ''%>",
+ "ganglia_clusters": {
+ "slaves": "HDPSlaves",
+ "namenode": "HDPNameNode"
+ }
+ }
+ ],
+ "MAPREDUCE" : [
+ {
+ "installed": true,
+ "name": "MAPREDUCE",
+ "jobtracker_host": "<%=scope.function_hdp_host("public_jtnode_host")%>",
+ "jobtracker_port": 50030,
+ "total_tasktrackers": "<%=h=scope.function_hdp_template_var("slave_hosts");h.kind_of?(Array) ? h.size : ''%>",
+ "jobhistory_host": "<%=scope.function_hdp_host("public_jtnode_host")%>",
+ "jobhistory_port": 51111,
+ "ganglia_clusters": {
+ "slaves": "HDPSlaves",
+ "jobtracker": "HDPJobTracker"
+ },
+ "scheduler_type": "<%=scope.function_hdp_template_var("scheduler_name")%>"
+ }
+ ],
+ "HBASE" : [
+ {
+ "installed": <%=not scope.function_hdp_no_hosts("public_hbase_master_host")%>,
+ "name": "HBASE",
+ "hbasemaster_host": "<%=scope.function_hdp_host("public_hbase_master_host")%>",
+ "hbasemaster_port": 60010,
+ "total_regionservers": "<%=h=scope.function_hdp_template_var("slave_hosts");h.kind_of?(Array) ? h.size : ''%>",
+ "ganglia_clusters": {
+ "slaves": "HDPSlaves",
+ "hbasemaster": "HDPHBaseMaster"
+ }
+ }
+ ],
+ "ZOOKEEPER" : [
+ {
+ "installed": <%=not scope.function_hdp_no_hosts("public_zookeeper_hosts")%>,
+ "name": "ZOOKEEPER"
+ }
+ ],
+ "HIVE" : [
+ {
+ "installed": <%=not scope.function_hdp_no_hosts("public_hive_server_host")%>,
+ "name": "HIVE"
+ }
+ ],
+ "TEMPLETON" : [
+ {
+ "installed": <%=not scope.function_hdp_no_hosts("public_templeton_server_host")%>,
+ "name": "TEMPLETON"
+ }
+ ],
+ "OOZIE" : [
+ {
+ "installed": <%=not scope.function_hdp_no_hosts("public_oozie_server")%>,
+ "name": "OOZIE",
+ "oozie_host": "<%=scope.function_hdp_host("public_oozie_server")%>",
+ "oozie_port": 11000
+ }
+ ]
+ }
+ }
+}
Added: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkGmetad.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkGmetad.sh?rev=1391722&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkGmetad.sh (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkGmetad.sh Sat Sep 29 01:30:22 2012
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+#/*
+# * Licensed to the Apache Software Foundation (ASF) under one
+# * or more contributor license agreements. See the NOTICE file
+# * distributed with this work for additional information
+# * regarding copyright ownership. The ASF licenses this file
+# * to you under the Apache License, Version 2.0 (the
+# * "License"); you may not use this file except in compliance
+# * with the License. You may obtain a copy of the License at
+# *
+# * http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+
+cd `dirname ${0}`;
+
+# Get all our common constants etc. set up.
+source ./gmetadLib.sh;
+
+# Before checking gmetad, check rrdcached.
+./checkRrdcached.sh;
+
+gmetadRunningPid=`getGmetadRunningPid`;
+
+if [ -n "${gmetadRunningPid}" ]
+then
+ echo "${GMETAD_BIN} running with PID ${gmetadRunningPid}";
+else
+ echo "Failed to find running ${GMETAD_BIN}";
+ exit 1;
+fi
Added: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkGmond.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkGmond.sh?rev=1391722&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkGmond.sh (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkGmond.sh Sat Sep 29 01:30:22 2012
@@ -0,0 +1,62 @@
+#!/bin/sh
+
+#/*
+# * Licensed to the Apache Software Foundation (ASF) under one
+# * or more contributor license agreements. See the NOTICE file
+# * distributed with this work for additional information
+# * regarding copyright ownership. The ASF licenses this file
+# * to you under the Apache License, Version 2.0 (the
+# * "License"); you may not use this file except in compliance
+# * with the License. You may obtain a copy of the License at
+# *
+# * http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+
+cd `dirname ${0}`;
+
+# Get all our common constants etc. set up.
+# Pulls in gangliaLib.sh as well, so we can skip pulling it in again.
+source ./gmondLib.sh;
+
+function checkGmondForCluster()
+{
+ gmondClusterName=${1};
+
+ gmondCoreConfFileName=`getGmondCoreConfFileName ${gmondClusterName}`;
+
+ # Skip over (purported) Clusters that don't have their core conf file present.
+ if [ -e "${gmondCoreConfFileName}" ]
+ then
+ gmondRunningPid=`getGmondRunningPid ${gmondClusterName}`;
+
+ if [ -n "${gmondRunningPid}" ]
+ then
+ echo "${GMOND_BIN} for cluster ${gmondClusterName} running with PID ${gmondRunningPid}";
+ else
+ echo "Failed to find running ${GMOND_BIN} for cluster ${gmondClusterName}";
+ exit 1;
+ fi
+ fi
+}
+
+# main()
+gmondClusterName=${1};
+
+if [ "x" == "x${gmondClusterName}" ]
+then
+ # No ${gmondClusterName} passed in as command-line arg, so check
+ # all the gmonds we know about.
+ for gmondClusterName in `getConfiguredGangliaClusterNames`
+ do
+ checkGmondForCluster ${gmondClusterName};
+ done
+else
+ # Just check the one ${gmondClusterName} that was asked for.
+ checkGmondForCluster ${gmondClusterName};
+fi
Added: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkRrdcached.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkRrdcached.sh?rev=1391722&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkRrdcached.sh (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/checkRrdcached.sh Sat Sep 29 01:30:22 2012
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+#/*
+# * Licensed to the Apache Software Foundation (ASF) under one
+# * or more contributor license agreements. See the NOTICE file
+# * distributed with this work for additional information
+# * regarding copyright ownership. The ASF licenses this file
+# * to you under the Apache License, Version 2.0 (the
+# * "License"); you may not use this file except in compliance
+# * with the License. You may obtain a copy of the License at
+# *
+# * http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+
+cd `dirname ${0}`;
+
+# Get all our common constants etc. set up.
+source ./rrdcachedLib.sh;
+
+rrdcachedRunningPid=`getRrdcachedRunningPid`;
+
+if [ -n "${rrdcachedRunningPid}" ]
+then
+ echo "${RRDCACHED_BIN} running with PID ${rrdcachedRunningPid}";
+else
+ echo "Failed to find running ${RRDCACHED_BIN}";
+ exit 1;
+fi
Added: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmetad.init
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmetad.init?rev=1391722&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmetad.init (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmetad.init Sat Sep 29 01:30:22 2012
@@ -0,0 +1,71 @@
+#!/bin/sh
+
+#/*
+# * Licensed to the Apache Software Foundation (ASF) under one
+# * or more contributor license agreements. See the NOTICE file
+# * distributed with this work for additional information
+# * regarding copyright ownership. The ASF licenses this file
+# * to you under the Apache License, Version 2.0 (the
+# * "License"); you may not use this file except in compliance
+# * with the License. You may obtain a copy of the License at
+# *
+# * http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+
+# Remember to keep this in-sync with the definition of
+# GANGLIA_RUNTIME_COMPONENTS_UNPACK_DIR in monrpmInstaller.sh.
+HDP_GANGLIA_RUNTIME_COMPONENTS_DIR=/usr/libexec/hdp/ganglia
+HDP_GANLIA_GMETAD_STARTER=${HDP_GANGLIA_RUNTIME_COMPONENTS_DIR}/startGmetad.sh
+HDP_GANLIA_GMETAD_STOPPER=${HDP_GANGLIA_RUNTIME_COMPONENTS_DIR}/stopGmetad.sh
+HDP_GANLIA_GMETAD_CHECKER=${HDP_GANGLIA_RUNTIME_COMPONENTS_DIR}/checkGmetad.sh
+
+RETVAL=0
+
+case "$1" in
+ start)
+ echo "============================="
+ echo "Starting hdp-gmetad..."
+ echo "============================="
+ [ -f ${HDP_GANLIA_GMETAD_STARTER} ] || exit 1
+ eval "${HDP_GANLIA_GMETAD_STARTER}"
+ RETVAL=$?
+ echo
+ [ $RETVAL -eq 0 ] && touch /var/lock/subsys/hdp-gmetad
+ ;;
+
+ stop)
+ echo "=================================="
+ echo "Shutting down hdp-gmetad..."
+ echo "=================================="
+ [ -f ${HDP_GANLIA_GMETAD_STOPPER} ] || exit 1
+ eval "${HDP_GANLIA_GMETAD_STOPPER}"
+ RETVAL=$?
+ echo
+ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/hdp-gmetad
+ ;;
+
+ restart|reload)
+ $0 stop
+ $0 start
+ RETVAL=$?
+ ;;
+ status)
+ echo "======================================="
+ echo "Checking status of hdp-gmetad..."
+ echo "======================================="
+ [ -f ${HDP_GANLIA_GMETAD_CHECKER} ] || exit 1
+ eval "${HDP_GANLIA_GMETAD_CHECKER}"
+ RETVAL=$?
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart|status}"
+ exit 1
+esac
+
+exit $RETVAL
Added: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmetadLib.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmetadLib.sh?rev=1391722&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmetadLib.sh (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmetadLib.sh Sat Sep 29 01:30:22 2012
@@ -0,0 +1,196 @@
+#!/bin/sh
+
+#/*
+# * Licensed to the Apache Software Foundation (ASF) under one
+# * or more contributor license agreements. See the NOTICE file
+# * distributed with this work for additional information
+# * regarding copyright ownership. The ASF licenses this file
+# * to you under the Apache License, Version 2.0 (the
+# * "License"); you may not use this file except in compliance
+# * with the License. You may obtain a copy of the License at
+# *
+# * http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+
+cd `dirname ${0}`;
+
+# Slurp in all our user-customizable settings.
+source ./gangliaEnv.sh;
+
+# Get access to Ganglia-wide constants etc.
+source ./gangliaLib.sh;
+
+GMETAD_BIN=/usr/sbin/gmetad;
+GMETAD_CONF_FILE=${GANGLIA_CONF_DIR}/gmetad.conf;
+GMETAD_PID_FILE=${GANGLIA_RUNTIME_DIR}/gmetad.pid;
+
+function getGmetadLoggedPid()
+{
+ if [ -e "${GMETAD_PID_FILE}" ]
+ then
+ echo `cat ${GMETAD_PID_FILE}`;
+ fi
+}
+
+function getGmetadRunningPid()
+{
+ gmetadLoggedPid=`getGmetadLoggedPid`;
+
+ if [ -n "${gmetadLoggedPid}" ]
+ then
+ echo `ps -o pid=MYPID -p ${gmetadLoggedPid} | tail -1 | awk '{print $1}' | grep -v MYPID`;
+ fi
+}
+
+function generateGmetadConf()
+{
+ now=`date`;
+
+ cat <<END_OF_GMETAD_CONF_1
+#################### Generated by ${0} on ${now} ####################
+#
+#-------------------------------------------------------------------------------
+# Setting the debug_level to 1 will keep daemon in the forground and
+# show only error messages. Setting this value higher than 1 will make
+# gmetad output debugging information and stay in the foreground.
+# default: 0
+# debug_level 10
+#
+#-------------------------------------------------------------------------------
+# What to monitor. The most important section of this file.
+#
+# The data_source tag specifies either a cluster or a grid to
+# monitor. If we detect the source is a cluster, we will maintain a complete
+# set of RRD databases for it, which can be used to create historical
+# graphs of the metrics. If the source is a grid (it comes from another gmetad),
+# we will only maintain summary RRDs for it.
+#
+# Format:
+# data_source "my cluster" [polling interval] address1:port addreses2:port ...
+#
+# The keyword 'data_source' must immediately be followed by a unique
+# string which identifies the source, then an optional polling interval in
+# seconds. The source will be polled at this interval on average.
+# If the polling interval is omitted, 15sec is asssumed.
+#
+# If you choose to set the polling interval to something other than the default,
+# note that the web frontend determines a host as down if its TN value is less
+# than 4 * TMAX (20sec by default). Therefore, if you set the polling interval
+# to something around or greater than 80sec, this will cause the frontend to
+# incorrectly display hosts as down even though they are not.
+#
+# A list of machines which service the data source follows, in the
+# format ip:port, or name:port. If a port is not specified then 8649
+# (the default gmond port) is assumed.
+# default: There is no default value
+#
+# data_source "my cluster" 10 localhost my.machine.edu:8649 1.2.3.5:8655
+# data_source "my grid" 50 1.3.4.7:8655 grid.org:8651 grid-backup.org:8651
+# data_source "another source" 1.3.4.7:8655 1.3.4.8
+END_OF_GMETAD_CONF_1
+
+ # Get info about all the configured Ganglia clusters.
+ getGangliaClusterInfo | while read gangliaClusterInfoLine
+ do
+ # From each, parse out ${gmondClusterName}, ${gmondMasterIP} and ${gmondPort}...
+ read gmondClusterName gmondMasterIP gmondPort <<<`echo ${gangliaClusterInfoLine}`;
+ # ...and generate a corresponding data_source line for gmetad.conf.
+ echo "data_source \"${gmondClusterName}\" ${gmondMasterIP}:${gmondPort}";
+ done
+
+ cat <<END_OF_GMETAD_CONF_2
+#
+# Round-Robin Archives
+# You can specify custom Round-Robin archives here (defaults are listed below)
+#
+# RRAs "RRA:AVERAGE:0.5:1:244" "RRA:AVERAGE:0.5:24:244" "RRA:AVERAGE:0.5:168:244" "RRA:AVERAGE:0.5:672:244" \
+# "RRA:AVERAGE:0.5:5760:374"
+#
+#-------------------------------------------------------------------------------
+# Scalability mode. If on, we summarize over downstream grids, and respect
+# authority tags. If off, we take on 2.5.0-era behavior: we do not wrap our output
+# in <GRID></GRID> tags, we ignore all <GRID> tags we see, and always assume
+# we are the "authority" on data source feeds. This approach does not scale to
+# large groups of clusters, but is provided for backwards compatibility.
+# default: on
+# scalable off
+#
+#-------------------------------------------------------------------------------
+# The name of this Grid. All the data sources above will be wrapped in a GRID
+# tag with this name.
+# default: unspecified
+gridname "HDP_GRID"
+#
+#-------------------------------------------------------------------------------
+# The authority URL for this grid. Used by other gmetads to locate graphs
+# for our data sources. Generally points to a ganglia/
+# website on this machine.
+# default: "http://hostname/ganglia/",
+# where hostname is the name of this machine, as defined by gethostname().
+# authority "http://mycluster.org/newprefix/"
+#
+#-------------------------------------------------------------------------------
+# List of machines this gmetad will share XML with. Localhost
+# is always trusted.
+# default: There is no default value
+# trusted_hosts 127.0.0.1 169.229.50.165 my.gmetad.org
+#
+#-------------------------------------------------------------------------------
+# If you want any host which connects to the gmetad XML to receive
+# data, then set this value to "on"
+# default: off
+# all_trusted on
+#
+#-------------------------------------------------------------------------------
+# If you don't want gmetad to setuid then set this to off
+# default: on
+# setuid off
+#
+#-------------------------------------------------------------------------------
+# User gmetad will setuid to (defaults to "nobody")
+# default: "nobody"
+setuid_username "${GMETAD_USER}"
+#
+#-------------------------------------------------------------------------------
+# Umask to apply to created rrd files and grid directory structure
+# default: 0 (files are public)
+# umask 022
+#
+#-------------------------------------------------------------------------------
+# The port gmetad will answer requests for XML
+# default: 8651
+# xml_port 8651
+#
+#-------------------------------------------------------------------------------
+# The port gmetad will answer queries for XML. This facility allows
+# simple subtree and summation views of the XML tree.
+# default: 8652
+# interactive_port 8652
+#
+#-------------------------------------------------------------------------------
+# The number of threads answering XML requests
+# default: 4
+# server_threads 10
+#
+#-------------------------------------------------------------------------------
+# Where gmetad stores its round-robin databases
+# default: "/var/lib/ganglia/rrds"
+# rrd_rootdir "/some/other/place"
+#
+#-------------------------------------------------------------------------------
+# In earlier versions of gmetad, hostnames were handled in a case
+# sensitive manner
+# If your hostname directories have been renamed to lower case,
+# set this option to 0 to disable backward compatibility.
+# From version 3.2, backwards compatibility will be disabled by default.
+# default: 1 (for gmetad < 3.2)
+# default: 0 (for gmetad >= 3.2)
+case_sensitive_hostnames 1
+END_OF_GMETAD_CONF_2
+}
Added: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmond.init
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmond.init?rev=1391722&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmond.init (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/gmond.init Sat Sep 29 01:30:22 2012
@@ -0,0 +1,71 @@
+#!/bin/sh
+
+#/*
+# * Licensed to the Apache Software Foundation (ASF) under one
+# * or more contributor license agreements. See the NOTICE file
+# * distributed with this work for additional information
+# * regarding copyright ownership. The ASF licenses this file
+# * to you under the Apache License, Version 2.0 (the
+# * "License"); you may not use this file except in compliance
+# * with the License. You may obtain a copy of the License at
+# *
+# * http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+
+# Remember to keep this in-sync with the definition of
+# GANGLIA_RUNTIME_COMPONENTS_UNPACK_DIR in monrpmInstaller.sh.
+HDP_GANGLIA_RUNTIME_COMPONENTS_DIR=/usr/libexec/hdp/ganglia
+HDP_GANLIA_GMOND_STARTER=${HDP_GANGLIA_RUNTIME_COMPONENTS_DIR}/startGmond.sh
+HDP_GANLIA_GMOND_STOPPER=${HDP_GANGLIA_RUNTIME_COMPONENTS_DIR}/stopGmond.sh
+HDP_GANLIA_GMOND_CHECKER=${HDP_GANGLIA_RUNTIME_COMPONENTS_DIR}/checkGmond.sh
+
+RETVAL=0
+
+case "$1" in
+ start)
+ echo "============================="
+ echo "Starting hdp-gmond..."
+ echo "============================="
+ [ -f ${HDP_GANLIA_GMOND_STARTER} ] || exit 1
+ eval "${HDP_GANLIA_GMOND_STARTER}"
+ RETVAL=$?
+ echo
+ [ $RETVAL -eq 0 ] && touch /var/lock/subsys/hdp-gmond
+ ;;
+
+ stop)
+ echo "=================================="
+ echo "Shutting down hdp-gmond..."
+ echo "=================================="
+ [ -f ${HDP_GANLIA_GMOND_STOPPER} ] || exit 1
+ eval "${HDP_GANLIA_GMOND_STOPPER}"
+ RETVAL=$?
+ echo
+ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/hdp-gmond
+ ;;
+
+ restart|reload)
+ $0 stop
+ $0 start
+ RETVAL=$?
+ ;;
+ status)
+ echo "======================================="
+ echo "Checking status of hdp-gmond..."
+ echo "======================================="
+ [ -f ${HDP_GANLIA_GMOND_CHECKER} ] || exit 1
+ eval "${HDP_GANLIA_GMOND_CHECKER}"
+ RETVAL=$?
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart|status}"
+ exit 1
+esac
+
+exit $RETVAL