Jira (PUP-10528) Extend the trusted_external_command setting to support specifying directories

0 views
Skip to first unread message

Enis Inan (Jira)

unread,
May 21, 2020, 3:14:03 PM5/21/20
to puppe...@googlegroups.com
Enis Inan created an issue
 
Puppet / Task PUP-10528
Extend the trusted_external_command setting to support specifying directories
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/05/21 12:13 PM
Priority: Normal Normal
Reporter: Enis Inan

If trusted_external_command points to a directory, then for each file in the directory,

  • If the file's executable, we can assume it's a trusted external command. That means we'll execute it, fetch its data, and store it in trusted['external'][<basename>].
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Enis Inan (Jira)

unread,
May 21, 2020, 5:37:03 PM5/21/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jun 8, 2020, 10:49:03 PM6/8/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jun 8, 2020, 10:49:03 PM6/8/20
to puppe...@googlegroups.com

Enis Inan (Jira)

unread,
Jun 9, 2020, 2:35:03 AM6/9/20
to puppe...@googlegroups.com
Enis Inan updated an issue
Change By: Enis Inan
Release Notes Summary: The {{ ` trusted_external_command }} ` setting can now be set to a directory. If it's set to a directory, then for each executable file in the directory, the external trusted facts will be stored in the {{<basename>}} key of the {{trusted['external']}} hash. For example, if the files foo.rb and bar.sh are in the directory, then {{trusted['external']}} will be the hash {{{ 'foo' => <foo.rb output>, 'bar' => <bar.sh output> }}}.

Enis Inan (Jira)

unread,
Jun 9, 2020, 2:35:04 AM6/9/20
to puppe...@googlegroups.com
Enis Inan updated an issue
Change By: Enis Inan
Release Notes: New Feature
Release Notes Summary: The {{trusted_external_command}} setting can now be set to a directory. If it's set to a directory, then for each executable file in the directory, the external trusted facts will be stored in the {{<basename>}} key of the {{trusted['external']}} hash. For example, if the files foo.rb and bar.sh are in the directory, then {{trusted['external']}} will be the hash {{{ 'foo' => <foo.rb output>, 'bar' => <bar.sh output> }}}.

Enis Inan (Jira)

unread,
Jun 9, 2020, 2:36:02 AM6/9/20
to puppe...@googlegroups.com

Enis Inan (Jira)

unread,
Jun 9, 2020, 2:36:03 AM6/9/20
to puppe...@googlegroups.com
Enis Inan updated an issue
Change By: Enis Inan
Release Notes Summary: The ` trusted_external_command ` setting can now be set to a directory. If it's set to a directory, then for each executable file in the directory, the external trusted facts will be stored in the {{ <basename> }} key of the {{ trusted['external'] }} hash. For example, if the files foo.rb and bar.sh are in the directory, then {{ trusted['external'] }} will be the hash { {{ 'foo' => <foo.rb output>, 'bar' => <bar.sh output> } }} .

Josh Cooper (Jira)

unread,
Jun 16, 2020, 12:37:03 PM6/16/20
to puppe...@googlegroups.com

Claire Cadman (Jira)

unread,
Jul 7, 2020, 9:50:03 AM7/7/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages