Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
terraform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
HADOOP
terraform
Commits
a3157c74
"src/extensions/anvil/algorithm.ts" did not exist on "68525c21095b0a84867318b6171535bd758471c1"
Commit
a3157c74
authored
Mar 19, 2021
by
František Dvořák
Browse files
Options
Downloads
Patches
Plain Diff
Specify timeout in puppet to prevent hanging
parent
2a4922d1
No related branches found
No related tags found
No related merge requests found
Pipeline
#608
passed
Mar 20, 2021
Stage: test
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
deploy.tf
+1
-0
1 addition, 0 deletions
deploy.tf
image/scripts/hadoop-single-setup.sh
+1
-0
1 addition, 0 deletions
image/scripts/hadoop-single-setup.sh
with
2 additions
and
0 deletions
deploy.tf
+
1
−
0
View file @
a3157c74
...
@@ -94,6 +94,7 @@ packages:
...
@@ -94,6 +94,7 @@ packages:
puppet
:
puppet
:
conf
:
conf
:
agent
:
agent
:
http_read_timeout
:
30
server
:
$
{
local
.
master_fqdn
}
server
:
$
{
local
.
master_fqdn
}
write_files
:
write_files
:
...
...
This diff is collapsed.
Click to expand it.
image/scripts/hadoop-single-setup.sh
+
1
−
0
View file @
a3157c74
...
@@ -18,6 +18,7 @@ systemctl enable puppet-master
...
@@ -18,6 +18,7 @@ systemctl enable puppet-master
service puppet-master restart
service puppet-master restart
puppet config
set
server
`
hostname
-f
`
puppet config
set
server
`
hostname
-f
`
puppet config
set
--section
agent http_read_timeout 30
puppet agent
--test
2>&1 |
tee
stage1.log
puppet agent
--test
2>&1 |
tee
stage1.log
if
test
$?
=
0
-o
$?
=
2
;
then
if
test
$?
=
0
-o
$?
=
2
;
then
sed
-i
"s/^
\\
(
\$
hdfs_deployed
\\
s*=
\\
s*
\\
).*/
\\
1true/"
/etc/puppet/code/environments/production/manifests/site.pp
sed
-i
"s/^
\\
(
\$
hdfs_deployed
\\
s*=
\\
s*
\\
).*/
\\
1true/"
/etc/puppet/code/environments/production/manifests/site.pp
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment