Jira (PUP-5349) only the ca server is veryfing puppet client certificates

2015-10-09 Thread cristi falcas (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 cristi falcas created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5349 
 
 
 
  only the ca server is veryfing puppet client certificates  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 3.8.3 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Puppet Server 
 
 
 

Created:
 

 2015/10/09 2:58 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 cristi falcas 
 
 
 
 
 
 
 
 
 
 
It seems that only the ca server is verifying the puppet certificates for clients. 
We revoked the certificate for one of our servers and copied the new crl.pem to a second master. But it looks like the second master doesn't care about this at all. 
Bellow are 2 runs from the same client to those 2 masters: 
[root@v-is-puppet-02 sdt_user]# puppet agent -t --server puppet.company.net Warning: Unable to fetch my node definition, but the agent run will continue: Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server session ticket A: sslv3 alert certificate revoked Info: Retrieving pluginfacts 
[root@v-is-puppet-02 sdt_user]# puppet agent -t --server v-so-repo-01.company.net Info: Retrieving pluginfacts Info: Retrieving plugin 
 
 
 
 
 

Jira (PUP-3528) yumrepo needs sslverify value to be capitalized

2014-12-08 Thread cristi falcas (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 cristi falcas commented on  PUP-3528 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: yumrepo needs sslverify value to be capitalized  
 
 
 
 
 
 
 
 
 
 
Understood. Bug can be closed then, since the documentation for yumrepo lists the valid strings. Originally I used the more natural form of true/false. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (HI-302) hiera replaces backslashes from variables

2014-12-08 Thread cristi falcas (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 cristi falcas created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Hiera /  HI-302 
 
 
 
  hiera replaces backslashes from variables  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2014/12/08 7:52 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 cristi falcas 
 
 
 
 
 
 
 
 
 
 
Define something like this in a json file: 
{ sudoers:. { COMPANYsome_group:  { . some data } 
, } } 
When calling hiera_hash('sudoers'), the name received will be COMPANY\some_group. 
Why is the replacement taken place? I know I can use COMPANYsome_group, but I didn't expect to escape strings in hiera too much. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message 

Jira (PUP-3528) yumrepo needs sslverify value to be capitalized

2014-10-24 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas created an issue


















 Puppet /  PUP-3528



  yumrepo needs sslverify value to be capitalized 










Issue Type:

  Bug




Assignee:


 Unassigned




Created:


 24/Oct/14 1:58 AM




Priority:

  Normal




Reporter:

 cristi falcas










Defining this results in catalog compilation failure:
yumrepo  { 'repo': baseurl = 'some_repo', descr = 'repo', enabled = 1, gpgcheck = 0, mirrorlist = absent, priority = 1, failovermethod = priority, metadata_expire = 60, sslcacert = absent, sslclientcert = absent, sslclientkey = absent, sslverify = false, }
Failed to apply catalog: Parameter sslverify failed on Yumrepo[optymyze]: Invalid value false. Valid values are absent. Valid values match /True|False/. at /etc/puppet/environments/production/modules/manage_repos/manifests/enable_repos.pp:20 Wrapped exception: Invalid value false. Valid values are absent. Valid values match /True|False/.
It seems that sslverify can only be set capitalized.












   

 Add Comment













Jira (PUP-2846) multiple providers are executed for the same resource

2014-10-06 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas commented on an issue


















  Re: multiple providers are executed for the same resource 










Sorry, please close this issue, as I can't reproduce it either anymore. Actually, I'm not so sure it was happening in the first place.












   

 Add Comment

























 Puppet /  PUP-2846



  multiple providers are executed for the same resource 







 Hello,   I'm trying to make a new provider for the firewall type, for amazon security groups.   But I'm trying to use both providers inside the catalog: some rules I need for iptables only (for ex. nat rules), others for the security groups only. I'm differentiating between the rules with a special tag.   I have only one class with something like this:...















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




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-3259) puppet 3.7 for el7 creates ssl certificates in /etc/puppet/ssl

2014-09-16 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas created an issue


















 Puppet /  PUP-3259



  puppet 3.7 for el7 creates ssl certificates in /etc/puppet/ssl 










Issue Type:

  Bug




Assignee:

 Kylo Ginsberg




Components:


 Client




Created:


 16/Sep/14 9:30 AM




Priority:

  Normal




Reporter:

 cristi falcas










Until puppet 3.6 on redhat clones, certificates where created by /var/lib/puppet/ssl.
Now default certificates are created in /etc/puppet/ssl












   

 Add Comment






















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


Jira (PUP-3259) puppet 3.7 for el7 creates ssl certificates in /etc/puppet/ssl

2014-09-16 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas commented on an issue


















  Re: puppet 3.7 for el7 creates ssl certificates in /etc/puppet/ssl 










Correct. Sorry for not investigating further. I tested again on a new machine and certificates are in /var/lib/puppet/ssl












   

 Add Comment

























 Puppet /  PUP-3259



  puppet 3.7 for el7 creates ssl certificates in /etc/puppet/ssl 







 Until puppet 3.6 on redhat clones, certificates where created by /var/lib/puppet/ssl.   Now default certificates are created in /etc/puppet/ssl 















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




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


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

2014-08-07 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas commented on an issue


















  Re: Invalid parameter provider for custom types/providers 










Any news about the status of this? Currently we can't use multiple environments because of this. Well, actually we use a development environment for our puppet masters where we keep all our modules in order to mitigate this.












   

 Add Comment

























 Puppet /  PUP-1515



  Invalid parameter provider for custom types/providers 







 In Puppet 3 I am getting an error on all definitions for custom types. It says Error 400 on SERVER: Invalid parameter provider Provider should be a given parameter for custom types because otherwise there is no way to specify which provider should be used with it. This is potentially a very major bug. Please let me know how I can help so you're ...















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




 














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

Jira (PUP-2981) auditd can't be restarted on el7

2014-07-28 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas created an issue


















 Puppet /  PUP-2981



  auditd can't be restarted on el7 










Issue Type:

  Bug




Assignee:


 Unassigned




Created:


 28/Jul/14 9:45 AM




Priority:

  Normal




Reporter:

 cristi falcas










Because of this https://bugzilla.redhat.com/show_bug.cgi?id=973697, puppet can't do a restart for auditd:
Error: /Stage[main]/Auditd::Service/Service[auditd]: Failed to call refresh: Could not restart Service[auditd]: Execution of '/usr/bin/systemctl restart auditd' returned 4: Failed to issue method call: Operation refused, unit auditd.service may be requested by dependency only.












   

 Add Comment






















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




 

Jira (PUP-2846) multiple providers are executed for the same resource

2014-06-27 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas updated an issue


















 Puppet /  PUP-2846



  multiple providers are executed for the same resource 










Change By:

 cristi falcas




Attachment:

 aws_securitygroup.rb












   

 Add Comment






















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




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2846) multiple providers are executed for the same resource

2014-06-27 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas commented on an issue


















  Re: multiple providers are executed for the same resource 










I have attached the stub I'm using to test amazon security group provider.












   

 Add Comment

























 Puppet /  PUP-2846



  multiple providers are executed for the same resource 







 Hello,   I'm trying to make a new provider for the firewall type, for amazon security groups.   But I'm trying to use both providers inside the catalog: some rules I need for iptables only (for ex. nat rules), others for the security groups only. I'm differentiating between the rules with a special tag.   I have only one class with something like this:...















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




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2846) multiple providers are executed for the same resource

2014-06-26 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas created an issue


















 Puppet /  PUP-2846



  multiple providers are executed for the same resource 










Issue Type:

  Bug




Affects Versions:


 3.6.2




Assignee:


 Unassigned




Created:


 26/Jun/14 11:29 AM




Priority:

  Normal




Reporter:

 cristi falcas










Hello,
I'm trying to make a new provider for the firewall type, for amazon security groups.
But I'm trying to use both providers inside the catalog: some rules I need for iptables only (for ex. nat rules), others for the security groups only. I'm differentiating between the rules with a special tag.
I have only one class with something like this:
firewall  { 000 accept all icmp requests: proto = icmp, action ="" accept, }
firewall  { '100 snat for network foo2': chain = 'POSTROUTING', jump = 'MASQUERADE', proto = 'all', outiface = eth0, source = '10.1.2.0/24', table = 'nat', tag = 'iptables', }




for amazon machines I have this rule to change the provider:




 Firewall | tag != 'iptables' |  { provider = 'aws_securitygroup', line = 'test', }
 

Jira (PUP-2846) multiple providers are executed for the same resource

2014-06-26 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas updated an issue


















 Puppet /  PUP-2846



  multiple providers are executed for the same resource 










Change By:

 cristi falcas









 Hello,I'mtryingtomakeanewproviderforthefirewalltype,foramazonsecuritygroups.ButI'mtryingtousebothprovidersinsidethecatalog:somerulesIneedforiptablesonly(forex.natrules),othersforthesecuritygroupsonly.I'mdifferentiatingbetweentheruleswithaspecialtag.Ihaveonlyoneclasswithsomethinglikethis: {code:title=Bar.puppet|borderStyle=solid} firewall{000acceptallicmprequests:proto=icmp,action=accept,}firewall{'100snatfornetworkfoo2':chain='POSTROUTING',jump='MASQUERADE',proto='all',outiface=eth0,source='10.1.2.0/24',table='nat',tag='iptables',}##foramazonmachinesIhavethisruletochangetheprovider:Firewall|tag!='iptables'|{provider='aws_securitygroup',line='test',} {code}   Muchtomysurprise,bothprovidersareexecutedforeachfirewallrule:soihaveasecurityruleaddedandaniptablesrule.Also,theruleswith'iptables'tagareexecutedonlywithiptablesprovider.Iwasexpectingforicmprulethatonlytheamazonrulewillbeexecuted.Don'tgetmewrong,Ilikethisverymuch,becauseInowhaveprotectiononamazonandonmachinealso(soIwouldlovetokeepthisbehaviour).Myquestionis:isthistheexpectedbehaviour(whichIdoubt)?Orit'ssomekindofbugIstumbledupon?Bestregards,CristianFalcas












   

 Add Comment






















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




 














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

Jira (PUP-2801) 'puppetca' needs feature to remove (/revoke) a pending certificate signing request

2014-06-19 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas commented on an issue


















  Re: 'puppetca' needs feature to remove (/revoke) a pending certificate signing request 










thank you, it's working












   

 Add Comment

























 Puppet /  PUP-2801



  'puppetca' needs feature to remove (/revoke) a pending certificate signing request 







 It is not possible to remove a pending certificate signing request with 'puppetca --revoke $fqdn':   pre  [root@X puppet]# puppetca --list  rhel32bit.x.local  [root@X puppet]# puppetca --revoke rhel32bit.x.local  rhel32bit.x.local  notice: Revoked certificate with serial # Inventory of signed certificates   err: Could not call revoke: Cannot convert i...















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




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2801) 'puppetca' needs feature to remove (/revoke) a pending certificate signing request

2014-06-18 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas commented on an issue


















  Re: 'puppetca' needs feature to remove (/revoke) a pending certificate signing request 










This still doesn't work:
puppet cert clean machine puppet cert revoke machine
output: Error: Could not find a serial number for machine












   

 Add Comment

























 Puppet /  PUP-2801



  'puppetca' needs feature to remove (/revoke) a pending certificate signing request 







 It is not possible to remove a pending certificate signing request with 'puppetca --revoke $fqdn':   pre  [root@X puppet]# puppetca --list  rhel32bit.x.local  [root@X puppet]# puppetca --revoke rhel32bit.x.local  rhel32bit.x.local  notice: Revoked certificate with serial # Inventory of signed certificates   err: Could not call revoke: Cannot convert i...















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




 














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

Jira (PUP-1928) puppet's idea of /etc/hosts management does not match real world use

2014-06-18 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas commented on an issue


















  Re: puppet's idea of /etc/hosts management does not match real world use 










Also, duplicates are not removed.












   

 Add Comment

























 Puppet /  PUP-1928



  puppet's idea of /etc/hosts management does not match real world use 







 Here is a valid extract from an {{/etc/hosts}} files on a RHEL box:  {noformat}  127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4  ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6  {noformat}  Here is the code to make puppet add these entries:  {noformat}  host { 'localhost':  ...















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




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-478) add a fact with the default temp dir.

2014-05-04 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas commented on an issue


















  Re: add a fact with the default temp dir. 










I'm using something like this:
require 'facter' Facter.add(temp_dir) { setcode  { Dir::tmpdir }
 }












   

 Add Comment

























 Facter /  FACT-478



  add a fact with the default temp dir. 







 Having e temp dir fact can be useful when you need to download files for example,  















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




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-478) add a fact with the default temp dir.

2014-05-04 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas created an issue


















 Facter /  FACT-478



  add a fact with the default temp dir. 










Issue Type:

  New Feature




Assignee:

 Eric Sorenson




Created:


 04/May/14 4:44 AM




Priority:

  Normal




Reporter:

 cristi falcas










Having e temp dir fact can be useful when you need to download files for example,












   

 Add Comment






















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




 














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

Jira (PUP-1477) provider command throws exception on unicode

2014-01-21 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas created an issue


















 Puppet /  PUP-1477



  provider command throws exception on unicode  










Issue Type:

  Bug




Affects Versions:


 3.4.1




Assignee:

 Kylo Ginsberg




Components:


 Types and Providers




Created:


 21/Jan/14 2:50 AM




Priority:

  Normal




Reporter:

 cristi falcas










I have a provider for pbis configuration (linux and ad integration) and a command for '/opt/pbis/bin/config':
commands :pbis_config = '/opt/pbis/bin/config'
which I use it like so:
output = pbis_config(setting, value)
Sometimes the command from pbis returns a string that has a unicode character inside (a zero-width space). If this happens an exception is thrown with the following message:
Debug: Executing '/opt/pbis/bin/config --show LoginShellTemplate' Debug: Joindomain[join_domain](provider=pbis): Execution of '/opt/pbis/bin/config --show LoginShellTemplate' returned 1: Error: Out of memory
I tested the output of the command from the console and used perl to decode the strings:
perl -e 'print sprintf(x {%x}
, $_) foreach (unpack(C*, /bin/bash​));print\n' \x {2f}\x{62}\x{69}\x{6e}\x{2f}
\x {62}
 

Jira (PUP-1477) provider command throws exception on unicode

2014-01-21 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas updated an issue


















 Puppet /  PUP-1477



  provider command throws exception on unicode  










Change By:

 cristi falcas









 Ihaveaproviderforpbisconfiguration(linuxandadintegration)andacommandfor'/opt/pbis/bin/config':commands:pbis_config='/opt/pbis/bin/config'whichIuseitlikeso:output=pbis_config(setting,value)Sometimesthecommandfrompbisreturnsastringthathasaunicodecharacterinside(azero-widthspace).Ifthishappensanexceptionisthrownwiththefollowingmessage:Debug:Executing'/opt/pbis/bin/config--showLoginShellTemplate'Debug:Joindomain[join_domain](provider=pbis):Executionof'/opt/pbis/bin/config--showLoginShellTemplate'returned1:Error:OutofmemoryItestedtheoutputofthecommandfromtheconsoleandusedperltodecodethestrings:  perl-e'printsprintf(\\x{%x},$_)foreach(unpack(C*,/bin/bash​));print\n'\x{2f}\x{62}\x{69}\x{6e}\x{2f}\x{62}\x{61}\x{73}\x{68}\x{e2}\x{80}\x{8b}Thelast3bytesaretheunicodecharactersforzero-widthspace.












   

 Add Comment






















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




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Jira (PUP-1477) provider command throws exception on unicode

2014-01-21 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas updated an issue


















 Puppet /  PUP-1477



  provider command throws exception on unicode  










Change By:

 cristi falcas









 Ihaveaproviderforpbisconfiguration(linuxandadintegration)andacommandfor'/opt/pbis/bin/config':commands:pbis_config='/opt/pbis/bin/config'whichIuseitlikeso:output=pbis_config(setting,value)Sometimesthecommandfrompbisreturnsastringthathasaunicodecharacterinside(azero-widthspace).Ifthishappensanexceptionisthrownwiththefollowingmessage:Debug:Executing'/opt/pbis/bin/config--showLoginShellTemplate'Debug:Joindomain[join_domain](provider=pbis):Executionof'/opt/pbis/bin/config--showLoginShellTemplate'returned1:Error:OutofmemoryItestedtheoutputofthecommandfromtheconsoleandusedperltodecodethestrings:perl-e'printsprintf(\\x{%x},$_)foreach(unpack(C*,/bin/bash​));print\n'\x{2f}\x{62}\x{69}\x{6e}\x{2f}\x{62}\x{61}\x{73}\x{68}\x{e2}\x{80}\x{8b}Thelast3bytesaretheunicodecharactersforzero-widthspace.












   

 Add Comment






















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




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Jira (PUP-1477) provider command throws exception on unicode

2014-01-21 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas updated an issue


















 Puppet /  PUP-1477



  provider command throws exception on unicode  










Change By:

 cristi falcas









 Ihaveaproviderforpbisconfiguration(linuxandadintegration)andacommandfor'/opt/pbis/bin/config':commands:pbis_config='/opt/pbis/bin/config'whichIuseitlikeso:output=pbis_config(setting,value)Sometimesthecommandfrompbisreturnsastringthathasaunicodecharacterinside(azero-widthspace).Ifthishappensanexceptionisthrownwiththefollowingmessage: {noformat} Debug:Executing'/opt/pbis/bin/config--showLoginShellTemplate'Debug:Joindomain[join_domain](provider=pbis):Executionof'/opt/pbis/bin/config--showLoginShellTemplate'returned1:Error:Outofmemory {noformat}   Itestedtheoutputofthecommandfromtheconsoleandusedperltodecodethestrings: {noformat} perl-e'printsprintf(\\x{%x},$_)foreach(unpack(C*,/bin/bash​));print\n'\x{2f}\x{62}\x{69}\x{6e}\x{2f}\x{62}\x{61}\x{73}\x{68}\x{e2}\x{80}\x{8b} {noformat}   Thelast3bytesaretheunicodecharactersforzero-widthspace.












   

 Add Comment






















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




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Jira (PUP-1477) provider command throws exception on unicode

2014-01-21 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas updated an issue


















 Puppet /  PUP-1477



  provider command throws exception on unicode  










Change By:

 cristi falcas









 Ihaveaproviderforpbisconfiguration(linuxandadintegration)andacommandfor'/opt/pbis/bin/config':commands:pbis_config='/opt/pbis/bin/config'whichIuseitlikeso:output=pbis_config(setting,value)Sometimesthecommandfrompbisreturnsastringthathasaunicodecharacterinside(azero-widthspace).Ifthishappensanexceptionisthrownwiththefollowingmessage:{noformat}Debug:Executing'/opt/pbis/bin/config--showLoginShellTemplate'Debug:Joindomain[join_domain](provider=pbis):Executionof'/opt/pbis/bin/config--showLoginShellTemplate'returned1:Error:Outofmemory{noformat}Itestedtheoutputofthecommandfromtheconsoleandusedperltodecodethestrings:{noformat}perl-e'printsprintf(\\x{%x},$_)foreach(unpack(C*,/bin/bash​));print\n'\x{2f}\x{62}\x{69}\x{6e}\x{2f}\x{62}\x{61}\x{73}\x{68}\x{e2}\x{80}\x{8b}{noformat}Thelast3bytesaretheunicodecharactersforzero-widthspace. Fulloutputofthecommand:{noformat}/opt/pbis/bin/config--showLoginShellTemplatestring/bin/bash​localpolicy{noformat}












   

 Add Comment






















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




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Jira (PUP-1477) provider command throws exception on unicode

2014-01-21 Thread cristi falcas (JIRA)
Title: Message Title










 

 cristi falcas commented on an issue


















  Re: provider command throws exception on unicode  










Here is the information required:
[root@v-323-op-app1 ~]# locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_ALL=
ruby-1.8.7.374-1.el5
[root@v-323-op-app1 ~]# cat /etc/oracle-release Oracle Linux Server release 5.9












   

 Add Comment

























 Puppet /  PUP-1477



  provider command throws exception on unicode  







 I have a provider for pbis configuration (linux and ad integration) and a command for '/opt/pbis/bin/config':   commands :pbis_config = '/opt/pbis/bin/config'   which I use it like so:   output = pbis_config(setting, value)   Sometimes the command from pbis returns a string that has a unicode character inside (a zero-width space). If this happens a...















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