Commit 098f7023 authored by intrigeri's avatar intrigeri
Browse files

tails::jenkins::master: set up API token needed by reboot_node macro

parent b14f8212
......@@ -559,6 +559,23 @@ class tails::jenkins::master (
# require +> File_line['jenkins_HTTP_HOST'],
# }
file { '/etc/jenkins':
ensure => directory,
mode => '0750',
owner => 'root',
group => 'jenkins',
require => User['jenkins'],
}
# Used by the reboot_node macro
file { '/etc/jenkins/jenkins_apikey':
ensure => present,
content => $api_token,
mode => '0640',
owner => 'root',
group => 'jenkins',
}
file { '/etc/jenkins_jobs/jenkins_jobs.ini':
owner => root,
group => jenkins,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment