Jira (PUP-6091) Lookup CLI should use unquoted dot in key as sub-lookup

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren commented on  PUP-6091 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Lookup CLI should use unquoted dot in key as sub-lookup  
 
 
 
 
 
 
 
 
 
 
It sounds like you're in support of my proposal then. I think the access function deserves a separate JIRA given that it is a generic Puppet function with no impact on how lookup parses its keys. 
As mentioned, supporting dotted notation everywhere is a breaking change for users that rely on the current lookup behavior. They will now need to quote dotted keys used outside of the interpolation. How do we handle that? Is it enough with a documentation change and a release note? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6100) Question / Feature Request: Make value of "configuration version" visible to puppet manifests

2016-03-30 Thread Johnson Earls (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Johnson Earls commented on  PUP-6100 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Question / Feature Request: Make value of "configuration version" visible to puppet manifests  
 
 
 
 
 
 
 
 
 
 
Eric Sorenson, Henrik Lindberg: The problem I'm trying to solve is this: 
I've got an existing system file which Puppet does not control, but the content of which is partially managed by Puppet. Right now, I'm doing this using augeas to add or remove specific entries as specified through my defined resource type. 
However, I would also like to provide an option to "purge" all entries in that file that were created at some point by puppet, but were not managed during the current run. 
My first attempt was just to purge entries first, then let the entries get added back in. But this causes an unacceptable period of time during which those entries do not exist. The proper solution would be to create some puppet code that is ordered after all instances of the defined resource type, and purges any entries that were not invoked during this run. 
However, there's no way to do that within the puppet language – no way for puppet code to query the resources after the fact and find out what resources were declared during the run ; no way for the resources themselves to "accumulate" a list of the resource ; generally no way for puppet code to know "this resource was declared with this name". 
The solution I was aiming for, once I saw the "configuration version", was to use that value as part of the "managed by puppet" comment that gets added to each entry. The purge code could then just remove any entry which has the "managed by puppet" comment but has a different configuration version. 
This is not pretty (since it rewrites those entries every time puppet runs), but would prevent the wholesale remove-and-re-create of puppet-managed entries within the file. 
I hope this makes sense. 
– Johnson 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
  

Jira (PDB-2124) Please support some database besides PostgresQL

2016-03-30 Thread Johnson Earls (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Johnson Earls commented on  PDB-2124 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Please support some database besides PostgresQL  
 
 
 
 
 
 
 
 
 
 
Since PostgreSQL is still taboo (I think the real reason is that it's a competing product, and not any real security issue), I'm coming back to this with a different tack: 
Is there any documentation on how to extend puppet with a new backend/plugin for storeconfigs_backend or facts_terminus - some way that I can at least have puppet record somewhere each time an agent runs, and what facts were used for that agent run? I thought I could use the puppet reports for this, but the puppet reports do not include the facts. 
Thanks, – Johnson 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6089) type function: Unit type being returned for empty array and hash

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6089 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: type function: Unit type being returned for empty array and hash  
 
 
 
 
 
 
 
 
 
 
One more thought - these two signature signals "empty" load and clear... 
 
 
 
 
 
 
Array[[]] 
 
 
 
 
Hash[{}]
 
 
 
 
 
 
 
i.e. we use an empty array (and possibly empty hash) to signal "an instance that is empty and therefore does not have an element type (or types for key/value).  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-2580) log originator's certname on command failures

2016-03-30 Thread Wyatt Alt (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Wyatt Alt created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-2580 
 
 
 
  log originator's certname on command failures  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Improvement 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/03/30 5:07 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Wyatt Alt 
 
 
 
 
 
 
 
 
 
 
Currently when a command succeeds we log the certname, but when the command fails we dont: 
 
 
 
 
 
 
2016-03-30 16:16:55,052 ERROR [c.p.p.command] [ca770b4b-249f-49d4-b7e1-316190e798af] [store report] Fatal error on attempt 0
 
 
 
 
 
 
 
Logging the certname in failure cases would be really helpful in support/debugging situations. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 

Jira (PUP-6053) type mismatch error involving struct member should quote member name

2016-03-30 Thread Sean Griffin (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sean Griffin updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6053 
 
 
 
  type mismatch error involving struct member should quote member name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Sean Griffin 
 
 
 

QA Risk Assessment:
 
 Low 
 
 
 

QA Status:
 
 Reviewed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-5588) Monkey patch attempts to load same certs into OpenSSL::X509::Store objects multiple times

2016-03-30 Thread Glenn Sarti (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Glenn Sarti commented on  PUP-5588 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Monkey patch attempts to load same certs into OpenSSL::X509::Store objects multiple times  
 
 
 
 
 
 
 
 
 
 
Merged into master at; https://github.com/puppetlabs/puppet/commit/5e6bc65d7c4f0b76aa5a2aa925b57487c0de76e3 
Pending build 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1380) Restore --timing option to native facter

2016-03-30 Thread Greg Larkin (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Greg Larkin created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1380 
 
 
 
  Restore --timing option to native facter  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Improvement 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/03/30 4:17 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Greg Larkin 
 
 
 
 
 
 
 
 
 
 
A PSE in the field reports that running native Facter on Windows spikes the CPU for a few seconds on each run. The --timing option previously available in facter is no longer present in native facter, making it difficult to determine where the problem is. 
Restoring the --timing option would make it easier to debug this problem. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
   

Jira (FACT-1376) {{facter -h}} should be equivalent to {{facter --help}}

2016-03-30 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1376 
 
 
 
  {{facter -h}} should be equivalent to {{facter --help}}  
 
 
 
 
 
 
 
 
 

Change By:
 
 Branan Riley 
 
 
 

Scope Change Category:
 
 Adopted 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1376) {{facter -h}} should be equivalent to {{facter --help}}

2016-03-30 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1376 
 
 
 
  {{facter -h}} should be equivalent to {{facter --help}}  
 
 
 
 
 
 
 
 
 

Change By:
 
 Branan Riley 
 
 
 

Scope Change Reason:
 
 Trivial and I was bored in a meeting 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1376) {{facter -h}} should be equivalent to {{facter --help}}

2016-03-30 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1376 
 
 
 
  {{facter -h}} should be equivalent to {{facter --help}}  
 
 
 
 
 
 
 
 
 

Change By:
 
 Branan Riley 
 
 
 

Sprint:
 
 Client 2016-04- 20 06  ( Bigga Bugs C++ ) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1373) Facter with external fact containing a facter call fork-bombs the node

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper commented on  FACT-1373 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Facter with external fact containing a facter call fork-bombs the node  
 
 
 
 
 
 
 
 
 
 
One suggestion is to have facter detect if any of its ancestor pids includes facter to prevent the fork bomb. 
The external fact is trying to derive a new fact based on the built-in ipaddress fact. It would be fairly easy to write that as a custom fact and avoid this issue entirely. 
Also to confirm, facter 2.x had the same issue, correct? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1345) Solaris automount entries in mountpoint result in huge fact lists

2016-03-30 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1345 
 
 
 
  Solaris automount entries in mountpoint result in huge fact lists  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

Assignee:
 
 Eric Thompson 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6109) why my custom functions run master ok but run agent wrong

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6109 
 
 
 
  why my custom functions run master ok but run agent wrong  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Comment:
 
 Your function will be executed on the server. This means that any files or other resources you reference must be available on the server, and you can’t do anything that requires direct access to the client machine 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6112) trusted_server_facts should be on by default

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6112 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: trusted_server_facts should be on by default  
 
 
 
 
 
 
 
 
 
 
Yeah, sad story. The intent was to make it be on by default in 4.0.0, but it got botched (IIRC). It is considered a backwards incompatible change to turn it on by default. Now it has to wait until 5.0.0. Since it is on by default in PE, maybe we should risk changing this default earlier than 5.0.0. Ping Eric Sorenson ? 
(We may already have a ticket for this somewhere) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6112) trusted_server_facts should be on by default

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6112 
 
 
 
  trusted_server_facts should be on by default  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Story Points:
 
 1 
 
 
 

Sprint:
 
 Language Triage 
 
 
 

Scrum Team:
 
 Language 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1379) Facter returns incorrect MAC address for bonded interfaces

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1379 
 
 
 
  Facter returns incorrect MAC address for bonded interfaces  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Fix Version/s:
 
 FACT 3.1.6 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1379) Facter returns incorrect MAC address for bonded interfaces

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1379 
 
 
 
  Facter returns incorrect MAC address for bonded interfaces  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client  Triage  2016-04-20 (Bigga Bugs) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1346) Provide Environment Variables as a Structured Fact

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper commented on  FACT-1346 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Provide Environment Variables as a Structured Fact  
 
 
 
 
 
 
 
 
 
 
Kenaz Kwa Eric Sorenson we need more definition about which environment variables to include because including all environment facts can raise security issues. Can you provide guidance about which should be included in core facter (as opposed to windows specific module?) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1346) Provide Environment Variables as a Structured Fact

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1346 
 
 
 
  Provide Environment Variables as a Structured Fact  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client Triage 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-4619) fstab entries can be written in bad order

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-4619 
 
 
 
  fstab entries can be written in bad order  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client 2015-07-22, Client 2015-12-02, Client 2016- 04 05 - 20 (Bigga Bugs) 04 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-5926) launchd service provider doesn't implement status override.

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5926 
 
 
 
  launchd service provider doesn't implement status override.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client 2016- 04 05 - 20 (Bigga Bugs) 04 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-5926) launchd service provider doesn't implement status override.

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5926 
 
 
 
  launchd service provider doesn't implement status override.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Story Points:
 
 3 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-5998) [Spike] Rehabilitate Groups

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5998 
 
 
 
  [Spike] Rehabilitate Groups  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client 2016- 04 05 - 20 (Bigga Bugs) 04 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1364) facter does not serialize integers above 32bits in structured facts in windows

2016-03-30 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene commented on  FACT-1364 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: facter does not serialize integers above 32bits in structured facts in windows  
 
 
 
 
 
 
 
 
 
 
Facter is limited to 8 byte integral values, so if a bignum can be represented in that range, we should convert it; otherwise, raise an exception. Weird that this only happens on Windows. Is it a 32-bit Ruby perhaps, causing SIGNED_VALUE to be 32-bits resulting in the need for BigNum? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-5802) Yum provider incorrectly computes epoch for RPM package versions

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5802 
 
 
 
  Yum provider incorrectly computes epoch for RPM package versions  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client 2016-03-09 , Client 2016-05-04 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6097) YUM/APT package providers require architecture as part of package version

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6097 
 
 
 
  YUM/APT package providers require architecture as part of package version  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client 2016- 04 05 - 20 (Bigga Bugs) 04 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1345) Solaris automount entries in mountpoint result in huge fact lists

2016-03-30 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson assigned an issue to Eric Thompson 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1345 
 
 
 
  Solaris automount entries in mountpoint result in huge fact lists  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

Assignee:
 
 qa Eric Thompson 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-4634) Add some timings/metrics in report

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-4634 
 
 
 
  Add some timings/metrics in report  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client 2016- 04 05 - 20 (Bigga Bugs) 04 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-5025) Package resource showing notice when ensure attribute contains Epoch tag

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5025 
 
 
 
  Package resource showing notice when ensure attribute contains Epoch tag  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client 2015-09-30, Client 2015-10-14, Client 2015-10-28, Client 2016- 04 05 - 20 (Bigga Bugs) 04 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6113) `puppet resource user` on Solaris fails when LDAP users are present

2016-03-30 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6113 
 
 
 
  `puppet resource user` on Solaris fails when LDAP users are present  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/03/30 3:29 PM 
 
 
 

Fix Versions:
 

 PUP 3.8.7 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Branan Riley 
 
 
 
 
 
 
 
 
 
 
On EL (and probably elsewhere), self.instances for users filters out directory service users. On Solaris, it does not, which causes the `puppet resource` command to crash. 
Solaris should behave like other platforms and filter out directory service users from the user instance list. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 

Jira (PUP-5802) Yum provider incorrectly computes epoch for RPM package versions

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5802 
 
 
 
  Yum provider incorrectly computes epoch for RPM package versions  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client 2016-03-09 , Client 2016-04-20 (Bigga Bugs) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-1913) Puppet user resource should respect the forcelocal option

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1913 
 
 
 
  Puppet user resource should respect the forcelocal option  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client 2016-04-20 (Bigga Bugs) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1364) facter does not serialize integers above 32bits in structured facts in windows

2016-03-30 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith commented on  FACT-1364 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: facter does not serialize integers above 32bits in structured facts in windows  
 
 
 
 
 
 
 
 
 
 
Looks like https://github.com/puppetlabs/facter/blob/master/lib/src/ruby/ruby_value.cc#L158 probably also needs to handle is_bignum (i.e. rb_cBignum). 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1364) facter does not serialize integers above 32bits in structured facts in windows

2016-03-30 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith commented on  FACT-1364 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: facter does not serialize integers above 32bits in structured facts in windows  
 
 
 
 
 
 
 
 
 
 
https://github.com/puppetlabs/facter/blob/master/lib/src/ruby/module.cc#L379 looks questionable. Peter Huene what's SIGNED_VALUE? I'm not sure that's a 64-bit type on Windows. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1376) {{facter -h}} should be equivalent to {{facter --help}}

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1376 
 
 
 
  {{facter -h}} should be equivalent to {{facter --help}}  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Fix Version/s:
 
 FACT 3.1.6 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1379) Facter returns incorrect MAC address for bonded interfaces

2016-03-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1379 
 
 
 
  Facter returns incorrect MAC address for bonded interfaces  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Sprint:
 
 Client Triage 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (HI-506) When working in userspace `puppet lookup´ does not respect the `--node´ option nor use userspace hiera.yaml

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  HI-506 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: When working in userspace `puppet lookup´ does not respect the `--node´ option nor use userspace hiera.yaml  
 
 
 
 
 
 
 
 
 
 
The lookup command is intended to run on the master or in a puppet apply scenario on the actual node. It is not at present possible to run a remote lookup on an agent. When using the master scenario, the agent must have called in at least once to the master as that makes that node's facts available to the command. 
The first thing to assert is that a regular compilation works as intended, and that you can do very simple things with a simple key. This to make sure everything is in the right place, that you are running the right version, etc. 
Puppet 4.4.1 is the latest released version of puppet. 
I think you would be greatly helped by finding someone on IRC to help you through a simple scenario so you have a working base / workflow to expand from. Our similar tests work as they should and it is hard to spot any obvious problems in the material you have reported in this ticket. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6091) Lookup CLI should use unquoted dot in key as sub-lookup

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6091 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Lookup CLI should use unquoted dot in key as sub-lookup  
 
 
 
 
 
 
 
 
 
 
Here is what I think we should do: 
 

The dot-access notation is established and doing something different is just annoying. If we come up with a better thing in the future we can deal with that then.
 

We should support dotted notation everywhere, in the lookup CLI, in the lookup function. Users that want a verbatim lookup of a key with a dot in the key needs to quote it.
 

In order to make the dotted notation more of a general feature, we should also add an access function that applies to any hash or array. It should have an API that allows users to either use a single string to describe the access, or an array of keys.
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-2579) pe puppetdb always displays 0 as the catalog duplication rate in the dashboard

2016-03-30 Thread Kenneth Barber (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenneth Barber updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-2579 
 
 
 
  pe puppetdb always displays 0 as the catalog duplication rate in the dashboard  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kenneth Barber 
 
 
 

Scope Change Category:
 
 Found 
 
 
 

Affects Version/s:
 
 PDB 4.0.0 
 
 
 

Scope Change Reason:
 
 PE burnside users will see missing data in the pdb dashboard 
 
 
 

Story Points:
 
 1 
 
 
 

Sprint:
 
 PuppetDB 2016-04-06 
 
 
 

Fix Version/s:
 
 PDB 4.0.1 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  

Jira (NPUP-25) Implement a 'repl' command.

2016-03-30 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene commented on  NPUP-25 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Implement a 'repl' command.  
 
 
 
 
 
 
 
 
 
 
The docker image I put together (peterhuene/puppetcpp) contains this commit and is up-to-date with master if you want to do some functional review. 
General acceptance, in my opinion, should be that it functions like irb but for Puppet code evaluation. Obviously do to the nature of Puppet's delayed evaluation, things like the evaluation of defined types occur only when you're exiting the shell to "produce" a final catalog, so that is definitely a difference between the two environments. 
I could see this eventually being a `puppet repl` command, but that's a packaging issue really to lay down a small shim script that calls the native compiler accordingly. 
We'll need a more formal definition of what the repl's command line format should be and behavior, but this is a start to get us thinking about that. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-2579) pe puppetdb always displays 0 as the catalog duplication rate in the dashboard

2016-03-30 Thread Wyatt Alt (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Wyatt Alt created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-2579 
 
 
 
  pe puppetdb always displays 0 as the catalog duplication rate in the dashboard  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/03/30 11:47 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Wyatt Alt 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
[root@cent vagrant]# curl -X GET http://localhost:8080/metrics/v1/mbeans/puppetlabs.puppetdb.storage%3Aname%3Dcatalog-hash-match-time 
 
 
 
 
{ 
 
 
 
 
  "OneMinuteRate" : 0.0, 
 
 
 
 
  "MeanRate" : 0.0, 
 
 
 
 
  "FifteenMinuteRate" : 0.0, 

Jira (FACT-1379) Facter returns incorrect MAC address for bonded interfaces

2016-03-30 Thread Adam Bottchen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Adam Bottchen created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1379 
 
 
 
  Facter returns incorrect MAC address for bonded interfaces  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 FACT 3.1.5 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 PE 
 
 
 

Created:
 

 2016/03/30 11:37 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Adam Bottchen 
 
 
 
 
 
 
 
 
 
 
There is a regression in the behavior of Facter in regards to the setting of bonded interface MAC addresses between 2.4 and 3.1. 
When interfaces are bonded in Linux, the MAC address is set to that of the first bonded interface in ifconfig output: 
 
 
 
 
 
 
# ifconfig -a |grep HWaddr 
 
 
 
 
bond0 Link encap:Ethernet  HWaddr 00:50:56:9A:3F:D8 
  

Jira (PUP-2354) agent is confused about cert state

2016-03-30 Thread Harley Larsen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Harley Larsen commented on  PUP-2354 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: agent is confused about cert state  
 
 
 
 
 
 
 
 
 
 
Looks like we're seeing this one as well - since it's been a few months, can anyone provide any new insight? I'm more than happy to help debug, but it seems pretty clear there is an issue here. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (NPUP-25) Implement a 'repl' command.

2016-03-30 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson commented on  NPUP-25 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Implement a 'repl' command.  
 
 
 
 
 
 
 
 
 
 
we might actually want to FR this one.  what is the user interaction, here? any opinions on acceptance criteria would help. 
e.g. will this have a puppet subcommand, or similar (puppet parser repl, puppet repl?)? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6100) Question / Feature Request: Make value of "configuration version" visible to puppet manifests

2016-03-30 Thread Eric Sorenson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Sorenson commented on  PUP-6100 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Question / Feature Request: Make value of "configuration version" visible to puppet manifests  
 
 
 
 
 
 
 
 
 
 
Johnson Earls can you please describe the problem you're trying to solve? As henrik says, the config version is normally computed at the end of catalog compilation and thus is not available during compilation. I think that is a desirable property but I'm curious what your use-case is and what problem led you to try this. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1531) Upgrade metrics registry usage to use tk-metrics lifecycle

2016-03-30 Thread Andrew Roetker (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andrew Roetker updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-1531 
 
 
 
  Upgrade metrics registry usage to use tk-metrics lifecycle  
 
 
 
 
 
 
 
 
 

Change By:
 
 Andrew Roetker 
 
 
 

Story Points:
 
 5 2 
 
 
 

Summary:
 
 Upgrade  metrics registry usage  to  use  tk-metrics  lifecycle 
 
 
 
 
 
 
 
 
 
 We should upgrade to use tk-metrics, that includes the latest codahale metrics stuff. This project would need to be open-source first. Edit: As we have already upgraded to TK-Metrics now, I'm repurposing this ticket to be the work involved in porting our existing "create metrics registries" code in cli/services.clj to use the trapperkeeper service to manage the registries' lifetimes. This will primarily consist of refactoring the existing metrics atoms scattered through PuppetDB to be initialized/parametrized by a registry that the service which cares about the registry passes in at startup. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group

Jira (PUP-6100) Question / Feature Request: Make value of "configuration version" visible to puppet manifests

2016-03-30 Thread Eric Sorenson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Sorenson assigned an issue to Johnson Earls 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6100 
 
 
 
  Question / Feature Request: Make value of "configuration version" visible to puppet manifests  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Sorenson 
 
 
 

Assignee:
 
 Johnson Earls 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6100) Question / Feature Request: Make value of "configuration version" visible to puppet manifests

2016-03-30 Thread Karen Van der Veer (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Karen Van der Veer updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6100 
 
 
 
  Question / Feature Request: Make value of "configuration version" visible to puppet manifests  
 
 
 
 
 
 
 
 
 

Change By:
 
 Karen Van der Veer 
 
 
 

Scrum Team:
 
 Puppet Server Language 
 
 
 

Component/s:
 
 Puppet Server 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-2576) Consider expiring multiple nodes in a single sql command

2016-03-30 Thread Kenneth Barber (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenneth Barber updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-2576 
 
 
 
  Consider expiring multiple nodes in a single sql command  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kenneth Barber 
 
 
 

Fix Version/s:
 
 PDB 4.1.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6091) Lookup CLI should use unquoted dot in key as sub-lookup

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren commented on  PUP-6091 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Lookup CLI should use unquoted dot in key as sub-lookup  
 
 
 
 
 
 
 
 
 
 
At some point when the new lookup functionality was designed, we decided not to let the Hiera behavior regarding dotted keys leak beyond interpolation expressions in the Hiera Data Provider. This means that: 
1. Dotted keys are not perused by the lookup CLI command. They are passed verbatim and results are merged at the very root. 2. Dotted keys are used verbatim by all new data providers (even Hiera 4.0, unless the key is found within an interpolation _expression_) 3. The new quoting functionality, recognized by the Hiera CLI command is not recognized by the Puppet lookup CLI command. 
This is somewhat inconsistent and therefore difficult to deal with. 
I propose that we instead expose the behavior that we subject keys in the Hiera Data provider interpolation expressions, and in all of Hiera 3.0 (even the CLI) also is made the common behavior for all of the lookup logic and its data providers. The reason we didn't do this earlier was that we wanted to keep the door open for a better implementation. That door will get partly closed as we expose the dotted keys. Then again, a majority of the data is stored in Hiera 3.x which already has this behavior, or in Hiera 4.x which has it partially, so in reality, the drawback will be small. 
One idea, that might help in the decision, is to consider the introduction of lookup syntax flavors as a global setting. What Hiera has now could be branded "Hiera dot notation". An alternative could be the 'Puppet access notation' (what Henrik discusses above). The support for this setting could then be implemented throughout (both Hiera and Puppet lookup). Once implemented, it's up to the user to choose a flavor and there would be absolutely no mix of flavors for any given system (setting in puppet.conf main section only). The main motivation for this is simplicity. User chooses one syntax and sticks with it. A solution like that would also open up for writing tools to convert data from one flavor to another. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
   

Jira (PUP-6074) Remove support for --unpack-arrays option from lookup function and CLI

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6074 
 
 
 
  Remove support for --unpack-arrays option from lookup function and CLI  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Release Notes Summary:
 
 The experimental lookup option --unpack-arrays has very strange behavior and it was decided that it should be removed , which it now . It  is  not removed from both the lookup command line application and lookup function . 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6074) Remove support for --unpack-arrays option from lookup function and CLI

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6074 
 
 
 
  Remove support for --unpack-arrays option from lookup function and CLI  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 Remove the {{\--unpack-array}} option from lookup function and lookup command line.This option did not work at all when it was first introduced. While fixed to "work" in 4.4.1, its functionality is so odd that no one really can explain what it is supposed to do. It also unexpectedly behaves differently in different data configurations.It was therefore decided IN PUP-6050 that support for it should be removed. ACCEPTANCE CRITERA* An error is raised if the option --unpack-arrays or --unpack_arrays is given to the lookup CLI* An error is raised if the option 'unpack_arrays' is given to the lookup function* The documentation does not mention 'unpack arrays' in any form. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (HI-507) Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot

2016-03-30 Thread Andreas Papst (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andreas Papst commented on  HI-507 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot   
 
 
 
 
 
 
 
 
 
 
Hello, 
Are you telling me, that this works as being designed? 
At least it is very confusing when somebody like me did an upgrad from puppet3 to puppet4. With puppet3 this YAML-key with a dot inside was valid and could be used with any tool reporting the respective value. After upgrading to puppet4 it took me half a day to find out this dot is not valid any more even using hiera command itself. And I'm aware of friends running into the same problem. 
May I suggest, that you update your upgrade-documentation including this issue. 
Thank you Andreas 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (HI-504) Allow interpolated keys to be quoted and contain dot characters

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren commented on  HI-504 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Allow interpolated keys to be quoted and contain dot characters  
 
 
 
 
 
 
 
 
 
 
The :datadir: should be nested under a backend, e.g.: 
 
 
 
 
 
 
:backends: 
 
 
 
 
  - yaml 
 
 
 
 
:yaml: 
 
 
 
 
  :datadir: /etc/puppetlabs/code/hieradata
 
 
 
 
 
 
 
In your example the :datadir: is not indented so the resulting hash becomes: 
 
 
 
 
 
 
{:backends=>["yaml"], :yaml=>nil, :datadir=>"/etc/puppetlabs/code/hieradata", :hierarchy=>["test"]}
 
 
 
 
 
 
 
when it should be: 
 
 
 
 
 
 
{:backends=>["yaml"], :yaml=>{:datadir=>"/etc/puppetlabs/code/hieradata"}, :hierarchy=>["test"]}
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Jira (PUP-6074) Remove support for --unpack-arrays option from lookup function and CLI

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6074 
 
 
 
  Remove support for --unpack-arrays option from lookup function and CLI  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (NPUP-25) Implement a 'repl' command.

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  NPUP-25 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Implement a 'repl' command.  
 
 
 
 
 
 
 
 
 
 
merged to master at: f4339ad 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (NPUP-25) Implement a 'repl' command.

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to qa 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Native Puppet /  NPUP-25 
 
 
 
  Implement a 'repl' command.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Status:
 
 Ready for  Merge  Test 
 
 
 

Assignee:
 
 qa 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (HI-507) Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot

2016-03-30 Thread Andreas Papst (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andreas Papst commented on  HI-507 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot   
 
 
 
 
 
 
 
 
 
 
Yes, my example above is failing even with Hiera 3.1.1 
For my output of your 

HI-504
 checks look at https://tickets.puppetlabs.com/browse/HI-504 
Thank you Andreas 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (HI-507) Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren commented on  HI-507 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot   
 
 
 
 
 
 
 
 
 
 
The problem is that lookup passes a dotted key verbatim to Hiera (lookup has no special processing for dotted keys). Hiera splits the key (it's not quoted). Hence, in the example above it looks for the keys 'foo::@*#bar' (no quotes in there) and 'foo'. It doesn't find 'foo' and hence, raises an error. Lookup has no idea that this particular provider splits keys so it reports that 'foo.bar' cannot be found. 
The behavior would be different if an Hiera Data Provider was used (for environment or module data). It will not split the key unless it's found in an interpolation _expression_. A behavior which in itself can be seen as somewhat inconsistent. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (HI-504) Allow interpolated keys to be quoted and contain dot characters

2016-03-30 Thread Andreas Papst (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andreas Papst commented on  HI-504 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Allow interpolated keys to be quoted and contain dot characters  
 
 
 
 
 
 
 
 
 
 
/etc/puppetlabs/code/test.yaml : 
 
 
 
 
 
 
--- 
 
 
 
 
:backends: 
 
 
 
 
  - yaml 
 
 
 
 
:yaml: 
 
 
 
 
:datadir: /etc/puppetlabs/code/hieradata 
 
 
 
 
:hierarchy: 
 
 
 
 
  - "test"
 
 
 
 
 
 
 
/etc/puppetlabs/code/hieradata/test.yaml : 
 
 
 
 
 
 
--- 
 
 
 
 
foo: bar   
 
 
 
 
foo_dot_bar: foo.ba

Jira (PUP-6110) Function assert_type should do infer_set instead of infer

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6110 
 
 
 
  Function assert_type should do infer_set instead of infer  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Release Notes Summary:
 
 The function assert_type has been improved to point out details about a type mismatch where it earlier in some cases would report nonsense like "Expected Hash, got Hash" 
 
 
 

Release Notes:
 
 Bug Fix 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6053) type mismatch error involving struct member should quote member name

2016-03-30 Thread Sean Griffin (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sean Griffin assigned an issue to Sean Griffin 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6053 
 
 
 
  type mismatch error involving struct member should quote member name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Sean Griffin 
 
 
 

Assignee:
 
 qa Sean Griffin 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6110) Function assert_type should do infer_set instead of infer

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6110 
 
 
 
  Function assert_type should do infer_set instead of infer  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 The function assert_type will currently call {{TypeCalculator#infer}} to infer the type of the given value. This means that a lot of information is lost. A hash is for instance reduced to a key and value type and the correlation between the keys and values are lost. This was OK when the assert_type had a very simplistic way of reporting a mismatch but today, when it uses the {{TypeMismatchDescriber}}, a call to {{TypeCalculator#infer_set}} will result in much better output when a mismatch is detected. ACCEPTANCE CRITERIA* That the actual mismatch is pointed out when it is in the details e.g. that the below shows that:{code:puppet}assert_type(Struct[{ a => Integer, b => Boolean }], { a => hello, x => world }){code}** a has wrong type** b is missing** there is no x in the struct 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6068) unknown types should have better errors

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren assigned an issue to R.I.Pienaar 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6068 
 
 
 
  unknown types should have better errors  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Assignee:
 
 Thomas Hallgren R.I.Pienaar 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6068) unknown types should have better errors

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren commented on  PUP-6068 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: unknown types should have better errors  
 
 
 
 
 
 
 
 
 
 
I think this is completely resolved by PUP-6028 so I'm inclined to close this as a duplicate. R.I.Pienaar, if you have a chance to test the current master and see if there are any issues left, that'd be great. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6108) Circular type aliases are not handled gracefully.

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6108 
 
 
 
  Circular type aliases are not handled gracefully.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Release Notes Summary:
 
 Before this, mistakes in type aliases could cause endless recursion ending with an out of stack error. This is now gracefully handled with a specific error message. 
 
 
 

Release Notes:
 
 Bug Fix 
 
 
 
 
 
 
 
 
 
 The following code:{code}type Foo = Bartype Bar = Foo0 =~ Bar{code}produces:{code}Error: Could not run: stack level too deep{code}Expected an error message saying that type {{Bar}} cannot be resolved due to a circular reference.Also reproduced with a self-reference:{code}type Foo = Foo0 =~ Foo{code} ACCEPTANCE CRITERIA* That a circular type alias does not cause an out of stack error* That the error message identifies at least one of the involved types in the circularity in the error message 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet

Jira (PUP-6099) Additional file and mount autorequire

2016-03-30 Thread Matt Schuchard (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Matt Schuchard updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6099 
 
 
 
  Additional file and mount autorequire  
 
 
 
 
 
 
 
 
 
 
PR 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-2578) Puppetdb module's "don't manage $database_password" code doesn't work

2016-03-30 Thread Kenneth Barber (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenneth Barber moved an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-2578 
 
 
 
  Puppetdb module's "don't manage $database_password" code doesn't work  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kenneth Barber 
 
 
 

Component/s:
 
 puppetdb 
 
 
 

Component/s:
 
 Module 
 
 
 

Key:
 
 MODULES PDB - 3222 2578 
 
 
 

Project:
 
 Forge Modules PuppetDB 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6110) Function assert_type should do infer_set instead of infer

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6110 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Function assert_type should do infer_set instead of infer  
 
 
 
 
 
 
 
 
 
 
Merged to stable at: dd055eb 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6108) Circular type aliases are not handled gracefully.

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6108 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Circular type aliases are not handled gracefully.  
 
 
 
 
 
 
 
 
 
 
merged to stable at: 3587302 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-5965) Add 'new instance' operation

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5965 
 
 
 
  Add 'new instance' operation  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Henrik Lindberg Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (HI-506) When working in userspace `puppet lookup´ does not respect the `--node´ option nor use userspace hiera.yaml

2016-03-30 Thread Andreas Papst (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andreas Papst commented on  HI-506 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: When working in userspace `puppet lookup´ does not respect the `--node´ option nor use userspace hiera.yaml  
 
 
 
 
 
 
 
 
 
 
Hello, 
I'm sorry, but I'm totally confused about your version system. 
I'm using the latest Debian package provided be your Debian repository, just upgraded today: 
 
 
 
 
 
 
puppet-agent   1.4.1-1jessie 
 
 
 
 
$ puppet -V  
 
 
 
 
4.4.1
 
 
 
 
 
 
 
which I suppose is the latest version. 
I must use a --facts option pointing to ./test.yaml 
 
 
 
 
 
 
--- 
 
 
 
 
fqdn : mynode.univie.ac.at 
 
 
 
 
environment : my_env
 
 
 
 
 
 
 
in 
 
 
 
 
 
 
puppet lookup --node mynode.univie.ac.at foo::bar_1 --environment my_env  --facts ./test.yaml --explain --debug
 

Jira (HI-507) Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  HI-507 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot   
 
 
 
 
 
 
 
 
 
 
Ping Thomas Hallgren Can you take a look if the example works, or if there is something wrong with 

HI-504
 ? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (HI-507) Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Andreas Papst 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Hiera /  HI-507 
 
 
 
  Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot   
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Andreas Papst 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (HI-507) Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  HI-507 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot   
 
 
 
 
 
 
 
 
 
 
Maybe I was a bit quick. Are you saying that the example in this ticket is failing for you? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (HI-507) Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  HI-507 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot   
 
 
 
 
 
 
 
 
 
 
This is still a duplicate of 

HI-504
 so I will close this again. Please do not reopen this. You can see how this was verified on 

HI-504
, also note the easy to make mistakes by others when trying to verify (being bitten by shell quoting etc.). If you have a reproducible sample that shows the problem please post that on Hi-504. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6106) Puppet gem is missing dependency rgen

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6106 
 
 
 
  Puppet gem is missing dependency rgen  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Scrum Team:
 
 Release Engineering 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (HI-507) Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot

2016-03-30 Thread Andreas Papst (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andreas Papst commented on  HI-507 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet lookup (doing a Hiera lookup) in yaml files do not find keys with a dot   
 
 
 
 
 
 
 
 
 
 
Sorry, but I cannot confirm, that with Hiera 3.1.1 this issue is resolved. In contrary, with 
 
 
 
 
 
 
 puppetserver   2.3.1-1puppetlabs1 
 
 
 
 
 puppet-agent   1.4.1-1jessie 
 
 
 
 
$ /opt/puppetlabs/bin/hiera -V 
 
 
 
 
3.1.1
 
 
 
 
 
 
 
neither hiera command itself nor puppet lookup show up true for foo.bar I still get nil! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
 

Jira (PUP-6111) Puppet agent won't run after applying Xen patch XS65ESP1022.

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6111 
 
 
 
  Puppet agent won't run after applying Xen patch XS65ESP1022.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Scrum Team:
 
 Client Platform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6111) Puppet agent won't run after applying Xen patch XS65ESP1022.

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6111 
 
 
 
  Puppet agent won't run after applying Xen patch XS65ESP1022.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6102) A type alias that has an alias name of a built-in type should be illegal

2016-03-30 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6102 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: A type alias that has an alias name of a built-in type should be illegal  
 
 
 
 
 
 
 
 
 
 
It is of value to do a static check as well since tools like puppet parser validate and similar can then provide immediate feedback without having to do a compilation. 
So, we have two issues: 
 

static check against known types
 

runtime check protecting against redefinition
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6068) unknown types should have better errors

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren assigned an issue to Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6068 
 
 
 
  unknown types should have better errors  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Assignee:
 
 Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-5965) Add 'new instance' operation

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren assigned an issue to Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5965 
 
 
 
  Add 'new instance' operation  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Assignee:
 
 Thomas Hallgren Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6102) A type alias that has an alias name of a built-in type should be illegal

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren commented on  PUP-6102 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: A type alias that has an alias name of a built-in type should be illegal  
 
 
 
 
 
 
 
 
 
 
And as a consequence of what I just wrote, if we agree, the title on this JIRA should be "A type alias must not redefine an existing type". 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6102) A type alias that has an alias name of a built-in type should be illegal

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren commented on  PUP-6102 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: A type alias that has an alias name of a built-in type should be illegal  
 
 
 
 
 
 
 
 
 
 
In PUP-6028 we changed so that the loader always knows if a qualified reference is a type. While the above case can be detected statically, wouldn't it be better to let the loader decide? Would it bring any advantage to check both statically and during evaluation? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6112) trusted_server_facts should be on by default

2016-03-30 Thread R.I.Pienaar (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 R.I.Pienaar created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6112 
 
 
 
  trusted_server_facts should be on by default  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/03/30 3:48 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 R.I.Pienaar 
 
 
 
 
 
 
 
 
 
 
Not sure why this is off by default but this is super valuable and if people are to use it in shared modules it should be on by default 
 
 
 
 
 
 
% puppet --version;puppet apply --configprint trusted_server_facts 
 
 
 
 
4.4.1 
 
 
 
 
false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Jira (PUP-5965) Add 'new instance' operation

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren assigned an issue to Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5965 
 
 
 
  Add 'new instance' operation  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Assignee:
 
 Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6110) Function assert_type should do infer_set instead of infer

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6110 
 
 
 
  Function assert_type should do infer_set instead of infer  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Scope Change Category:
 
 Found 
 
 
 

Scope Change Reason:
 
 Easy fix of code that I had fresh in memory 
 
 
 

Sprint:
 
 Language 2016-04- 20 06 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6108) Circular type aliases are not handled gracefully.

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6108 
 
 
 
  Circular type aliases are not handled gracefully.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Scope Change Category:
 
 Found 
 
 
 

Scope Change Reason:
 
 Easy fix of code that I had fresh in memory 
 
 
 

Sprint:
 
 Language 2016-04- 20 06 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6111) Puppet agent won't run after applying Xen patch XS65ESP1022.

2016-03-30 Thread Bartek Stalewski (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Bartek Stalewski created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6111 
 
 
 
  Puppet agent won't run after applying Xen patch XS65ESP1022.  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 3.8.6 
 
 
 

Assignee:
 
 Henrik Lindberg 
 
 
 

Components:
 

 Networking Services 
 
 
 

Created:
 

 2016/03/30 2:35 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Bartek Stalewski 
 
 
 
 
 
 
 
 
 
 
I have some clusters with XenServer (free and paid versions) 6.5. After patching nodes to latest Citrix updates I have an issue with puppet agent 3.8.6: 
 

puppet agent -t /usr/lib/ruby/1.8/net/http.rb:586: [BUG] Segmentation fault ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
 
 
Aborted 
Problem occured after applying patch XS65ESP1022 (http://support.citrix.com/article/CTX205228). It brings the new openssl version into XenServer distribution: 
 

openssl version OpenSSL 1.0.1e-fips 11 Feb 2013
 
 
   

Jira (PUP-6110) Function assert_type should do infer_set instead of infer

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6110 
 
 
 
  Function assert_type should do infer_set instead of infer  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Improvement 
 
 
 

Affects Versions:
 

 PUP 4.4.1 
 
 
 

Assignee:
 
 Thomas Hallgren 
 
 
 

Created:
 

 2016/03/30 2:17 AM 
 
 
 

Fix Versions:
 

 PUP 4.4.2 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 
The function assert_type will currently call TypeCalculator#infer to infer the type of the given value. This means that a lot of information is lost. A hash is for instance reduced to a key and value type and the correlation between the keys and values are lost. This was OK when the assert_type had a very simplistic way of reporting a mismatch but today, when it uses the TypeMismatchDescriber, a call to TypeCalculator#infer_set will result in much better output when a mismatch is detected. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Com

Jira (PUP-6108) Circular type aliases are not handled gracefully.

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren commented on  PUP-6108 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Circular type aliases are not handled gracefully.  
 
 
 
 
 
 
 
 
 
 
I opted for treating an empty alias (an alias containing nothing but other aliases or variants thereof) as an error in the attached PR. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6109) why my custom functions run master ok but run agent wrong

2016-03-30 Thread lklkxcxc (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 lklkxcxc assigned an issue to lklkxcxc 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
Your function will be executed on the server. This means that any files or other resources you reference must be available on the server, and you can’t do anything that requires direct access to the client machine 
 
 
 
 
 
 
 
 
 
 Puppet /  PUP-6109 
 
 
 
  why my custom functions run master ok but run agent wrong  
 
 
 
 
 
 
 
 
 

Change By:
 
 lklkxcxc 
 
 
 

Assignee:
 
 lklkxcxc 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6108) Circular type aliases are not handled gracefully.

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren commented on  PUP-6108 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Circular type aliases are not handled gracefully.  
 
 
 
 
 
 
 
 
 
 
This is tricky because a self reference is legal. Consider: 
 
 
 
 
 
 
type Tree = Hash[String,Variant[String,Tree]] 
 
 
 
 
{a => {b => {c => d}}} =~ Tree
 
 
 
 
 
 
 
Here, a self recursion is detected but the check will continue and traverse into the next node of the tree. The recursion then stops because the nesting in the value stops. At present, we do not allow self referencing values in PL (it would blow up in several other places). 
Your case is rather special since there's no type at all aside from the aliases that are referring to each other. What does that mean? I'm inclined to say that since a type is a constraint, and since no constraints are expressed, then anything should be considered assignable. Either that, or we should declare this construct an error. A type alias can be self referencing but if there is nothing but type aliases, then the construct is illegal. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because

Jira (PUP-6109) why my custom functions run master ok but run agent wrong

2016-03-30 Thread lklkxcxc (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 lklkxcxc updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6109 
 
 
 
  why my custom functions run master ok but run agent wrong  
 
 
 
 
 
 
 
 
 

Change By:
 
 lklkxcxc 
 
 
 

Issue Type:
 
 Bug New Feature 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6109) why my custom functions run master ok but run agent wrong

2016-03-30 Thread lklkxcxc (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 lklkxcxc created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6109 
 
 
 
  why my custom functions run master ok but run agent wrong  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/03/30 12:52 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 lklkxcxc 
 
 
 
 
 
 
 
 
 
 
my function define: module Puppet::Parser::Functions newfunction(:check_ssh,:type => :rvalue) do |args| a = args[0] %x(ssh -V 2>/home/ssh_version) File.open('/home/ssh_version','r') do |line| line.each_line  {|l| if l.match(a) return true else return false end } 
 end end end in master run test.pp: if check_ssh('123') { notify {"ok":} 
} else { notify {"no ok":} 
} resault: Notice: Compiled catalog for puppet.yncmcc.cn in environment production in 0.24 seconds Notice: no ok Notice: /Stage[main]/Main/Notify[no ok]/message: defined 'message' as 'no ok' Notice: Applied catalog in 0.06 seconds 
but run in agent resault: [root@zabbix ~]# puppet agent -t Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, wrong argument type Array (expected Regexp) at /etc/puppetlabs/code/environments/production/modules/upssh/manifests/test.pp:2:4 on node zabbix.4 Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run 
 
 
 
 
 
 
 
 
 
 
 
 

Jira (PUP-6108) Circular type aliases are not handled gracefully.

2016-03-30 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren assigned an issue to Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6108 
 
 
 
  Circular type aliases are not handled gracefully.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Assignee:
 
 Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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