Skip to content

Commit 7f0e230

Browse files
committed
Restrict tf user from jumping out of puppetserver
1 parent 5b1796d commit 7f0e230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/configuration/puppet.yaml.tftpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ write_files:
175175
permissions: "0600"
176176
%{ endif ~}
177177
%{ if contains(tags, "puppet") ~}
178-
- content: %{ if length(setintersection(tags, bastion_tags)) == 0 }restrict,%{ endif }pty ${tf_ssh_public_key}
178+
- content: restrict,pty ${tf_ssh_public_key}
179179
path: /etc/ssh/authorized_keys.tf
180180
permissions: "0644"
181181
%{ else ~}

0 commit comments

Comments
 (0)