Skip to content

Instantly share code, notes, and snippets.

@jayunit100
Created May 12, 2014 17:08
Show Gist options
  • Save jayunit100/33eaf91a8bf73743f10f to your computer and use it in GitHub Desktop.
Save jayunit100/33eaf91a8bf73743f10f to your computer and use it in GitHub Desktop.
ambari-agent/conf/unix/ambari-agent.ini:puppetmodules=/var/lib/ambari-agent/puppet
ambari-agent/conf/unix/ambari-agent.ini:puppet_home=/usr/lib/ambari-agent/lib/puppet-2.7.9
ambari-agent/pom.xml: <facter.tar>http://downloads.puppetlabs.com/facter/facter-1.6.10.tar.gz</facter.tar>
ambari-agent/pom.xml: <puppet.tar>http://downloads.puppetlabs.com/puppet/puppet-2.7.9.tar.gz</puppet.tar>
ambari-agent/pom.xml: <PYTHONPATH>${project.basedir}/../ambari-common/src/main/python/jinja2:${project.basedir}/../ambari-common/s
ambari-agent/pom.xml: <directory>/var/lib/${project.artifactId}/puppet</directory>
ambari-agent/pom.xml: <location>src/main/puppet</location>
ambari-agent/pom.xml: <src>src/main/puppet</src>
ambari-agent/pom.xml: <prefix>/var/lib/${project.artifactId}/puppet</prefix>
ambari-agent/pom.xml: <file>${puppet.tar}</file>
ambari-agent/pom.xml: <exclude>src/main/puppet/modules/stdlib/**</exclude>
ambari-agent/src/main/package/deb/control/postinst:chmod 755 /usr/lib/ambari-agent/lib/facter-1.6.10/bin/facter /usr/lib/ambari-agent/lib/puppet-
ambari-agent/src/main/package/rpm/postinstall.sh:chmod 755 /usr/lib/ambari-agent/lib/facter-1.6.10/bin/facter /usr/lib/ambari-agent/lib/puppet-2.
ambari-agent/src/main/puppet/manifestloader/site.pp: file { '/etc/puppet/agent/modules.tgz':
ambari-agent/src/main/puppet/manifestloader/site.pp: source => "puppet:///modules/catalog/modules.tgz",
ambari-agent/src/main/puppet/manifestloader/site.pp: command => "rm -rf /etc/puppet/agent/modules ; tar zxf /etc/puppet/agent/modules.tgz -C
ambari-agent/src/main/puppet/manifestloader/site.pp: exec { 'puppet_apply':
ambari-agent/src/main/puppet/manifestloader/site.pp: command => "sh /etc/puppet/agent/modules/puppetApply.sh",
ambari-agent/src/main/puppet/manifestloader/site.pp: File['/etc/puppet/agent/modules.tgz'] -> Exec['untar_modules'] -> Exec['puppet_apply']
ambari-agent/src/main/puppet/modules/configgenerator/manifests/configfile.pp:# - modulespath - modules path ('/etc/puppet/modules' by default)
ambari-agent/src/main/puppet/modules/configgenerator/manifests/configfile.pp:# - properties - set of the key-value pairs (puppet hash) which corr
ambari-agent/src/main/puppet/modules/configgenerator/manifests/configfile.pp:define configgenerator::configfile ($modulespath='/etc/puppet/module
ambari-agent/src/main/puppet/modules/hdp-ganglia/files/startRrdcached.sh: #changed because problem puppet had with nobody user
ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/config.pp: source => "puppet:///modules/hdp-ganglia/${name}",
ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/config.pp: source => "puppet:///modules/hdp-ganglia/${name}.init",
ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/config/generate_daemon.pp:#TODO: these scripts called should be converted to native pu
ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/server.pp: source => "puppet:///modules/hdp-ganglia/rrd.py",
ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/hdfs/service_check.pp: source => "puppet:///modules/hdp-hadoop/$checkWebUIFileName",
ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp: source => "puppet:///modules/hdp-hadoop/task-log4j.properties",
ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode/format.pp: source => "puppet:///modules/hdp-hadoop/checkForFormat.sh",
ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/hbase/service_check.pp: source => "puppet:///modules/hdp-hbase/hbaseSmokeVerify.sh",
ambari-agent/src/main/puppet/modules/hdp-hcat/manifests/hcat/service_check.pp: source => "puppet:///modules/hdp-hcat/hcatSmoke.sh",
ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/service_check.pp: source => "puppet:///modules/hdp-hive/$smoke_test_script",
ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/service_check.pp: source => "puppet:///modules/hdp-hive/$smoke_test_sql_file"
ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/service_check.pp:# source => "puppet:///modules/hdp-hive/hiveSmoke.sh",
ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp: source => "puppet:///modules/hdp-hive/$start_hiveserver2_script",
ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp: source => "puppet:///modules/hdp-hive/$start_metastore_script",
ambari-agent/src/main/puppet/modules/hdp-kerberos/manifests/adminclient.pp: command => "rm -rf ${keytab_filename}; ${kadmin_cmd} -q 'xst -k ${
ambari-agent/src/main/puppet/modules/hdp-mysql/manifests/server.pp: source => "puppet:///modules/hdp-mysql/addMysqlUser.sh",
ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/server/config.pp: source => "puppet:///modules/hdp-nagios/${name}",
ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/oozie/service_check.pp: source => "puppet:///modules/hdp-oozie/${smoke_shell_file_nam
ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp: source => "puppet:///modules/hdp-oozie/wrap_ooziedb.sh",
ambari-agent/src/main/puppet/modules/hdp-pig/manifests/pig/service_check.pp: source => "puppet:///modules/hdp-pig/pigSmoke.sh",
ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/templeton/service_check.pp: source => "puppet:///modules/hdp-templeton/templetonS
ambari-agent/src/main/puppet/modules/hdp-yarn/manifests/smoketest.pp: source => "puppet:///modules/hdp-yarn/$validateStatusFileName",
ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/init.pp: source => "puppet:///modules/hdp-zookeeper/${name}",
ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/quorum/service_check.pp: source => "puppet:///modules/hdp-zookeeper/zkSmoke.sh",
ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/zookeeper/service_check.pp: source => "puppet:///modules/hdp-zookeeper/zkService.
ambari-agent/src/main/puppet/modules/hdp/manifests/download_keytabs.pp: $keytabsrc = "puppet://${masterhost}/modules/keytabs/${hostname}.${key
ambari-agent/src/main/puppet/modules/hdp/manifests/download_keytabs.pp: $keytabsrc = "puppet://${masterhost}/modules/keytabs/${keytabfile}"
ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp: source => "puppet:///modules/hdp/changeToSecureUid.sh",
ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp: #TODO: think not needed and also there seems to be a puppet bug around this and ldap
ambari-agent/src/main/puppet/modules/puppetApply.sh:rm -f /var/log/puppet_apply.log
ambari-agent/src/main/puppet/modules/puppetApply.sh:puppet apply --confdir=/etc/puppet/agent --logdest=/var/log/puppet_apply.log --debug --autofl
ambari-agent/src/main/puppet/modules/puppetApply.sh:cat /var/log/puppet_apply.log
ambari-agent/src/main/puppet/modules/stdlib/CHANGELOG:2011-06-21 Jeff McCune <[email protected]> - 0.1.7
ambari-agent/src/main/puppet/modules/stdlib/CHANGELOG:2011-06-15 Jeff McCune <[email protected]> - 0.1.6
ambari-agent/src/main/puppet/modules/stdlib/CHANGELOG:2011-06-03 Jeff McCune <[email protected]> - 0.1.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment