Permalink
Browse files

Initial commit

  • Loading branch information...
podarok committed Sep 3, 2014
0 parents commit 00d602bb8b5ae65faa94a14de3c331dd8df4f41a
Showing with 6,615 additions and 0 deletions.
  1. +192 −0 ansible.cfg
  2. +11 −0 files/jenkins/com.cloudbees.jenkins.GitHubPushTrigger.xml
  3. +75 −0 files/jenkins/config.xml
  4. +19 −0 files/jenkins/credentials.xml
  5. +30 −0 files/jenkins/hudson.maven.MavenModuleSet.xml
  6. +5 −0 files/jenkins/hudson.plugins.analysis.core.GlobalSettings.xml
  7. +74 −0 files/jenkins/hudson.plugins.ansicolor.AnsiColorBuildWrapper.xml
  8. +7 −0 files/jenkins/hudson.plugins.git.GitSCM.xml
  9. +10 −0 files/jenkins/hudson.scm.CVSSCM.xml
  10. +8 −0 files/jenkins/hudson.scm.SubversionSCM.xml
  11. +4 −0 files/jenkins/hudson.tasks.Ant.xml
  12. +5 −0 files/jenkins/hudson.tasks.Mailer.xml
  13. +4 −0 files/jenkins/hudson.tasks.Maven.xml
  14. +2 −0 files/jenkins/hudson.tasks.Shell.xml
  15. +5 −0 files/jenkins/hudson.triggers.SCMTrigger.xml
  16. +4 −0 files/jenkins/jenkins.model.ArtifactManagerConfiguration.xml
  17. +4 −0 files/jenkins/jenkins.model.DownloadSettings.xml
  18. +5 −0 files/jenkins/jenkins.model.JenkinsLocationConfiguration.xml
  19. +5 −0 files/jenkins/jenkins.mvn.GlobalMavenConfig.xml
  20. +62 −0 files/jenkins/jobs/DEMO/config.xml
  21. +84 −0 files/jenkins/jobs/PR_BUILDER/config.xml
  22. +30 −0 files/jenkins/jobs/SERVER_CLEANER/config.xml
  23. +6 −0 files/jenkins/org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.xml
  24. +24 −0 files/jenkins/org.jenkinsci.plugins.ghprb.GhprbTrigger.xml
  25. +4 −0 files/jenkins/org.jenkinsci.plugins.gitclient.JGitTool.xml
  26. +4 −0 files/jenkins/org.jvnet.hudson.plugins.SSHBuildWrapper.xml
  27. +42 −0 files/jenkins/users/root/config.xml
  28. +35 −0 files/sites-enabled/000-default.conf
  29. +1 −0 github/SPS
  30. +192 −0 github/ansible.cfg
  31. +7 −0 github/files/drupal7/profiles/pp/pp.info
  32. +62 −0 github/files/drupal7/profiles/pp/pp.install
  33. +15 −0 github/files/drupal7/profiles/pp/pp.profile
  34. +192 −0 github/files/drupal7/scripts/ansible.cfg
  35. +4 −0 github/files/drupal7/scripts/hosts
  36. +8 −0 github/files/drupal7/scripts/reinstall.sh
  37. +31 −0 github/files/drupal7/scripts/reinstall.yml
  38. +8 −0 github/files/drupal7/scripts/runsniffers.sh
  39. +89 −0 github/files/drupal7/scripts/sniffers.yml
  40. +3 −0 github/files/vagrant/puppet/.gitignore
  41. +339 −0 github/files/vagrant/puppet/LICENSE
  42. +39 −0 github/files/vagrant/puppet/README.md
  43. +117 −0 github/files/vagrant/puppet/Vagrantfile
  44. +801 −0 github/files/vagrant/puppet/adminer.php
  45. +1 −0 github/files/vagrant/puppet/phpinfo.php
  46. +10 −0 github/files/vagrant/puppet/puphpet/.gitattributes
  47. +182 −0 github/files/vagrant/puppet/puphpet/config.yaml
  48. +52 −0 github/files/vagrant/puppet/puphpet/files/dot/.bash_aliases
  49. +414 −0 github/files/vagrant/puppet/puphpet/files/dot/.vimrc
  50. 0 github/files/vagrant/puppet/puphpet/files/dot/ssh/empty
  51. +27 −0 github/files/vagrant/puppet/puphpet/files/dot/ssh/id_rsa
  52. +1 −0 github/files/vagrant/puppet/puphpet/files/dot/ssh/id_rsa.pub
  53. +27 −0 github/files/vagrant/puppet/puphpet/files/dot/ssh/insecure_private_key
  54. 0 github/files/vagrant/puppet/puphpet/files/exec-always/empty
  55. 0 github/files/vagrant/puppet/puphpet/files/exec-once/empty
  56. +32 −0 github/files/vagrant/puppet/puphpet/puppet/Puppetfile
  57. +7 −0 github/files/vagrant/puppet/puphpet/puppet/hiera.yaml
  58. +1,541 −0 github/files/vagrant/puppet/puphpet/puppet/manifest.pp
  59. +18 −0 github/files/vagrant/puppet/puphpet/shell/execute-files.sh
  60. +60 −0 github/files/vagrant/puppet/puphpet/shell/initial-setup.sh
  61. +49 −0 github/files/vagrant/puppet/puphpet/shell/os-detect.sh
  62. +85 −0 github/files/vagrant/puppet/puphpet/shell/r10k.sh
  63. +7 −0 github/files/vagrant/puppet/puphpet/shell/self-promotion.txt
  64. +27 −0 github/files/vagrant/puppet/puphpet/shell/ssh-keygen.sh
  65. +41 −0 github/files/vagrant/puppet/puphpet/shell/update-puppet.sh
  66. +62 −0 github/github.yml
  67. +4 −0 github/hosts
  68. +41 −0 github/library/ansible-xml/.travis.yml
  69. +339 −0 github/library/ansible-xml/LICENSE
  70. +128 −0 github/library/ansible-xml/README.md
  71. +2 −0 github/library/ansible-xml/ansible.cfg
  72. +319 −0 github/library/ansible-xml/library/xml
  73. +9 −0 github/library/ansible-xml/meta/main.yml
  74. +5 −0 github/library/ansible-xml/tests/README.md
  75. +14 −0 github/library/ansible-xml/tests/fixtures/ansible-xml-beers.xml
  76. +28 −0 github/library/ansible-xml/tests/fixtures/ansible-xml-tomcat-server.xml
  77. +6 −0 github/library/ansible-xml/tests/group_vars/all
  78. +1 −0 github/library/ansible-xml/tests/inventory
  79. +14 −0 github/library/ansible-xml/tests/test-require-valid-file.yml
  80. +32 −0 github/library/ansible-xml/tests/test-tomcat-server-xml.yml
  81. +49 −0 github/library/ansible-xml/tests/test.yml
  82. +6 −0 github/ppbot_access_tokens_github.txt~
  83. +2 −0 github/run.sh
  84. +16 −0 host_vars/104.131.20.201
  85. +16 −0 host_vars/178.62.153.157
  86. +17 −0 hosts
  87. +241 −0 jenkinsbox.yml
  88. +1 −0 library/ansible-xml
  89. +1 −0 library/ansible-xml.url.txt
  90. +1 −0 roles/ansible-composer
  91. +1 −0 roles/ansible-composer.url.txt
  92. +1 −0 roles/ansible-drush
  93. +1 −0 roles/ansible-drush.url.txt
  94. +1 −0 roles/ansible-jenkins
  95. +2 −0 roles/ansible-jenkins.url.txt
  96. +1 −0 roles/ansible-php-pear
  97. +1 −0 roles/ansible-php-pear.url.txt
  98. +1 −0 roles/ansible-role-ansible
  99. +1 −0 roles/ansible-role-ansible.url.txt
  100. +2 −0 run.sh
@@ -0,0 +1,192 @@
# config file for ansible -- http://ansible.com/
# ==============================================

# nearly all parameters can be overridden in ansible-playbook
# or with command line flags. ansible will read ANSIBLE_CONFIG,
# ansible.cfg in the current working directory, .ansible.cfg in
# the home directory or /etc/ansible/ansible.cfg, whichever it
# finds first

[defaults]

# some basic default values...

hostfile = ./hosts
library = /usr/share/ansible
remote_tmp = $HOME/.ansible/tmp
pattern = *
forks = 5
poll_interval = 15
sudo_user = root
#ask_sudo_pass = True
#ask_pass = True
transport = smart
remote_port = 22
module_lang = C

# plays will gather facts by default, which contain information about
# the remote system.
#
# smart - gather by default, but don't regather if already gathered
# implicit - gather by default, turn off with gather_facts: False
# explicit - do not gather by default, must say gather_facts: True
gathering = implicit

# additional paths to search for roles in, colon separated
#roles_path = /etc/ansible/roles

# uncomment this to disable SSH key host checking
#host_key_checking = False

# change this for alternative sudo implementations
sudo_exe = sudo

# what flags to pass to sudo
#sudo_flags = -H

# SSH timeout
timeout = 10

# default user to use for playbooks if user is not specified
# (/usr/bin/ansible will use current user as default)
#remote_user = root

# logging is off by default unless this path is defined
# if so defined, consider logrotate
#log_path = /var/log/ansible.log

# default module name for /usr/bin/ansible
#module_name = command

# use this shell for commands executed under sudo
# you may need to change this to bin/bash in rare instances
# if sudo is constrained
#executable = /bin/sh

# if inventory variables overlap, does the higher precedence one win
# or are hash values merged together? The default is 'replace' but
# this can also be set to 'merge'.
#hash_behaviour = replace

# list any Jinja2 extensions to enable here:
#jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n

# if set, always use this private key file for authentication, same as
# if passing --private-key to ansible or ansible-playbook
#private_key_file = /path/to/file

# format of string {{ ansible_managed }} available within Jinja2
# templates indicates to users editing templates files will be replaced.
# replacing {file}, {host} and {uid} and strftime codes with proper values.
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}

# by default, ansible-playbook will display "Skipping [host]" if it determines a task
# should not be run on a host. Set this to "False" if you don't want to see these "Skipping"
# messages. NOTE: the task header will still be shown regardless of whether or not the
# task is skipped.
#display_skipped_hosts = True

# by default (as of 1.3), Ansible will raise errors when attempting to dereference
# Jinja2 variables that are not set in templates or action lines. Uncomment this line
# to revert the behavior to pre-1.3.
#error_on_undefined_vars = False

# by default (as of 1.6), Ansible may display warnings based on the configuration of the
# system running ansible itself. This may include warnings about 3rd party packages or
# other conditions that should be resolved if possible.
# to disable these warnings, set the following value to False:
#system_warnings = True

# by default (as of 1.4), Ansible may display deprecation warnings for language
# features that should no longer be used and will be removed in future versions.
# to disable these warnings, set the following value to False:
#deprecation_warnings = True

# set plugin path directories here, separate with colons
action_plugins = /usr/share/ansible_plugins/action_plugins
callback_plugins = /usr/share/ansible_plugins/callback_plugins
connection_plugins = /usr/share/ansible_plugins/connection_plugins
lookup_plugins = /usr/share/ansible_plugins/lookup_plugins
vars_plugins = /usr/share/ansible_plugins/vars_plugins
filter_plugins = /usr/share/ansible_plugins/filter_plugins

# don't like cows? that's unfortunate.
# set to 1 if you don't want cowsay support or export ANSIBLE_NOCOWS=1
#nocows = 1

# don't like colors either?
# set to 1 if you don't want colors, or export ANSIBLE_NOCOLOR=1
#nocolor = 1

# the CA certificate path used for validating SSL certs. This path
# should exist on the controlling node, not the target nodes
# common locations:
# RHEL/CentOS: /etc/pki/tls/certs/ca-bundle.crt
# Fedora : /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
# Ubuntu : /usr/share/ca-certificates/cacert.org/cacert.org.crt
#ca_file_path =

# the http user-agent string to use when fetching urls. Some web server
# operators block the default urllib user agent as it is frequently used
# by malicious attacks/scripts, so we set it to something unique to
# avoid issues.
#http_user_agent = ansible-agent

[paramiko_connection]

# uncomment this line to cause the paramiko connection plugin to not record new host
# keys encountered. Increases performance on new host additions. Setting works independently of the
# host key checking setting above.
#record_host_keys=False

# by default, Ansible requests a pseudo-terminal for commands executed under sudo. Uncomment this
# line to disable this behaviour.
#pty=False

[ssh_connection]

# ssh arguments to use
# Leaving off ControlPersist will result in poor performance, so use
# paramiko on older platforms rather than removing it
#ssh_args = -o ControlMaster=auto -o ControlPersist=60s

# The path to use for the ControlPath sockets. This defaults to
# "%(directory)s/ansible-ssh-%%h-%%p-%%r", however on some systems with
# very long hostnames or very long path names (caused by long user names or
# deeply nested home directories) this can exceed the character limit on
# file socket names (108 characters for most platforms). In that case, you
# may wish to shorten the string below.
#
# Example:
# control_path = %(directory)s/%%h-%%r
#control_path = %(directory)s/ansible-ssh-%%h-%%p-%%r

# Enabling pipelining reduces the number of SSH operations required to
# execute a module on the remote server. This can result in a significant
# performance improvement when enabled, however when using "sudo:" you must
# first disable 'requiretty' in /etc/sudoers
#
# By default, this option is disabled to preserve compatibility with
# sudoers configurations that have requiretty (the default on many distros).
#
#pipelining = False

# if True, make ansible use scp if the connection type is ssh
# (default is sftp)
#scp_if_ssh = True

[accelerate]
accelerate_port = 5099
accelerate_timeout = 30
accelerate_connect_timeout = 5.0

# The daemon timeout is measured in minutes. This time is measured
# from the last activity to the accelerate daemon.
accelerate_daemon_timeout = 30

# If set to yes, accelerate_multi_key will allow multiple
# private keys to be uploaded to it, though each user must
# have access to the system via SSH to add a new key. The default
# is "no".
#accelerate_multi_key = yes

@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<com.cloudbees.jenkins.GitHubPushTrigger_-DescriptorImpl plugin="github@1.9.1">
<manageHook>true</manageHook>
<credentials>
<com.cloudbees.jenkins.Credential>
<username>CHANGE_ME_to_botname</username>
<apiUrl>https://api.github.com</apiUrl>
<oauthAccessToken>CHANGE_ME</oauthAccessToken>
</com.cloudbees.jenkins.Credential>
</credentials>
</com.cloudbees.jenkins.GitHubPushTrigger_-DescriptorImpl>
@@ -0,0 +1,75 @@
<?xml version='1.0' encoding='UTF-8'?>
<hudson>
<disabledAdministrativeMonitors/>
<version>1.577</version>
<numExecutors>2</numExecutors>
<mode>NORMAL</mode>
<useSecurity>true</useSecurity>
<authorizationStrategy class="hudson.security.GlobalMatrixAuthorizationStrategy">
<permission>com.cloudbees.plugins.credentials.CredentialsProvider.Create:root</permission>
<permission>com.cloudbees.plugins.credentials.CredentialsProvider.Delete:root</permission>
<permission>com.cloudbees.plugins.credentials.CredentialsProvider.ManageDomains:root</permission>
<permission>com.cloudbees.plugins.credentials.CredentialsProvider.Update:root</permission>
<permission>com.cloudbees.plugins.credentials.CredentialsProvider.View:root</permission>
<permission>hudson.model.Computer.Build:root</permission>
<permission>hudson.model.Computer.Configure:root</permission>
<permission>hudson.model.Computer.Connect:root</permission>
<permission>hudson.model.Computer.Create:root</permission>
<permission>hudson.model.Computer.Delete:root</permission>
<permission>hudson.model.Computer.Disconnect:root</permission>
<permission>hudson.model.Hudson.Administer:root</permission>
<permission>hudson.model.Hudson.ConfigureUpdateCenter:root</permission>
<permission>hudson.model.Hudson.Read:anonymous</permission>
<permission>hudson.model.Hudson.Read:root</permission>
<permission>hudson.model.Hudson.RunScripts:anonymous</permission>
<permission>hudson.model.Hudson.RunScripts:root</permission>
<permission>hudson.model.Hudson.UploadPlugins:anonymous</permission>
<permission>hudson.model.Hudson.UploadPlugins:root</permission>
<permission>hudson.model.Item.Build:root</permission>
<permission>hudson.model.Item.Cancel:root</permission>
<permission>hudson.model.Item.Configure:root</permission>
<permission>hudson.model.Item.Create:root</permission>
<permission>hudson.model.Item.Delete:root</permission>
<permission>hudson.model.Item.Discover:root</permission>
<permission>hudson.model.Item.Read:anonymous</permission>
<permission>hudson.model.Item.Read:root</permission>
<permission>hudson.model.Item.Workspace:root</permission>
<permission>hudson.model.Run.Delete:root</permission>
<permission>hudson.model.Run.Update:root</permission>
<permission>hudson.model.View.Configure:root</permission>
<permission>hudson.model.View.Create:root</permission>
<permission>hudson.model.View.Delete:root</permission>
<permission>hudson.model.View.Read:anonymous</permission>
<permission>hudson.model.View.Read:root</permission>
<permission>hudson.scm.SCM.Tag:root</permission>
</authorizationStrategy>
<securityRealm class="hudson.security.PAMSecurityRealm" plugin="pam-auth@1.2">
<serviceName>sshd</serviceName>
</securityRealm>
<disableRememberMe>false</disableRememberMe>
<projectNamingStrategy class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
<workspaceDir>${ITEM_ROOTDIR}/workspace</workspaceDir>
<buildsDir>${ITEM_ROOTDIR}/builds</buildsDir>
<markupFormatter class="hudson.markup.EscapedMarkupFormatter"/>
<jdks/>
<viewsTabBar class="hudson.views.DefaultViewsTabBar"/>
<myViewsTabBar class="hudson.views.DefaultMyViewsTabBar"/>
<clouds/>
<slaves/>
<quietPeriod>3</quietPeriod>
<scmCheckoutRetryCount>0</scmCheckoutRetryCount>
<views>
<hudson.model.AllView>
<owner class="hudson" reference="../../.."/>
<name>All</name>
<filterExecutors>false</filterExecutors>
<filterQueue>false</filterQueue>
<properties class="hudson.model.View$PropertyList"/>
</hudson.model.AllView>
</views>
<primaryView>All</primaryView>
<slaveAgentPort>0</slaveAgentPort>
<label></label>
<nodeProperties/>
<globalNodeProperties/>
</hudson>
@@ -0,0 +1,19 @@
<?xml version='1.0' encoding='UTF-8'?>
<com.cloudbees.plugins.credentials.SystemCredentialsProvider plugin="credentials@1.16.1">
<domainCredentialsMap class="hudson.util.CopyOnWriteMap$Hash">
<entry>
<com.cloudbees.plugins.credentials.domains.Domain>
<specifications/>
</com.cloudbees.plugins.credentials.domains.Domain>
<java.util.concurrent.CopyOnWriteArrayList>
<com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl>
<scope>GLOBAL</scope>
<id>c55a496e-7717-4f51-88d5-1a50b478ba55</id>
<description>CHANGE_ME_to_botname github account</description>
<username>CHANGE_ME_to_botname</username>
<password>CHANGE_ME</password>
</com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl>
</java.util.concurrent.CopyOnWriteArrayList>
</entry>
</domainCredentialsMap>
</com.cloudbees.plugins.credentials.SystemCredentialsProvider>
@@ -0,0 +1,30 @@
<?xml version='1.0' encoding='UTF-8'?>
<hudson.maven.MavenModuleSet_-DescriptorImpl plugin="maven-plugin@2.6">
<mavenValidationLevels class="linked-hash-map">
<entry>
<string>DEFAULT</string>
<int>-1</int>
</entry>
<entry>
<string>LEVEL_MINIMAL</string>
<int>0</int>
</entry>
<entry>
<string>LEVEL_MAVEN_2_0</string>
<int>20</int>
</entry>
<entry>
<string>LEVEL_MAVEN_3_0</string>
<int>30</int>
</entry>
<entry>
<string>LEVEL_MAVEN_3_1</string>
<int>31</int>
</entry>
<entry>
<string>LEVEL_STRICT</string>
<int>30</int>
</entry>
</mavenValidationLevels>
<localRepository class="hudson.maven.local_repo.DefaultLocalRepositoryLocator"/>
</hudson.maven.MavenModuleSet_-DescriptorImpl>
@@ -0,0 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<hudson.plugins.analysis.core.GlobalSettings_-DescriptorImpl plugin="analysis-core@1.58">
<isQuiet>false</isQuiet>
<failOnCorrupt>false</failOnCorrupt>
</hudson.plugins.analysis.core.GlobalSettings_-DescriptorImpl>
Oops, something went wrong.

0 comments on commit 00d602b

Please sign in to comment.