Created
September 8, 2011 23:34
-
-
Save patcon/1205099 to your computer and use it in GitHub Desktop.
Example of a chef role file for settings up large parts of a jenkins server (xml config files not included)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "jenkins_master", | |
"default_attributes": { | |
"authorization": { | |
"sudo": { | |
"users": [ | |
"jenkins" | |
] | |
} | |
}, | |
"jenkins": { | |
"server": { | |
"plugins": [ | |
"analysis-core", | |
"audit-trail", | |
"build-pipeline-plugin", | |
"checkstyle", | |
"dry", | |
"gerrit-trigger", | |
"git", | |
"greenballs", | |
"jdepend", | |
"jobConfigHistory", | |
"nodelabelparameter", | |
"parameterized-trigger", | |
"pmd", | |
"selenium", | |
"violations", | |
"virtualbox", | |
"warnings" | |
] | |
} | |
} | |
}, | |
"json_class": "Chef::Role", | |
"env_run_lists": { | |
}, | |
"run_list": [ | |
"role[base]", | |
"recipe[git]", | |
"recipe[cvs]", | |
"recipe[subversion]", | |
"recipe[maven]", | |
"recipe[ant]", | |
"recipe[jenkins]", | |
"recipe[phpmd]", | |
"recipe[phpcpd]", | |
"recipe[pdepend]", | |
"recipe[phploc]", | |
"recipe[xhprof]", | |
"recipe[drush]", | |
"recipe[drush::make]" | |
], | |
"description": "The base role for setting up the jenkins master with appropriate initial settings.", | |
"chef_type": "role", | |
"override_attributes": { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment