Re: [Puppet Users] external node classifier with a back-end

2013-12-31 Thread Jason Antman
Stuart,

I know this took a while, but there were some bureaucratic hoops to be
jumped through first.

Our Python/Django (Postgres-backed) ENC, or what exists of it so far, is
now at https://github.com/coxmediagroup/nodemeister

Be advised this is horribly Alpha, doesn't really have any tests yet,
and relies on an internal python module. In other words, for the time
being, it's really there as code to look at only, I wouldn't expect you
to get it installed and running without some serious Python knowledge.

-Jason

On 12/06/2013 12:59 PM, Stuart Cracraft wrote:
 HI Jason,

 No I have no hesitations at all and yes, I would enjoy seeing your
 Postgres code
 and learning from it and can share back.

 So the thought here is to have all the configuration data, client
 data, node data, in
 a Postgres database (the one on the Puppet Master) and used downline
 by all the various
 Linux apps which need it, including Puppet.

 I take it (hopefully) this is not too unusual and bizarre in the world
 of Puppet.


 On Thursday, December 5, 2013 4:16:10 AM UTC-8, Jason Antman wrote:

 PuppetDB isn't an ENC. PuppetDB does, however, use Postgres
 (unless you use the embedded database, which you shouldn't).
 Puppet Dashboard is an ENC, but ironically, uses MySQL not Postgres.

 Stuart,

 Starting *another* ENC thread a day later isn't likely to get you
 many more responses than the two to your last question. I assumed,
 given your lack of response to my reply, that you're not terribly
 interested in sharing what you need an ENC to do... As I
 mentioned, I'm working on getting a Python/Django
 (Postgres-backed) ENC ready for release... if you want to see the
 current code, that could be arranged, though it's not really up to
 the just run this puppet module and it installs the ENC stage yet.

 -jantman

 On 12/04/2013 05:10 PM, Stuart Cracraft wrote:
 Hi Ygor/Dan,

 Postgres has better DR.

 We like Postgres.

 Stuart

 On Wednesday, December 4, 2013 2:03:10 PM UTC-8, Ygor wrote:

 Isn't that what PuppetDB is ?

 �Sometimes I think the surest sign that intelligent life
 exists elsewhere in the universe is that none of it has tried
 to contact us.�
 Bill Waterson (Calvin  Hobbes)

 
 
 *From: *Stuart Cracraft smcra...@gmail.com
 *To: *puppet...@googlegroups.com
 *Sent: *Wednesday, December 4, 2013 4:33:51 PM
 *Subject: *[Puppet Users] external node classifier with a
 back-end


 Hi everybody!

 Anyone have a back-ended external node classifier to a
 Postgres database
 they could throw my way?

 Stuart


 -- 
 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-users...@googlegroups.com.
 To view this discussion on the web visit
 
 https://groups.google.com/d/msgid/puppet-users/7781bed3-7e5a-46e2-8949-e00bfac0fbd0%40googlegroups.com
 
 https://groups.google.com/d/msgid/puppet-users/7781bed3-7e5a-46e2-8949-e00bfac0fbd0%40googlegroups.com.
 For more options, visit
 https://groups.google.com/groups/opt_out
 https://groups.google.com/groups/opt_out.

 -- 
 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-users...@googlegroups.com javascript:.
 To view this discussion on the web visit
 
 https://groups.google.com/d/msgid/puppet-users/c642f1be-1121-4ab9-b56a-29b54809140f%40googlegroups.com
 
 https://groups.google.com/d/msgid/puppet-users/c642f1be-1121-4ab9-b56a-29b54809140f%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out
 https://groups.google.com/groups/opt_out.

 -- 
 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-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/puppet-users/1909c6a8-9dc8-48bf-a397-f975a82749ac%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/52C2B346.1050500%40jasonantman.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] external node classifier with a back-end

2013-12-31 Thread Stuart Cracraft
Great Jason - I'll take a look (have done a ton of Python.) 

Happy new year.

On Dec 31, 2013, at 4:06 AM, Jason Antman ja...@jasonantman.com wrote:

 Stuart,
 
 I know this took a while, but there were some bureaucratic hoops to be jumped 
 through first.
 
 Our Python/Django (Postgres-backed) ENC, or what exists of it so far, is now 
 at https://github.com/coxmediagroup/nodemeister
 
 Be advised this is horribly Alpha, doesn't really have any tests yet, and 
 relies on an internal python module. In other words, for the time being, it's 
 really there as code to look at only, I wouldn't expect you to get it 
 installed and running without some serious Python knowledge.
 
 -Jason
 
 On 12/06/2013 12:59 PM, Stuart Cracraft wrote:
 HI Jason,
 
 No I have no hesitations at all and yes, I would enjoy seeing your Postgres 
 code
 and learning from it and can share back.
 
 So the thought here is to have all the configuration data, client data, node 
 data, in
 a Postgres database (the one on the Puppet Master) and used downline by all 
 the various
 Linux apps which need it, including Puppet.
 
 I take it (hopefully) this is not too unusual and bizarre in the world of 
 Puppet.
 
 
 On Thursday, December 5, 2013 4:16:10 AM UTC-8, Jason Antman wrote:
 PuppetDB isn't an ENC. PuppetDB does, however, use Postgres (unless you use 
 the embedded database, which you shouldn't). Puppet Dashboard is an ENC, but 
 ironically, uses MySQL not Postgres.
 
 Stuart,
 
 Starting *another* ENC thread a day later isn't likely to get you many more 
 responses than the two to your last question. I assumed, given your lack of 
 response to my reply, that you're not terribly interested in sharing what 
 you need an ENC to do... As I mentioned, I'm working on getting a 
 Python/Django (Postgres-backed) ENC ready for release... if you want to see 
 the current code, that could be arranged, though it's not really up to the 
 just run this puppet module and it installs the ENC stage yet.
 
 -jantman
 
 On 12/04/2013 05:10 PM, Stuart Cracraft wrote:
 Hi Ygor/Dan,
 
 Postgres has better DR.
 
 We like Postgres.
 
 Stuart
 
 On Wednesday, December 4, 2013 2:03:10 PM UTC-8, Ygor wrote:
 Isn't that what PuppetDB is ?
 
 �Sometimes I think the surest sign that intelligent life exists elsewhere 
 in the universe is that none of it has tried to contact us.�
 Bill Waterson (Calvin  Hobbes)
 
 From: Stuart Cracraft smcra...@gmail.com
 To: puppet...@googlegroups.com
 Sent: Wednesday, December 4, 2013 4:33:51 PM
 Subject: [Puppet Users] external node classifier with a back-end
 
 
 Hi everybody!
 
 Anyone have a back-ended external node classifier to a Postgres database
 they could throw my way?
 
 Stuart
 
 
 -- 
 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-users...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/7781bed3-7e5a-46e2-8949-e00bfac0fbd0%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
 -- 
 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-users...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/c642f1be-1121-4ab9-b56a-29b54809140f%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
 
 -- 
 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-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/1909c6a8-9dc8-48bf-a397-f975a82749ac%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
 
 
 -- 
 You received this message because you are subscribed to a topic in the Google 
 Groups Puppet Users group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/puppet-users/4lwPsp4gv7M/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 puppet-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/52C2B346.1050500%40jasonantman.com.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/C1308D94-009F-4599-B7A0-A54DB3F3649C%40me.com.
For more options, visit https://groups.google.com

Re: [Puppet Users] external node classifier with a back-end

2013-12-07 Thread Jason Antman
So you're looking to put Puppet data and other data for other
applications in ONE database? That doesn't sound terribly safe...

How is this data getting into the database? What types of functionality
do you need? Just something like Dashboard with nodes and groups that
can have params and classes? Inheritance? Exclusions?

If all you want is a database that stores classes/params for nodes, and
uses them on a 1:1 basis, this is a trivial problem and is really just
an issue of writing a tool to get data into the database. The hard
part of an ENC is handling things like groups, multiple inheritance,
overrides, exclusions, etc.

I'm still not clear on the functionality and interface that you want for
this, and I'm also unclear on the distinction between what you call
configuration data, client data and node data.

-Jason

On 12/06/2013 12:59 PM, Stuart Cracraft wrote:
 HI Jason,

 No I have no hesitations at all and yes, I would enjoy seeing your
 Postgres code
 and learning from it and can share back.

 So the thought here is to have all the configuration data, client
 data, node data, in
 a Postgres database (the one on the Puppet Master) and used downline
 by all the various
 Linux apps which need it, including Puppet.

 I take it (hopefully) this is not too unusual and bizarre in the world
 of Puppet.


 On Thursday, December 5, 2013 4:16:10 AM UTC-8, Jason Antman wrote:

 PuppetDB isn't an ENC. PuppetDB does, however, use Postgres
 (unless you use the embedded database, which you shouldn't).
 Puppet Dashboard is an ENC, but ironically, uses MySQL not Postgres.

 Stuart,

 Starting *another* ENC thread a day later isn't likely to get you
 many more responses than the two to your last question. I assumed,
 given your lack of response to my reply, that you're not terribly
 interested in sharing what you need an ENC to do... As I
 mentioned, I'm working on getting a Python/Django
 (Postgres-backed) ENC ready for release... if you want to see the
 current code, that could be arranged, though it's not really up to
 the just run this puppet module and it installs the ENC stage yet.

 -jantman

 On 12/04/2013 05:10 PM, Stuart Cracraft wrote:
 Hi Ygor/Dan,

 Postgres has better DR.

 We like Postgres.

 Stuart

 On Wednesday, December 4, 2013 2:03:10 PM UTC-8, Ygor wrote:

 Isn't that what PuppetDB is ?

 �Sometimes I think the surest sign that intelligent life
 exists elsewhere in the universe is that none of it has tried
 to contact us.�
 Bill Waterson (Calvin  Hobbes)

 
 
 *From: *Stuart Cracraft smcra...@gmail.com
 *To: *puppet...@googlegroups.com
 *Sent: *Wednesday, December 4, 2013 4:33:51 PM
 *Subject: *[Puppet Users] external node classifier with a
 back-end


 Hi everybody!

 Anyone have a back-ended external node classifier to a
 Postgres database
 they could throw my way?

 Stuart


 -- 
 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-users...@googlegroups.com.
 To view this discussion on the web visit
 
 https://groups.google.com/d/msgid/puppet-users/7781bed3-7e5a-46e2-8949-e00bfac0fbd0%40googlegroups.com
 
 https://groups.google.com/d/msgid/puppet-users/7781bed3-7e5a-46e2-8949-e00bfac0fbd0%40googlegroups.com.
 For more options, visit
 https://groups.google.com/groups/opt_out
 https://groups.google.com/groups/opt_out.

 -- 
 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-users...@googlegroups.com javascript:.
 To view this discussion on the web visit
 
 https://groups.google.com/d/msgid/puppet-users/c642f1be-1121-4ab9-b56a-29b54809140f%40googlegroups.com
 
 https://groups.google.com/d/msgid/puppet-users/c642f1be-1121-4ab9-b56a-29b54809140f%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out
 https://groups.google.com/groups/opt_out.

 -- 
 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-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/puppet-users/1909c6a8-9dc8-48bf-a397-f975a82749ac%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

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

Re: [Puppet Users] external node classifier with a back-end

2013-12-06 Thread Stuart Cracraft
HI Jason,

No I have no hesitations at all and yes, I would enjoy seeing your Postgres 
code
and learning from it and can share back.

So the thought here is to have all the configuration data, client data, 
node data, in
a Postgres database (the one on the Puppet Master) and used downline by all 
the various
Linux apps which need it, including Puppet.

I take it (hopefully) this is not too unusual and bizarre in the world of 
Puppet.


On Thursday, December 5, 2013 4:16:10 AM UTC-8, Jason Antman wrote:

  PuppetDB isn't an ENC. PuppetDB does, however, use Postgres (unless you 
 use the embedded database, which you shouldn't). Puppet Dashboard is an 
 ENC, but ironically, uses MySQL not Postgres.

 Stuart,

 Starting *another* ENC thread a day later isn't likely to get you many 
 more responses than the two to your last question. I assumed, given your 
 lack of response to my reply, that you're not terribly interested in 
 sharing what you need an ENC to do... As I mentioned, I'm working on 
 getting a Python/Django (Postgres-backed) ENC ready for release... if you 
 want to see the current code, that could be arranged, though it's not 
 really up to the just run this puppet module and it installs the ENC 
 stage yet.

 -jantman

 On 12/04/2013 05:10 PM, Stuart Cracraft wrote:
  
  Hi Ygor/Dan,

  Postgres has better DR.

  We like Postgres.

  Stuart

 On Wednesday, December 4, 2013 2:03:10 PM UTC-8, Ygor wrote:

  Isn't that what PuppetDB is ?

 �Sometimes I think the surest sign that intelligent life exists 
 elsewhere in the universe is that none of it has tried to contact us.�
 Bill Waterson (Calvin  Hobbes)
  
 --
 *From: *Stuart Cracraft smcra...@gmail.com
 *To: *puppet...@googlegroups.com
 *Sent: *Wednesday, December 4, 2013 4:33:51 PM
 *Subject: *[Puppet Users] external node classifier with a back-end

  
  Hi everybody!

  Anyone have a back-ended external node classifier to a Postgres database
 they could throw my way?

  Stuart

  
  -- 
 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-users...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/7781bed3-7e5a-46e2-8949-e00bfac0fbd0%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.
  
  -- 
 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-users...@googlegroups.com javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/c642f1be-1121-4ab9-b56a-29b54809140f%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.


 

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1909c6a8-9dc8-48bf-a397-f975a82749ac%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] external node classifier with a back-end

2013-12-05 Thread Jason Antman
PuppetDB isn't an ENC. PuppetDB does, however, use Postgres (unless you 
use the embedded database, which you shouldn't). Puppet Dashboard is an 
ENC, but ironically, uses MySQL not Postgres.


Stuart,

Starting *another* ENC thread a day later isn't likely to get you many 
more responses than the two to your last question. I assumed, given your 
lack of response to my reply, that you're not terribly interested in 
sharing what you need an ENC to do... As I mentioned, I'm working on 
getting a Python/Django (Postgres-backed) ENC ready for release... if 
you want to see the current code, that could be arranged, though it's 
not really up to the just run this puppet module and it installs the 
ENC stage yet.


-jantman

On 12/04/2013 05:10 PM, Stuart Cracraft wrote:

Hi Ygor/Dan,

Postgres has better DR.

We like Postgres.

Stuart

On Wednesday, December 4, 2013 2:03:10 PM UTC-8, Ygor wrote:

Isn't that what PuppetDB is ?

“Sometimes I think the surest sign that intelligent life exists
elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin  Hobbes)


*From: *Stuart Cracraft smcra...@gmail.com javascript:
*To: *puppet...@googlegroups.com javascript:
*Sent: *Wednesday, December 4, 2013 4:33:51 PM
*Subject: *[Puppet Users] external node classifier with a back-end


Hi everybody!

Anyone have a back-ended external node classifier to a Postgres
database
they could throw my way?

Stuart


-- 
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-users...@googlegroups.com javascript:.
To view this discussion on the web visit

https://groups.google.com/d/msgid/puppet-users/7781bed3-7e5a-46e2-8949-e00bfac0fbd0%40googlegroups.com

https://groups.google.com/d/msgid/puppet-users/7781bed3-7e5a-46e2-8949-e00bfac0fbd0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out
https://groups.google.com/groups/opt_out.

--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c642f1be-1121-4ab9-b56a-29b54809140f%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.


--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/52A06E8A.4040804%40jasonantman.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] external node classifier with a back-end

2013-12-04 Thread Dan White
Isn't that what PuppetDB is ? 


“Sometimes I think the surest sign that intelligent life exists elsewhere in 
the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin  Hobbes) 

- Original Message -
From: Stuart Cracraft smcracr...@gmail.com 
To: puppet-users@googlegroups.com 
Sent: Wednesday, December 4, 2013 4:33:51 PM 
Subject: [Puppet Users] external node classifier with a back-end 





Hi everybody! 


Anyone have a back-ended external node classifier to a Postgres database 
they could throw my way? 


Stuart 





-- 
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-users+unsubscr...@googlegroups.com. 
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7781bed3-7e5a-46e2-8949-e00bfac0fbd0%40googlegroups.com
 . 
For more options, visit https://groups.google.com/groups/opt_out . 

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/549109965.4863727.1386194590631.JavaMail.root%40sz0126a.westchester.pa.mail.comcast.net.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] external node classifier with a back-end

2013-12-04 Thread Stuart Cracraft
Hi Ygor/Dan,

Postgres has better DR.

We like Postgres.

Stuart

On Wednesday, December 4, 2013 2:03:10 PM UTC-8, Ygor wrote:

 Isn't that what PuppetDB is ?

 “Sometimes I think the surest sign that intelligent life exists elsewhere 
 in the universe is that none of it has tried to contact us.”
 Bill Waterson (Calvin  Hobbes)

 --
 *From: *Stuart Cracraft smcra...@gmail.com javascript:
 *To: *puppet...@googlegroups.com javascript:
 *Sent: *Wednesday, December 4, 2013 4:33:51 PM
 *Subject: *[Puppet Users] external node classifier with a back-end


 Hi everybody!

 Anyone have a back-ended external node classifier to a Postgres database
 they could throw my way?

 Stuart


  -- 
 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-users...@googlegroups.com javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/7781bed3-7e5a-46e2-8949-e00bfac0fbd0%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c642f1be-1121-4ab9-b56a-29b54809140f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] external node classifier with a back-end

2013-12-04 Thread Stuart Cracraft

And if you do not want to store secretive (complete) company data in 
PuppetDB but instead an alternative securable database, what then pray tell?

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/E22CF187-0DDD-409E-9784-4F9995215551%40me.com.
For more options, visit https://groups.google.com/groups/opt_out.