Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emmapeel
puppet-tails
Commits
8f58ff06
Commit
8f58ff06
authored
Apr 13, 2020
by
intrigeri
Browse files
XXX: disable Jenkins node enabling on jenkins-slave.service startup
This yields a 403 with #16955 on my local Jenkins setup.
parent
19702cb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/jenkins/jenkins-slave.service.erb
View file @
8f58ff06
...
...
@@ -4,9 +4,10 @@ Description=Jenkins slave node
[Service]
Type=simple
ExecStartPre=/usr/local/share/jenkins-slave-download
<%=
@master_url
%>
ExecStartPre=/usr/local/share/jenkins-enable-node \
--orchestrator-url
<%=
@master_url
%>
\
--node-name
<%=
@domain
==
"lizard"
?
@hostname
:
@fqdn
%>
# XXX: yields 403 once #16955
# ExecStartPre=/usr/local/share/jenkins-enable-node \
# --orchestrator-url
<%=
@master_url
%>
\
# --node-name
<%=
@domain
==
"lizard"
?
@hostname
:
@fqdn
%>
ExecStart=/usr/bin/java -jar /run/jenkins/slave.jar -jnlpUrl
<%=
@master_url
%>
/computer/
<%=
@node_name
%>
/slave-agent.jnlp
User=jenkins
LimitNOFILE=8192
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment