Re: [Puppet Users] puppet master stopped loading facts since puppetdb installation

2013-12-19 Thread cko
Yes, ist looks exactly like this.

cat /etc/puppet/routes.yaml 
---
master:
  facts:
terminus: puppetdb
cache: yaml


On Thursday, December 19, 2013 1:41:13 PM UTC+1, Erik Dalén wrote:
>
> Sounds like there could be something wrong with your routes.yaml file. 
> Does it look like this example? 
> http://docs.puppetlabs.com/puppetdb/latest/connect_puppet_master.html#edit-routesyaml
>
>
> On 18 December 2013 08:27, cko > wrote:
>
>> Every node (except for the master) does something like this when i run 
>> "puppet agent -t":
>>
>>
>> root@node1:~$ puppet agent -t
>>> Info: Retrieving plugin
>>> Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
>>> Info: Loading facts in /var/lib/puppet/lib/facter/environment.rb
>>> Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
>>> Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
>>> Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
>>> Info: Loading facts in 
>>> /var/lib/puppet/lib/facter/ssh_hostkey_localhost.rb
>>> Info: Loading facts in /var/lib/puppet/lib/facter/fsecure_version.rb
>>> Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
>>> Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
>>> Info: Loading facts in 
>>> /var/lib/puppet/lib/facter/iptables_persistent_version.rb
>>> Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
>>> Info: Caching catalog for node1.local.domain
>>> Info: Applying configuration version '1386350341'
>>> Notice: Finished catalog run in 25.51 seconds
>>>
>>  
>> The puppet master however doesn't. 
>>
>> An example on how this affects the functionality:
>>
>> I use a template that manages the /etc/motd file. 
>> It contains the fact "kernelrelease". Meaning after i update the kernel 
>> on the master, this information is supposed to be updated. (I'm still 
>> talking about the master server, every other nodes works as expected!)
>> But since the master doesn't load facts on a run, the motd file doesn't 
>> get updated.
>>
>>
>>
>> On Wednesday, December 18, 2013 12:13:09 AM UTC+1, Deepak Giridharagopal 
>> wrote:
>>>
>>> On Dec 17, 2013, at 9:56 AM, cko  wrote:
>>>
>>> hey,
>>>
>>> so i just installed puppetdb on a dedicated server (with pgsql). 
>>>
>>> I noticed that the puppet master server doesn't load any facts.
>>>
>>>
>>> What do you mean "doesn't load any facts"? What is the problem you're 
>>> seeing?
>>>
>>>
>>> root@puppetmaster:~$ puppet agent -t
 Info: Retrieving plugin
 Info: Caching catalog for puppetmaster.local.domain
 Info: 'replace catalog' command for puppetmaster.local.domain submitted 
 to PuppetDB with UUID 87de0ebc-1543-4b8a-8434-ca9220238fda
 Info: Applying configuration version '1387297065'
 Notice: Finished catalog run in 20.88 seconds

>>>
>>> Is this intended? Or did i miss something while installing and 
>>> connecting puppetDB?
>>>
>>> -- 
>>> 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/18ad2d51-9259-4abb-97a4-5b28bd77eee0%
>>> 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/4f188ea4-bab7-4b30-9154-07b22ad4bc88%40googlegroups.com
>> .
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Erik Dalén 
>

-- 
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/e1c2303b-1f04-4439-8732-5a484f372982%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] puppet master stopped loading facts since puppetdb installation

2013-12-19 Thread Erik Dalén
Sounds like there could be something wrong with your routes.yaml file. Does
it look like this example?
http://docs.puppetlabs.com/puppetdb/latest/connect_puppet_master.html#edit-routesyaml


On 18 December 2013 08:27, cko  wrote:

> Every node (except for the master) does something like this when i run
> "puppet agent -t":
>
>
> root@node1:~$ puppet agent -t
>> Info: Retrieving plugin
>> Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/environment.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/ssh_hostkey_localhost.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/fsecure_version.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
>> Info: Loading facts in
>> /var/lib/puppet/lib/facter/iptables_persistent_version.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
>> Info: Caching catalog for node1.local.domain
>> Info: Applying configuration version '1386350341'
>> Notice: Finished catalog run in 25.51 seconds
>>
>
> The puppet master however doesn't.
>
> An example on how this affects the functionality:
>
> I use a template that manages the /etc/motd file.
> It contains the fact "kernelrelease". Meaning after i update the kernel on
> the master, this information is supposed to be updated. (I'm still talking
> about the master server, every other nodes works as expected!)
> But since the master doesn't load facts on a run, the motd file doesn't
> get updated.
>
>
>
> On Wednesday, December 18, 2013 12:13:09 AM UTC+1, Deepak Giridharagopal
> wrote:
>>
>> On Dec 17, 2013, at 9:56 AM, cko  wrote:
>>
>> hey,
>>
>> so i just installed puppetdb on a dedicated server (with pgsql).
>>
>> I noticed that the puppet master server doesn't load any facts.
>>
>>
>> What do you mean "doesn't load any facts"? What is the problem you're
>> seeing?
>>
>>
>> root@puppetmaster:~$ puppet agent -t
>>> Info: Retrieving plugin
>>> Info: Caching catalog for puppetmaster.local.domain
>>> Info: 'replace catalog' command for puppetmaster.local.domain submitted
>>> to PuppetDB with UUID 87de0ebc-1543-4b8a-8434-ca9220238fda
>>> Info: Applying configuration version '1387297065'
>>> Notice: Finished catalog run in 20.88 seconds
>>>
>>
>> Is this intended? Or did i miss something while installing and connecting
>> puppetDB?
>>
>> --
>> 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/18ad2d51-9259-4abb-97a4-5b28bd77eee0%
>> 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/4f188ea4-bab7-4b30-9154-07b22ad4bc88%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Erik Dalén

-- 
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/CAAAzDLfSmo4rxRbTRtuO-1g5kP2GTFR85NaO94-zVsXmxv-NbA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] puppet master stopped loading facts since puppetdb installation

2013-12-17 Thread cko
Every node (except for the master) does something like this when i run 
"puppet agent -t":


root@node1:~$ puppet agent -t
> Info: Retrieving plugin
> Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/environment.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/ssh_hostkey_localhost.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/fsecure_version.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
> Info: Loading facts in 
> /var/lib/puppet/lib/facter/iptables_persistent_version.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
> Info: Caching catalog for node1.local.domain
> Info: Applying configuration version '1386350341'
> Notice: Finished catalog run in 25.51 seconds
>
 
The puppet master however doesn't. 

An example on how this affects the functionality:

I use a template that manages the /etc/motd file. 
It contains the fact "kernelrelease". Meaning after i update the kernel on 
the master, this information is supposed to be updated. (I'm still talking 
about the master server, every other nodes works as expected!)
But since the master doesn't load facts on a run, the motd file doesn't get 
updated.



On Wednesday, December 18, 2013 12:13:09 AM UTC+1, Deepak Giridharagopal 
wrote:
>
> On Dec 17, 2013, at 9:56 AM, cko > wrote:
>
> hey,
>
> so i just installed puppetdb on a dedicated server (with pgsql). 
>
> I noticed that the puppet master server doesn't load any facts.
>
>
> What do you mean "doesn't load any facts"? What is the problem you're 
> seeing?
>
>
> root@puppetmaster:~$ puppet agent -t
>> Info: Retrieving plugin
>> Info: Caching catalog for puppetmaster.local.domain
>> Info: 'replace catalog' command for puppetmaster.local.domain submitted 
>> to PuppetDB with UUID 87de0ebc-1543-4b8a-8434-ca9220238fda
>> Info: Applying configuration version '1387297065'
>> Notice: Finished catalog run in 20.88 seconds
>>
>
> Is this intended? Or did i miss something while installing and connecting 
> puppetDB?
>
> -- 
> 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/18ad2d51-9259-4abb-97a4-5b28bd77eee0%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/4f188ea4-bab7-4b30-9154-07b22ad4bc88%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] puppet master stopped loading facts since puppetdb installation

2013-12-17 Thread Deepak Giridharagopal
On Dec 17, 2013, at 9:56 AM, cko  wrote:

> hey,
> 
> so i just installed puppetdb on a dedicated server (with pgsql). 
> 
> I noticed that the puppet master server doesn't load any facts.

What do you mean "doesn't load any facts"? What is the problem you're seeing?

> 
> root@puppetmaster:~$ puppet agent -t
> Info: Retrieving plugin
> Info: Caching catalog for puppetmaster.local.domain
> Info: 'replace catalog' command for puppetmaster.local.domain submitted to 
> PuppetDB with UUID 87de0ebc-1543-4b8a-8434-ca9220238fda
> Info: Applying configuration version '1387297065'
> Notice: Finished catalog run in 20.88 seconds
> 
> Is this intended? Or did i miss something while installing and connecting 
> puppetDB?
> 
> -- 
> 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/18ad2d51-9259-4abb-97a4-5b28bd77eee0%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/F21E9B43-7E5D-45C7-BC2F-55EDDFAF3BE9%40puppetlabs.com.
For more options, visit https://groups.google.com/groups/opt_out.