Jira (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2017-05-19 Thread Rolf (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rolf commented on  PDB-170 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 
 
We worked around it with puppetdb query. Fine to close it, can we update the docs to reflect this limitation? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2017-05-18 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-170 
 
 
 
  exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Labels:
 
 help_wanted redmine  triaged 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2017-05-17 Thread Russell Mull (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Russell Mull updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-170 
 
 
 
  exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 

Change By:
 
 Russell Mull 
 
 
 

Labels:
 
 help_wanted redmine 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2017-05-17 Thread Russell Mull (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Russell Mull commented on  PDB-170 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 
 
Exported resources aren't a super high priority for us now that we have the puppetdb_query function. But if somebody wants to look at this, we'd gladly accept a patch.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2017-05-17 Thread Russell Mull (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Russell Mull updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-170 
 
 
 
  exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 

Change By:
 
 Russell Mull 
 
 
 

Labels:
 
 help_wanted redmine  triaged 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2017-03-30 Thread Twizzy Dizzy (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Twizzy Dizzy commented on  PDB-170 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 
 
Same issue on: 
 

puppet --version 
 

3.4.3
 
 
 
 
 

cat /etc/redhat-release 
 

CentOS Linux release 7.3.1611 (Core)
 
 
 

ruby --version 
 

ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 

Jira (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2015-09-22 Thread Ryan Senior (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ryan Senior updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-170 
 
 
 
  exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ryan Senior 
 
 
 

Sprint:
 
 PuppetDB 2015-10-07 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2015-09-22 Thread Ryan Senior (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ryan Senior updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-170 
 
 
 
  exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ryan Senior 
 
 
 

Sprint:
 
 PuppetDB 2015-10-07 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2015-03-11 Thread Ryan Senior (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ryan Senior updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 PuppetDB /  PDB-170 
 
 
 
  exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ryan Senior 
 
 
 

Sprint:
 
 PuppetDB2015-03-25 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2015-02-25 Thread Ryan Senior (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ryan Senior updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 PuppetDB /  PDB-170 
 
 
 
  exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ryan Senior 
 
 
 

Sprint:
 
 PuppetDB2015-03- 11 25 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2015-01-28 Thread Kenneth Barber (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenneth Barber updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 PuppetDB /  PDB-170 
 
 
 
  exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kenneth Barber 
 
 
 

Sprint:
 
 PuppetDB2015-03-11 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2015-01-22 Thread Rolf (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rolf commented on  PDB-170 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 
 
Same issue on: 
 

puppet --version 3.4.3
 

cat /etc/redhat-release CentOS release 6.6 (Final)
 

ruby --version ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2014-12-20 Thread Francois Lafont (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Francois Lafont commented on  PDB-170 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: exported resources with single element arrays aren't arrays on the collected side  
 
 
 
 
 
 
 
 
 
 
Hi, 
I have exactly the same problem with this environment: 
 

OS = Debian Wheezy
 

Puppet = 3.7.3
 

Ruby = 1.9.3p194
 
 
Regards. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2014-07-30 Thread Vladimir Kulev (JIRA)
Title: Message Title










 

 Vladimir Kulev commented on an issue


















  Re: exported resources with single element arrays aren't arrays on the collected side 










This might be related to 

PUP-1299













   

 Add Comment

























 PuppetDB /  PDB-170



  exported resources with single element arrays aren't arrays on the collected side 







 If I export a defined type with an array for one of the parameters, but only containing one element, it doesn't appear to be an array on the collecting side (using puppetlabs-stdlib/is_array). Adding a second blank element resolved this.















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2014-07-03 Thread Richard Clark (JIRA)
Title: Message Title










 

 Richard Clark commented on an issue


















  Re: exported resources with single element arrays aren't arrays on the collected side 










As with the cloned bug report, adding a second empty item can sometimes cause problems with modules that don't check for empty value. (jfryman/puppet-nginx) Example: 



proxy_set_header = ['Host $http_host',''],



Will work for some cases, but it will export an array that will have two items to iterate over.
Instead, double nesting the array does work proper without side effects (for me):



proxy_set_header = [['Host $http_host',],],



instead will cause the exported record (at least with PupppetDB / PostgreSQL) to export properly as [Host $http_host]












   

 Add Comment

























 PuppetDB /  PDB-170



  exported resources with single element arrays aren't arrays on the collected side 







 If I export a defined type with an array for one of the parameters, but only containing one element, it doesn't appear to be an array on the collecting side (using puppetlabs-stdlib/is_array). Adding a second blank element resolved this.













  

Jira (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2014-04-23 Thread Kenneth Barber (JIRA)
Title: Message Title










 

 Kenneth Barber commented on an issue


















  Re: exported resources with single element arrays aren't arrays on the collected side 










This smells like a Puppet issue to do with single element array coercion.












   

 Add Comment

























 PuppetDB /  PDB-170



  exported resources with single element arrays aren't arrays on the collected side 







 If I export a defined type with an array for one of the parameters, but only containing one element, it doesn't appear to be an array on the collecting side (using puppetlabs-stdlib/is_array). Adding a second blank element resolved this.















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 (PDB-170) exported resources with single element arrays aren't arrays on the collected side

2014-04-23 Thread Kenneth Barber (JIRA)
Title: Message Title










 

 Kenneth Barber updated an issue


















 PuppetDB /  PDB-170



  exported resources with single element arrays aren't arrays on the collected side 










Change By:

 Kenneth Barber




Story Points:

 3












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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.