Jira (PUP-1515) Invalid parameter provider for custom types/providers

2014-12-12 Thread Gabriele Paggi (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Gabriele Paggi commented on  PUP-1515 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Invalid parameter provider for custom types/providers  
 
 
 
 
 
 
 
 
 
 
Charlie Sharpsteen Thanks! I didn't have the environment set in the master section indeed. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1515) Invalid parameter provider for custom types/providers

2014-12-11 Thread Gabriele Paggi (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Gabriele Paggi commented on  PUP-1515 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Invalid parameter provider for custom types/providers  
 
 
 
 
 
 
 
 
 
 
So, to summarize: when the Puppet master loads a Type, it searches the environment that the agent requested. When it loads providers for that type, it searches the default environment instead of the one the agent requested. 
Charlie Sharpsteen, what is the name of the default environment? Is it production? I'm seeing the same issue with only one environment named prd. The workaround I'm using is to define a production environment pointing to the same directories as the prd one: 
 
 
 
 
 
 
# Always create production pointing to the first defined environment 
 
 
 
 
# to circumvent PUP-1515 (pluginsync, custom provider/type) 
 
 
 
 
[production] 
 
 
 
 
manifest = /etc/puppet/environments/prd/manifests/ 
 
 
 
 
modulepath = /etc/puppet/environments/prd/. 
 
 
 
 
[prd] 
 
 
 
 
manifest = /etc/puppet/environments/prd/manifests/ 
 
 
 
 
modulepath = /etc/puppet/environments/prd/..