Re: [Puppet Users] Puppet doens't sync from Master

2022-03-01 Thread Martin Alfke
Hi Alessandro,

In this case you have different node classification.

1. Check manifests/site.pp in your control-repo.
2. If you are using PE: check the PE node groups.
3. If you have enabled Foreman/Satellite - Puppet integration: check your 
Foreman/Satellite Puppet configuration for each node.

hth,
Martin


> On 1. Mar 2022, at 11:05, 'Alessandro Ciappei' via Puppet Users 
>  wrote:
> 
> Hi Martin, 
> 
> thank you for your reply.
> Indeed the classes.txt file is different.
> 
> On the client, there are only 'settings' and missing all other classes.
> If I try to force it, when I lunch puppet agent, the file will be overwritten.
> 
> There is somewhere I can check?
> 
> All the best
> Alex
> 
> On Tuesday, March 1, 2022 at 7:51:23 AM UTC Martin Alfke wrote:
> Check on both nodes the content of files in 
> /opt/puppetlabs/puppet/cache/state directory.
> Especially classes.txt and resources.txt.
> 
> If file content differs between the two nodes, your classification is not 
> identical.
> 
> hth,
> Martin
> 
> 
>> On 28. Feb 2022, at 12:29, 'Alessandro Ciappei' via Puppet Users 
>> > > wrote:
>> 
> 
>> Hello everyone,
>> 
>> I'm new on this group, but I use puppet from several years now.
>> I'm writing you because I have an issue with my puppet.
>> 
>> I have Puppet Master included in RHEL Satellite Server.
>> All the client on same network sync and download/update the catalog and 
>> contents.
>> Client from another network who passing over firewall can connect to puppet 
>> master, request the sync.
>> The catalog sync without error, but the content are not pulled from the 
>> Master.
>> 
>> This is output from server in another network:
>> [root@ ~]# puppet agent -tv
>> Info: Using configured environment 'installation'
>> Info: Retrieving pluginfacts
>> Info: Retrieving plugin
>> Info: Retrieving locales
>> Info: Loading facts
>> Info: Caching catalog for **
>> Info: Applying configuration version '1646047554'
>> Notice: Applied catalog in 0.03 seconds
>> [root@* ~]#
>> 
>> This is output from the server on same network:
>> 
>> [root@* ~]# puppet agent -tv
>> Info: Using configured environment 'installation'
>> Info: Retrieving pluginfacts
>> Info: Retrieving plugin
>> Info: Retrieving locales
>> Info: Loading facts
>> Info: Caching catalog for ***
>> Info: Applying configuration version '1646047614'
>> Notice: /Stage[main]/Motd/File[/etc/motd]/content:
>> --- /etc/motd   2022-02-28 10:32:18.495445592 +
>> +++ /tmp/puppet-file20220228-7595-1s9ihep   2022-02-28 
>> 11:26:55.057023750 +
>> @@ -40,7 +40,7 @@
>>  Memory Size:   3.65 GiB
>>  System Uptime: 1 day
>> 
>> -System Load:   {15m => 0.0, 1m => 0.0, 5m => 0.0}
>> +System Load:   {15m => 0.01, 1m => 0.08, 5m => 0.02}
>> 
>> 
>>  Environment:   Installation
>> 
>> Notice: /Stage[main]/Motd/File[/etc/motd]/content: content changed 
>> '{md5}3c2c5b6d897d03f2953738db6eb89f32' to 
>> '{md5}a388e5aeaeb5ee6684f2cb64937bf426'
>> Notice: Applied catalog in 0.35 seconds
>> [root@*** ~]#
>> 
>> Both are RHEL 8 on same hostgroup etc
>> 
>> Someone can help me?
>> 
>> All the best
>> Alex
>> 
> 
>> -- 
>> 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/448593ff-799d-49dd-9cd4-510039b7ea54n%40googlegroups.com
>>  
>> .
> 
> 
> -- 
> 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/9fa3ca1f-58a9-4d90-9705-5621fbf64d03n%40googlegroups.com
>  
> .

-- 
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/8990965B-C426-4CB4-A2EF-74B9DCE84190%40gmail.com.


Re: [Puppet Users] Puppet doens't sync from Master

2022-03-01 Thread 'Alessandro Ciappei' via Puppet Users
Hi Martin, 

thank you for your reply.
Indeed the classes.txt file is different.

On the client, there are only 'settings' and missing all other classes.
If I try to force it, when I lunch puppet agent, the file will be 
overwritten.

There is somewhere I can check?

All the best
Alex

On Tuesday, March 1, 2022 at 7:51:23 AM UTC Martin Alfke wrote:

> Check on both nodes the content of files in 
> /opt/puppetlabs/puppet/cache/state directory.
> Especially classes.txt and resources.txt.
>
> If file content differs between the two nodes, your classification is not 
> identical.
>
> hth,
> Martin
>
> On 28. Feb 2022, at 12:29, 'Alessandro Ciappei' via Puppet Users <
> puppet...@googlegroups.com> wrote:
>
> Hello everyone,
>
> I'm new on this group, but I use puppet from several years now.
> I'm writing you because I have an issue with my puppet.
>
> I have Puppet Master included in RHEL Satellite Server.
> All the client on same network sync and download/update the catalog and 
> contents.
> Client from another network who passing over firewall can connect to 
> puppet master, request the sync.
> The catalog sync without error, but the content are not pulled from the 
> Master.
>
> This is output from server in another network:
> [root@ ~]# puppet agent -tv
> Info: Using configured environment 'installation'
> Info: Retrieving pluginfacts
> Info: Retrieving plugin
> Info: Retrieving locales
> Info: Loading facts
> Info: Caching catalog for **
> Info: Applying configuration version '1646047554'
> Notice: Applied catalog in 0.03 seconds
> [root@* ~]#
>
> This is output from the server on same network:
>
> [root@* ~]# puppet agent -tv
> Info: Using configured environment 'installation'
> Info: Retrieving pluginfacts
> Info: Retrieving plugin
> Info: Retrieving locales
> Info: Loading facts
> Info: Caching catalog for ***
> Info: Applying configuration version '1646047614'
> Notice: /Stage[main]/Motd/File[/etc/motd]/content:
> --- /etc/motd   2022-02-28 10:32:18.495445592 +
> +++ /tmp/puppet-file20220228-7595-1s9ihep   2022-02-28 
> 11:26:55.057023750 +
> @@ -40,7 +40,7 @@
>  Memory Size:   3.65 GiB
>  System Uptime: 1 day
>
> -System Load:   {15m => 0.0, 1m => 0.0, 5m => 0.0}
> +System Load:   {15m => 0.01, 1m => 0.08, 5m => 0.02}
>
>
>  Environment:   Installation
>
> Notice: /Stage[main]/Motd/File[/etc/motd]/content: content changed 
> '{md5}3c2c5b6d897d03f2953738db6eb89f32' to 
> '{md5}a388e5aeaeb5ee6684f2cb64937bf426'
> Notice: Applied catalog in 0.35 seconds
> [root@*** ~]#
>
> Both are RHEL 8 on same hostgroup etc
>
> Someone can help me?
>
> All the best
> Alex
>
> -- 
> 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/448593ff-799d-49dd-9cd4-510039b7ea54n%40googlegroups.com
>  
> 
> .
>
>
>

-- 
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/9fa3ca1f-58a9-4d90-9705-5621fbf64d03n%40googlegroups.com.


Re: [Puppet Users] Puppet doens't sync from Master

2022-02-28 Thread Martin Alfke
Check on both nodes the content of files in /opt/puppetlabs/puppet/cache/state 
directory.
Especially classes.txt and resources.txt.

If file content differs between the two nodes, your classification is not 
identical.

hth,
Martin

> On 28. Feb 2022, at 12:29, 'Alessandro Ciappei' via Puppet Users 
>  wrote:
> 
> Hello everyone,
> 
> I'm new on this group, but I use puppet from several years now.
> I'm writing you because I have an issue with my puppet.
> 
> I have Puppet Master included in RHEL Satellite Server.
> All the client on same network sync and download/update the catalog and 
> contents.
> Client from another network who passing over firewall can connect to puppet 
> master, request the sync.
> The catalog sync without error, but the content are not pulled from the 
> Master.
> 
> This is output from server in another network:
> [root@ ~]# puppet agent -tv
> Info: Using configured environment 'installation'
> Info: Retrieving pluginfacts
> Info: Retrieving plugin
> Info: Retrieving locales
> Info: Loading facts
> Info: Caching catalog for **
> Info: Applying configuration version '1646047554'
> Notice: Applied catalog in 0.03 seconds
> [root@* ~]#
> 
> This is output from the server on same network:
> 
> [root@* ~]# puppet agent -tv
> Info: Using configured environment 'installation'
> Info: Retrieving pluginfacts
> Info: Retrieving plugin
> Info: Retrieving locales
> Info: Loading facts
> Info: Caching catalog for ***
> Info: Applying configuration version '1646047614'
> Notice: /Stage[main]/Motd/File[/etc/motd]/content:
> --- /etc/motd   2022-02-28 10:32:18.495445592 +
> +++ /tmp/puppet-file20220228-7595-1s9ihep   2022-02-28 11:26:55.057023750 
> +
> @@ -40,7 +40,7 @@
>  Memory Size:   3.65 GiB
>  System Uptime: 1 day
> 
> -System Load:   {15m => 0.0, 1m => 0.0, 5m => 0.0}
> +System Load:   {15m => 0.01, 1m => 0.08, 5m => 0.02}
> 
> 
>  Environment:   Installation
> 
> Notice: /Stage[main]/Motd/File[/etc/motd]/content: content changed 
> '{md5}3c2c5b6d897d03f2953738db6eb89f32' to 
> '{md5}a388e5aeaeb5ee6684f2cb64937bf426'
> Notice: Applied catalog in 0.35 seconds
> [root@*** ~]#
> 
> Both are RHEL 8 on same hostgroup etc
> 
> Someone can help me?
> 
> All the best
> Alex
> 
> -- 
> 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/448593ff-799d-49dd-9cd4-510039b7ea54n%40googlegroups.com
>  
> .

-- 
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/9CA18611-E6C9-4599-9F72-9869E1DA852A%40gmail.com.


[Puppet Users] Puppet doens't sync from Master

2022-02-28 Thread 'Alessandro Ciappei' via Puppet Users
Hello everyone,

I'm new on this group, but I use puppet from several years now.
I'm writing you because I have an issue with my puppet.

I have Puppet Master included in RHEL Satellite Server.
All the client on same network sync and download/update the catalog and 
contents.
Client from another network who passing over firewall can connect to puppet 
master, request the sync.
The catalog sync without error, but the content are not pulled from the 
Master.

This is output from server in another network:
[root@ ~]# puppet agent -tv
Info: Using configured environment 'installation'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for **
Info: Applying configuration version '1646047554'
Notice: Applied catalog in 0.03 seconds
[root@* ~]#

This is output from the server on same network:

[root@* ~]# puppet agent -tv
Info: Using configured environment 'installation'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for ***
Info: Applying configuration version '1646047614'
Notice: /Stage[main]/Motd/File[/etc/motd]/content:
--- /etc/motd   2022-02-28 10:32:18.495445592 +
+++ /tmp/puppet-file20220228-7595-1s9ihep   2022-02-28 
11:26:55.057023750 +
@@ -40,7 +40,7 @@
 Memory Size:   3.65 GiB
 System Uptime: 1 day

-System Load:   {15m => 0.0, 1m => 0.0, 5m => 0.0}
+System Load:   {15m => 0.01, 1m => 0.08, 5m => 0.02}


 Environment:   Installation

Notice: /Stage[main]/Motd/File[/etc/motd]/content: content changed 
'{md5}3c2c5b6d897d03f2953738db6eb89f32' to 
'{md5}a388e5aeaeb5ee6684f2cb64937bf426'
Notice: Applied catalog in 0.35 seconds
[root@*** ~]#

Both are RHEL 8 on same hostgroup etc

Someone can help me?

All the best
Alex

-- 
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/448593ff-799d-49dd-9cd4-510039b7ea54n%40googlegroups.com.