Jira (BOLT-1470) Plugin parameters can't use other plugins to get data

2019-08-13 Thread Lucy Wyman (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Lucy Wyman updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Task Runner /  BOLT-1470  
 
 
  Plugin parameters can't use other plugins to get data   
 

  
 
 
 
 

 
Change By: 
 Lucy Wyman  
 

  
 
 
 
 

 
 Builtin plugins can't use other plugins to populate their data values. For example, the parameters key for the task plugin can't use the prompt or pkcs7 plugins to hide secret parameters.  Plugins should be able to be used in the config file. Plugin config should be loaded at start time, and plugin config should be loaded if it's referred to (depended on) by another plugin when it's referred to. It should error if there's a dependency loop. This applies to both config and inventory plugin hooks. Rename inventory_config and inventory_targets hooks to lookup  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To 

Jira (BOLT-1470) Plugin parameters can't use other plugins to get data

2019-08-13 Thread Lucy Wyman (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Lucy Wyman updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Task Runner /  BOLT-1470  
 
 
  Plugin parameters can't use other plugins to get data   
 

  
 
 
 
 

 
Change By: 
 Lucy Wyman  
 

  
 
 
 
 

 
 Builtin plugins can't use other plugins to populate their data values. For example, the parameters key for the task plugin can't use the prompt or pkcs7 plugins to hide secret parameters. Plugins should be able to be used in the config file. Plugin config should be loaded at start time, and plugin config should be loaded if it's referred to (depended on) by another plugin when it's referred to. It should error if there's a dependency loop. This applies to both config and inventory plugin hooks.Rename `inventory_config` and `inventory_targets` hooks to `lookup`. Module tasks (link) depend on this change. Yaml keys cannot be lookedup by a plugin. Groups can be looked up. Plugins can return other plugins, which will be evaluated. Features should be lazy loaded, everything else should be loaded at start time.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 
 

Jira (BOLT-1470) Plugin parameters can't use other plugins to get data

2019-08-13 Thread Lucy Wyman (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Lucy Wyman updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Task Runner /  BOLT-1470  
 
 
  Plugin parameters can't use other plugins to get data   
 

  
 
 
 
 

 
Change By: 
 Lucy Wyman  
 

  
 
 
 
 

 
 Builtin plugins can't use other plugins to populate their data values. For example, the parameters key for the task plugin can't use the prompt or pkcs7 plugins to hide secret parameters. Plugins should be able to be used in the config file. Plugin config should be loaded at start time, and plugin config should be loaded if it's referred to (depended on) by another plugin when it's referred to. It should error if there's a dependency loop. This applies to both config and inventory plugin hooks.     Rename  `  inventory_config `  and  `  inventory_targets `  hooks to  `  lookup `. Module tasks (link) depend on this change.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from 

Jira (BOLT-1470) Plugin parameters can't use other plugins to get data

2019-07-11 Thread Nick Maludy (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nick Maludy commented on  BOLT-1470  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Plugin parameters can't use other plugins to get data   
 

  
 
 
 
 

 
 Here's an example inventory file for using a task plugin to retrieve config data and/or inventory.   The task i'm calling out to for config data accesses HashiCorp Vault and requires a secret API key and/or secret creds   The task for calling out to Foreman for targets uses the API and requires a username/password to authenticate.    
 
 
 
 
 version: 2  
 
 
 config:  
 
 
   ssh:  
 
 
 _plugin: task  
 
 
 task: vault::bolt_ssh_config_lookup  
 
 
 parameters:  
 
 
   token:  
 
 
 _plugin: pkcs7  
 
 
 value: super secret thing  
 
 
   winrm:  
 
 
 _plugin: task  
 
 
 task: vault::bolt_winrm_config_lookup  
 
 
 parameters:  
 

Jira (BOLT-1470) Plugin parameters can't use other plugins to get data

2019-07-11 Thread Lucy Wyman (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Lucy Wyman created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Task Runner /  BOLT-1470  
 
 
  Plugin parameters can't use other plugins to get data   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2019/07/11 8:15 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Lucy Wyman  
 

  
 
 
 
 

 
 Builtin plugins can't use other plugins to populate their data values. For example, the parameters key for the task plugin can't use the prompt or pkcs7 plugins to hide secret parameters.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)