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
e839bfb3
Commit
e839bfb3
authored
4 years ago
by
František Dvořák
Browse files
Options
Downloads
Patches
Plain Diff
Fix cloud-init scripts merge
parent
2d8e5dcf
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/ctx.yaml
+6
-0
6 additions, 0 deletions
common/ctx.yaml
deploy.tf
+5
-1
5 additions, 1 deletion
deploy.tf
with
11 additions
and
1 deletion
common/ctx.yaml
+
6
−
0
View file @
e839bfb3
#cloud-config
merge_type
:
-
name
:
list
settings
:
[
append
]
-
name
:
dict
settings
:
[
recurse_array
]
manage_etc_hosts
:
false
timezone
:
Europe/Prague
...
...
This diff is collapsed.
Click to expand it.
deploy.tf
+
5
−
1
View file @
e839bfb3
...
...
@@ -43,6 +43,11 @@ data "template_cloudinit_config" "ctx" {
content
=
<<
EOT
#cloud-config
merge_type
:
-
name
:
list
settings
:
[
append
]
-
name
:
dict
settings
:
[
recurse_array
]
%
{
if
count
.
index
!=
0
~
}
fs_setup
:
...
...
@@ -72,7 +77,6 @@ users:
write_files
:
-
path
:
/
home
/
deployadm
/
.
ssh
/
id_rsa
owner
:
deployadm
:
deployadm
permissions
:
'0600'
content
:
|
$
{
indent
(
6
,
openstack_compute_keypair_v2
.
localkey
.
private_key
)
~
}
...
...
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