Skip to content

Commit 185d97c

Browse files
committed
Restrict tf user from jumping out of puppetserver
1 parent 97b4dda commit 185d97c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)