Re: [Puppet Users] storeconfigs and exported resources?

2013-02-07 Thread Ken Barber
That hash been changed now on docs.puppetlabs.com Jakov, again ... thanks. On Wed, Feb 6, 2013 at 8:56 PM, Ken Barber k...@puppetlabs.com wrote: Also, please note that puppetmasterd section is still in the official documentation, like for example here:

Re: [Puppet Users] storeconfigs and exported resources?

2013-02-07 Thread Jakov Sosic
On 02/07/2013 02:35 PM, Ken Barber wrote: That hash been changed now on docs.puppetlabs.com Jakov, again ... thanks. No problem, always glad to help back :) -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop

Re: [Puppet Users] storeconfigs and exported resources?

2013-02-06 Thread Jakov Sosic
On 02/04/2013 02:02 PM, Ken Barber wrote: You can see without those lines in routes.yaml it still sends a replace catalog. You simply shouldn't need that part. If for some reason you do, then something isn't right, and we are probably better to drill into the 'why' now rather than later :-).

Re: [Puppet Users] storeconfigs and exported resources?

2013-02-04 Thread Ken Barber
Also your routes.yaml doesn't match the documentation I gave you either, nor should you be setting thin_storeconfigs any more as stated in another section. Yeah, but if I remove the section for catalog, I don't get replacing catalogs in puppetdb log... But since my initial problem was wrong

Re: [Puppet Users] storeconfigs and exported resources?

2013-02-03 Thread Jakov Sosic
On 02/02/2013 12:31 PM, Ken Barber wrote: Here is the documentation for wiring up the puppetmaster to puppetdb: http://docs.puppetlabs.com/puppetdb/1.1/connect_puppet_master.html Make sure you follow all of these steps and see how you go. Also remember to restart your puppetmaster :-). It

Re: [Puppet Users] storeconfigs and exported resources?

2013-02-03 Thread Ken Barber
I followed the howto, but exported resources just don't get applied on agents... The documentation is fairly precise, looking at your configuration snippet: # cat /etc/puppet/puppet.conf [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl

Re: [Puppet Users] storeconfigs and exported resources?

2013-02-03 Thread Ken Barber
Also your routes.yaml doesn't match the documentation I gave you either, nor should you be setting thin_storeconfigs any more as stated in another section. You probably want to take a fresh top to bottom look through the documentation, like I said its fairly precise and you shouldn't go stray if

Re: [Puppet Users] storeconfigs and exported resources?

2013-02-03 Thread Jakov Sosic
On 02/03/2013 10:11 PM, Ken Barber wrote: You can see that the section is called [master] not [puppetmasterd]. This needs to be changed, and then you'll need to restart your puppetmaster. Damn.. I'm really ashamed now :-/ -- Jakov Sosic www.srce.unizg.hr -- You received this message

Re: [Puppet Users] storeconfigs and exported resources?

2013-02-03 Thread Jakov Sosic
On 02/03/2013 10:19 PM, Ken Barber wrote: Also your routes.yaml doesn't match the documentation I gave you either, nor should you be setting thin_storeconfigs any more as stated in another section. Yeah, but if I remove the section for catalog, I don't get replacing catalogs in puppetdb

Re: [Puppet Users] storeconfigs and exported resources?

2013-02-02 Thread Ken Barber
Here is the documentation for wiring up the puppetmaster to puppetdb: http://docs.puppetlabs.com/puppetdb/1.1/connect_puppet_master.html Make sure you follow all of these steps and see how you go. Also remember to restart your puppetmaster :-). It sounds like at least your routes.yaml isn't

Re: [Puppet Users] storeconfigs and exported resources?

2013-02-01 Thread Jakov Sosic
On 01/19/2013 05:44 AM, Jakov Sosic wrote: On 01/19/2013 05:35 AM, Jakov Sosic wrote: On 01/19/2013 04:26 AM, Ken Barber wrote: Yes, if you want to use exported resource this is the current endorsed path. Thank you for your answer. I did set up puppetdb as described in official

Re: [Puppet Users] storeconfigs and exported resources?

2013-02-01 Thread Jakov Sosic
On 02/01/2013 11:45 PM, Jakov Sosic wrote: But I don't see the solution... :) Still no help? :-/ Any idea how should I approach to debugging this ? OK, after i put this into my routes.yaml: catalog: cache: puppetdb lines in the puppetdb.log with [replace catalog] finally started to

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-18 Thread Jakov Sosic
On 01/15/2013 01:22 AM, Jakov Sosic wrote: On 01/14/2013 10:01 PM, David Schmitt wrote: You also need to run the puppetmaster with --db-migrate (or similar) once. Tried, but didn't help either... :-/ If only I had a way to debug it... No errors in log, nothing... OK, I've switched to MySQL

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-18 Thread Jakov Sosic
On 01/19/2013 03:57 AM, Jakov Sosic wrote: I've tried connecting through localhost and everything works fine... This is my node manifest: @@file { /tmp/foo: content = fjskfjs\n, tag = 'bla' } File | tag == 'bla' | but the file is never generated, and mysql database has no tables in it

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-18 Thread Ken Barber
Yes, if you want to use exported resource this is the current endorsed path. On Sat, Jan 19, 2013 at 3:01 AM, Jakov Sosic jso...@srce.hr wrote: On 01/19/2013 03:57 AM, Jakov Sosic wrote: I've tried connecting through localhost and everything works fine... This is my node manifest:

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-18 Thread Jakov Sosic
On 01/19/2013 04:26 AM, Ken Barber wrote: Yes, if you want to use exported resource this is the current endorsed path. Thank you for your answer. I did set up puppetdb as described in official documentation, and my puppet.conf now looks like: [puppetmasterd] storeconfigs = true

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-18 Thread Jakov Sosic
On 01/19/2013 05:35 AM, Jakov Sosic wrote: On 01/19/2013 04:26 AM, Ken Barber wrote: Yes, if you want to use exported resource this is the current endorsed path. Thank you for your answer. I did set up puppetdb as described in official documentation, and my puppet.conf now looks like:

[Puppet Users] storeconfigs and exported resources?

2013-01-14 Thread Jakov Sosic
Hi, I've enabled storeconfigs on my puppetmaster: [puppetmasterd] storeconfigs = true thin_storeconfigs = true dbadapter = sqlite3 dblocation = $statedir/clientconfigs.sqlite3 And added this code to one of my nodes: @@file { /tmp/foo: content = fjskfjs\n, tag = foofile, }

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-14 Thread Martin Alfke
Hi Jkov, On 14.01.2013, at 19:03, Jakov Sosic jso...@srce.hr wrote: Hi, I've enabled storeconfigs on my puppetmaster: [puppetmasterd] storeconfigs = true thin_storeconfigs = true dbadapter = sqlite3 dblocation = $statedir/clientconfigs.sqlite3 Have you restarted your

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-14 Thread Jakov Sosic
On 01/14/2013 07:55 PM, Martin Alfke wrote: I've enabled storeconfigs on my puppetmaster: [puppetmasterd] storeconfigs = true thin_storeconfigs = true dbadapter = sqlite3 dblocation = $statedir/clientconfigs.sqlite3 Have you restarted your puppetmaster after doing the

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-14 Thread David Schmitt
On 2013-01-14 20:12, Jakov Sosic wrote: On 01/14/2013 07:55 PM, Martin Alfke wrote: I've enabled storeconfigs on my puppetmaster: [puppetmasterd] storeconfigs = true thin_storeconfigs = true dbadapter = sqlite3 dblocation = $statedir/clientconfigs.sqlite3 Have you restarted

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-14 Thread Jakov Sosic
On 01/14/2013 10:01 PM, David Schmitt wrote: You also need to run the puppetmaster with --db-migrate (or similar) once. Tried, but didn't help either... :-/ If only I had a way to debug it... No errors in log, nothing... -- Jakov Sosic www.srce.unizg.hr -- You received this message