Jira (PUP-1567) conf_dir and var_dir is hard coded in masterless mode

2014-02-02 Thread Manuel Zach (JIRA)
Title: Message Title










 

 Manuel Zach created an issue


















 Puppet /  PUP-1567



  conf_dir and var_dir is hard coded in masterless mode 










Issue Type:

  Bug




Affects Versions:


 3.4.2




Assignee:

 Eric Sorenson




Created:


 02/Feb/14 2:34 AM




Environment:


Unix, Linux




Priority:

  Normal




Reporter:

 Manuel Zach










If puppet is used in the masterless mode with the root user, always /etc/puppet and /var/lib/puppet is used.
As definied in: run_mode.rb
 class UnixRunMode  RunMode def conf_dir which_dir(/etc/puppet, ~/.puppet) end
 def var_dir which_dir(/var/lib/puppet, ~/.puppet/var) end end
It would be nice to make conf_dir and var_dir configurable at install time. install.rb --configdir has no effect and an option for var_dir is not existing.












   

 Add Comment
   

Jira (PUP-1568) Error reporting within augeas provider fails

2014-02-02 Thread Peter Meier (JIRA)
Title: Message Title










 

 Peter Meier created an issue


















 Puppet /  PUP-1568



  Error reporting within augeas provider fails 










Issue Type:

  Bug




Affects Versions:


 3.4.2




Assignee:

 Kylo Ginsberg




Components:


 Types and Providers




Created:


 02/Feb/14 5:13 AM




Labels:


 puppet augeas




Priority:

  Normal




Reporter:

 Peter Meier










If the augeas provider fails to store a change to a file it's error reporting is broken due to the refactoring that happened in https://github.com/puppetlabs/puppet/commit/000b8fef6a33e5c9f56c0801523de15a0e5bc30b


# cat foo.pp 
augeas{'enable_shorewall':
  context = '/files/etc/sysconfig/shorewall',
  changes = 'set startup 1',
  lens= 'Shellvars.lns',
  incl= '/etc/sysconfig/shorewall',
}
# lsattr /etc/sysconfig/shorewall
ie- /etc/sysconfig/shorewall
# puppet apply --debug --trace foo.pp 
Notice: Compiled catalog for foo in environment production in 0.10 seconds
Debug: Creating default schedules
Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dsimport does not exist
Debug: 

Jira (PUP-1569) PR (2324): Fix/master/pup 1568 fix error reporting - duritong

2014-02-02 Thread gepetto-bot (JIRA)
Title: Message Title










 

 gepetto-bot created an issue


















 Puppet /  PUP-1569



  PR (2324): Fix/master/pup 1568 fix error reporting - duritong 










Issue Type:

  Task




Assignee:

 Eric Sorenson




Components:


 Community




Created:


 02/Feb/14 5:52 AM




Labels:


 github




Priority:

  Normal




Reporter:

 gepetto-bot










Fix/master/pup 1568 fix error reporting


Author: duritong 


Company:


Github ID: duritong


Pull Request 2324 Discussion


Pull Request 2324 File Diff


Pull Request Description

https://tickets.puppetlabs.com/browse/PUP-1568
 

Jira (PUP-1568) Error reporting within augeas provider fails

2014-02-02 Thread Peter Meier (JIRA)
Title: Message Title










 

 Peter Meier commented on an issue


















  Re: Error reporting within augeas provider fails 










https://github.com/puppetlabs/puppet/pull/2324












   

 Add Comment

























 Puppet /  PUP-1568



  Error reporting within augeas provider fails 







 If the augeas provider fails to store a change to a file it's error reporting is broken due to the refactoring that happened in https://github.com/puppetlabs/puppet/commit/000b8fef6a33e5c9f56c0801523de15a0e5bc30b   {noformat}  # cat foo.pp  augeas{'enable_shorewall':  context = '/files/etc/sysconfig/shorewall',  changes = 'set startup 1',  lens ...















 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 (PDB-378) Empty query on reports results in http 500

2014-02-02 Thread Daniele Sluijters (JIRA)
Title: Message Title










 

 Daniele Sluijters created an issue


















 PuppetDB /  PDB-378



  Empty query on reports results in http 500 










Issue Type:

  Bug




Assignee:

 Deepak Giridharagopal




Created:


 02/Feb/14 5:53 AM




Priority:

  Normal




Reporter:

 Daniele Sluijters










/v3/reports?query= returns an HTTP 500












   

 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 

Jira (PDB-379) /nodes/nodename/reports

2014-02-02 Thread Daniele Sluijters (JIRA)
Title: Message Title










 

 Daniele Sluijters created an issue


















 PuppetDB /  PDB-379



  /nodes/nodename/reports 










Issue Type:

  Improvement




Assignee:

 Deepak Giridharagopal




Created:


 02/Feb/14 5:54 AM




Priority:

  Normal




Reporter:

 Daniele Sluijters










Query for all the reports for that certname.












   

 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 

Jira (PDB-380) /repors/hash

2014-02-02 Thread Daniele Sluijters (JIRA)
Title: Message Title










 

 Daniele Sluijters created an issue


















 PuppetDB /  PDB-380



  /repors/hash 










Issue Type:

  Improvement




Assignee:

 Deepak Giridharagopal




Created:


 02/Feb/14 5:56 AM




Priority:

  Normal




Reporter:

 Daniele Sluijters










Just be able to pass in a hash instead of needing to use the query once we can do PDB-379












   

 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 (PDB-381) Unresponsive during large imports

2014-02-02 Thread Daniele Sluijters (JIRA)
Title: Message Title










 

 Daniele Sluijters created an issue


















 PuppetDB /  PDB-381



  Unresponsive during large imports 










Issue Type:

  Improvement




Assignee:

 Deepak Giridharagopal




Created:


 02/Feb/14 6:52 AM




Priority:

  Normal




Reporter:

 Daniele Sluijters










It looks like while running imports all the HTTP connections are getting used up making PuppetDB unresponsive to anything trying to get data through the API.












   

 Add Comment






















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




 














-- 
You 

Jira (PUP-1569) PR (2324): Fix/master/pup 1568 fix error reporting - duritong

2014-02-02 Thread gepetto-bot (JIRA)
Title: Message Title










 

 gepetto-bot commented on an issue


















  Re: PR (2324): Fix/master/pup 1568 fix error reporting - duritong 










puppetcla commented:
CLA signed by all contributors.












   

 Add Comment

























 Puppet /  PUP-1569



  PR (2324): Fix/master/pup 1568 fix error reporting - duritong 







 h2. Fix/master/pup 1568 fix error reporting  * Author: duritong  * Company:  * Github ID: [duritong|https://github.com/duritong] * [Pull Request 2324 Discussion|https://github.com/puppetlabs/puppet/pull/2324] * [Pull Request 2324 File Diff|https://github.com/puppetlabs/puppet/pull/2324/files]  h2. Pull Request Description   https://tickets.pupp...















 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 (PDB-382) Webhooks-y support

2014-02-02 Thread Daniele Sluijters (JIRA)
Title: Message Title










 

 Daniele Sluijters created an issue


















 PuppetDB /  PDB-382



  Webhooks-y support 










Issue Type:

  Improvement




Assignee:

 Deepak Giridharagopal




Created:


 02/Feb/14 7:13 AM




Priority:

  Normal




Reporter:

 Daniele Sluijters










You had a great idea during FOSDEM, remember?












   

 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 

Jira (PUP-1570) Puppet Agent hanging on applying configuration

2014-02-02 Thread Brian Stolz (JIRA)
Title: Message Title










 

 Brian Stolz created an issue


















 Puppet /  PUP-1570



  Puppet Agent hanging on applying configuration 










Issue Type:

  Bug




Affects Versions:


 3.4.2




Assignee:

 Eric Sorenson




Created:


 02/Feb/14 11:17 AM




Environment:


ubuntu




Priority:

  Normal




Reporter:

 Brian Stolz










Probably worth noting, I run a setup with a puppetmaster and the agents connecting to that to get their manifests.
My puppet agents get stuck applying configuration every once and awhile. For example:
root 769 0.0 2.8 42616 29292 ? S Jan16 0:02 puppet agent: applying configurat root 28554 0.4 2.5 38244 25996 ? Ssl Jan12 136:58 /usr/bin/ruby /usr/bin/puppet agent
It is currently February 2nd, so that worker has been stuck for over 2 weeks.
An strace on pid 769 gives:



sudo strace -p 769
Process 769 attached - interrupt to quit
select(9, [8], NULL, NULL, NULL



An strace of pid gives (TRUNCATED)



select(7, [5], [], 

Jira (PUP-1406) PR (2236): Add ability to override default system confdir and vardir - jeffmccune

2014-02-02 Thread gepetto-bot (JIRA)
Title: Message Title










 

 gepetto-bot commented on an issue


















  Re: PR (2236): Add ability to override default system confdir and vardir - jeffmccune 










jeffmccune commented:
 On Jan 30, 2014, at 12:46 PM, Andrew Parker notificati...@github.com wrote:   Yep, my main concern is the added complexity.
OK. I may try once more just for my own exercise, but please know I'm not trying to create any additional work or anything and I'm personally 100% OK if a second try doesn't get merged either.
I'll try to keep it as simple as possible since complexity is the main concern.
  Just trying to figure out if it'd be worth my time trying again with the   aim of eliminating the config files.  Would you be interested in trying to change it to a packaging time  configuration?
Not really, I mean, I'm really not trying to be deliberately difficult or stubborn, it's just that my primary motivation is to try to avoid re-packaging altogether by making the official gem feasible in these types of alternate confdir scenarios.
It's really not that big of a deal, so I'm fine just keeping these ideas on a back burner percolating.












   

 Add Comment

























 Puppet /  PUP-1406



  PR (2236): Add ability to override default system confdir and vardir - jeffmccune 







 h2. Add ability to override default system confdir and vardir  * Author: Jeff McCune j...@puppetlabs.com * Company: Puppet Labs * Github ID: [jeffmccune|https://github.com/jeffmccune] * [Pull Request 2236 Discussion|https://github.com/puppetlabs/puppet/pull/2236] * [Pull Request 2236 File Diff|https://github.com/puppetlabs/puppet/pull/2236/files]  ...





Jira (PUP-1570) Puppet Agent hanging on applying configuration

2014-02-02 Thread Eric Sorenson (JIRA)
Title: Message Title










 

 Eric Sorenson updated an issue


















 Puppet /  PUP-1570



  Puppet Agent hanging on applying configuration 










Change By:

 Eric Sorenson




Assignee:

 EricSorenson BrianStolz












   

 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-1570) Puppet Agent hanging on applying configuration

2014-02-02 Thread Eric Sorenson (JIRA)
Title: Message Title










 

 Eric Sorenson commented on an issue


















  Re: Puppet Agent hanging on applying configuration 










the select() hang is pretty fishy. what's file descriptor 8 (lsof should show you) connected to? this sounds like the kernel bug in https://projects.puppetlabs.com/issues/10418 – what OS/kernel version are you using? which facter version?












   

 Add Comment

























 Puppet /  PUP-1570



  Puppet Agent hanging on applying configuration 







 Probably worth noting, I run a setup with a puppetmaster and the agents connecting to that to get their manifests.   My puppet agents get stuck applying configuration every once and awhile. For example:   root 769 0.0 2.8 42616 29292 ? S Jan16 0:02 puppet agent: applying configurat  root 28554 0.4 2.5 38244 25996 ? Ss...















 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 

Jira (PUP-1570) Puppet Agent hanging on applying configuration

2014-02-02 Thread Brian Stolz (JIRA)
Title: Message Title










 

 Brian Stolz commented on an issue


















  Re: Puppet Agent hanging on applying configuration 










Does this make sense?



migration 7  root  cwd   DIR  202,0 4096  2 /
migration 7  root  rtd   DIR  202,0 4096  2 /
migration 7  root  txt   unknown/proc/7/exe



Ubuntu 3.11.6-x86-linode54












   

 Add Comment

























 Puppet /  PUP-1570



  Puppet Agent hanging on applying configuration 







 Probably worth noting, I run a setup with a puppetmaster and the agents connecting to that to get their manifests.   My puppet agents get stuck applying configuration every once and awhile. For example:   root 769 0.0 2.8 42616 29292 ? S Jan16 0:02 puppet agent: applying configurat  root 28554 0.4 2.5 38244 25996 ? Ss...















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




 














-- 
You received this message 

Jira (PUP-1570) Puppet Agent hanging on applying configuration

2014-02-02 Thread Brian Stolz (JIRA)
Title: Message Title










 

 Brian Stolz commented on an issue


















  Re: Puppet Agent hanging on applying configuration 










Facter 1.7.4












   

 Add Comment

























 Puppet /  PUP-1570



  Puppet Agent hanging on applying configuration 







 Probably worth noting, I run a setup with a puppetmaster and the agents connecting to that to get their manifests.   My puppet agents get stuck applying configuration every once and awhile. For example:   root 769 0.0 2.8 42616 29292 ? S Jan16 0:02 puppet agent: applying configurat  root 28554 0.4 2.5 38244 25996 ? Ss...















 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-1570) Puppet Agent hanging on applying configuration

2014-02-02 Thread Brian Stolz (JIRA)
Title: Message Title










 

 Brian Stolz commented on an issue


















  Re: Puppet Agent hanging on applying configuration 










Actually .. I think this may be what you are looking for:



puppet  769  root7r  REG0,30 4026532406 /proc/769/net/vlan/config















   

 Add Comment

























 Puppet /  PUP-1570



  Puppet Agent hanging on applying configuration 







 Probably worth noting, I run a setup with a puppetmaster and the agents connecting to that to get their manifests.   My puppet agents get stuck applying configuration every once and awhile. For example:   root 769 0.0 2.8 42616 29292 ? S Jan16 0:02 puppet agent: applying configurat  root 28554 0.4 2.5 38244 25996 ? Ss...















 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