[Puppet Users] Error: Failed to submit 'deactivate node' command

2015-05-19 Thread Vincent Weathers
This may have been asked before, but I'm having problems clearing out nodes from puppetdb. Some background info: OS: [root@puppet-sys puppet]# cat /etc/redhat-release Scientific Linux release 6.6 (Carbon) Puppet version: [root@puppet-sys puppet]# puppet -V 3.7.5 PuppetDB version: 2.3.4 Pupp

[Puppet Users] Re: Newbie got cart before horse - how to make Puppet files match reality

2015-05-19 Thread Juan Treminio
Evening Karen, I have Vagrant run shell scripts to setup the environment as required. They start here: https://github.com/puphpet/puphpet/blob/master/archive/puphpet/vagrant/Vagrantfile-local#L197 The shell scripts are located here: https://github.com/puphpet/puphpet/tree/master/archive/puphpe

[Puppet Users] Re: Newbie got cart before horse - how to make Puppet files match reality

2015-05-19 Thread Karen Ellrick
One short question for Juan: How does PuPHPet install/run Puppet? I decided to try learning Puppet by doing a simple server without PuPHPet, but I keep running into instructions to install a Windows-based Puppet Agent service and/or a Ruby gem. As far as I can tell, PuPHPet did its magic success

Re: [Puppet Users] Puppet for VM on Windows 7 - confused!

2015-05-19 Thread Karen Ellrick
Thanks for the response, Rob, and for taking action to clarify the documentation. (And thanks also to Joseph, although he must have not noticed in my OP that I'm already running Vagrant.) Sorry I took so long to get back to working on this - I was pulled away to other things for a while. I thin

[Puppet Users] Adding users to MySql from Active Directory

2015-05-19 Thread Allan Carroll
Hi all, I see that it's possible to use the MySql module to create users and manage grants. And, it's also possible to have Puppet authenticate against Active Directory. I'm not seeing a simple way to bridge between the two (or don't understand puppet well enough). What I'd like to do is have

Re: [Puppet Users] Anyone really using Postgres for a Hiera backend?

2015-05-19 Thread Garrett Honeycutt
On 5/14/15 9:36 AM, jcbollinger wrote: > > > On Wednesday, May 13, 2015 at 3:10:29 PM UTC-5, Martin Marcher wrote: > > Funny, I'd rather ask: is anyone *not* using Postgres? > > > Postgres for PuppetDB for sure, but for an Hiera back end? I'm sure > there indeed are people who use a Postg

Re: [Puppet Users] Re: Puppet Augeas Provider and augtool

2015-05-19 Thread Felix Frank
On 05/19/2015 01:35 PM, bjoern pohl wrote: > ouch... > just some minor modifications and it works :) > augtool print *'*/files/etc/sudoers/Cmnd_Alias[alias/name = "HOMEMGMT"]' > > not sure what my shell is eating there... perhaps that slash... The quotes, most likely :-) Nice catch. -- You rece

[Puppet Users] Re: Anyone really using Postgres for a Hiera backend?

2015-05-19 Thread Tony Thayer
Actually, I just realized I was using my own fork of the original: https://github.com/tthayer/hiera-psql I'm not using it actively anymore and I doubt my previous employer is still using it either. There is an open issue stating that it doesn't work with the new puppetserver, too: https://githu

[Puppet Users] Re: Anyone really using Postgres for a Hiera backend?

2015-05-19 Thread Tony Thayer
I used this one a while back: https://github.com/tioteath/hiera-psql The main issue I ran into was it required a very recent version of Postgres in order to use the JSON column type. I had a django frontend hooked into it to allow for easily updating node definitions. On Wednesday, May 13, 2015

[Puppet Users] Re: Puppet Augeas Provider and augtool

2015-05-19 Thread bjoern pohl
ouch... just some minor modifications and it works :) augtool print *'*/files/etc/sudoers/Cmnd_Alias[alias/name = "HOMEMGMT"]' not sure what my shell is eating there... perhaps that slash... -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To u

[Puppet Users] Re: counting failures, success, and so on - giving wrong counts

2015-05-19 Thread Klavs Klavsen
I found a solution. adding --distinct (incl. start and end time, set to yesterday and today) - it works. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-

[Puppet Users] Puppet Augeas Provider and augtool

2015-05-19 Thread bjoern pohl
Hi, i'm currently developing some manifests using the augeas provider ( mostly using the sudoers lens) and I am permanently running into trouble. It seems that the augeas provider and augtool behave differently regarding path declarations, making it worse to test and develop things. But perhaps