[Puppet Users] puppet-agent 7 & 8 nightly builds for MacOS 13 (ARM)

2023-08-03 Thread 'Swati Yamgar' via Puppet Users
Hello,

We are happy to announce that puppet-agent nightly builds for MacOS 13 (ARM) 
are now available at https://nightlies.puppet.com/downloads/mac.

Please try them out and let us know if you have any questions!

Thank you.

--

Swati Yamgar (she/her) | Software Engineer, 
Puppet

Perforce 
Software
Visit us on: 
LinkedIn
 | 
Twitter
 | 
Facebook
 | 
YouTube



This e-mail may contain information that is privileged or confidential. If you 
are not the intended recipient, please delete the e-mail and any attachments 
and notify us immediately.

-- 
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/PH7PR20MB43900E5154549C95DEA7486AF808A%40PH7PR20MB4390.namprd20.prod.outlook.com.


[Puppet Users] Re: Custom Fact Deployment

2023-08-03 Thread Mike Langhorst
My experiences are with Puppet enterprise, but most of this should port 
directly over to your needs.

Early on, I created a module of my own $org_custom_facts, so that I could 
keep all of them together, when they weren't part of some other specific 
module.

If you want to write a shell script, like you say you already have, it will 
need to output the fact back to stdout as a key=value format such as 
location=Dallas.  Put this in your module in a subdirectory of facts.d.

Then just add this module to the environment, with Puppet Enterprise this 
would be in the Puppetfile thru control repo.  You don't need to include 
this module to any hosts or host classes, just having it within the 
environment would make this fact available to use.

Mike


On Thursday, August 3, 2023 at 12:32:06 AM UTC-7 acia...@icloud.com wrote:

> Hello All,
>
> maybe it's already has been discussed, I tried to search but I didn't find 
> the right thread.
> I'm not expert in Puppet and made simple scripts.
>
> I'm using RHEL Satellite with Puppet 7 ENC (I know that RHEL want to move 
> out from puppet, but until i can integrate it I will use it, after I will 
> see).
>
> I need to crate a custom fact to see some information based on IP Address.
> I created a Bash Script that give me an output of the location based on 
> CIDR, but I want use full automation and begin to launch specific class 
> based on fact.
>
> I don't know where I need to start, i read how create a fact but it still 
> confusing because I can't find the directory where put the script or how 
> deploy in all my clients.
>
> Someone can help me, maybe with step by step to understand it.
>
> Thank you in advance who want to 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/e6ee05fd-bffa-45bb-af44-4380bb882e6an%40googlegroups.com.


[Puppet Users] Custom Fact Deployment

2023-08-03 Thread 'Alessandro Ciappei' via Puppet Users
Hello All,

maybe it's already has been discussed, I tried to search but I didn't find 
the right thread.
I'm not expert in Puppet and made simple scripts.

I'm using RHEL Satellite with Puppet 7 ENC (I know that RHEL want to move 
out from puppet, but until i can integrate it I will use it, after I will 
see).

I need to crate a custom fact to see some information based on IP Address.
I created a Bash Script that give me an output of the location based on 
CIDR, but I want use full automation and begin to launch specific class 
based on fact.

I don't know where I need to start, i read how create a fact but it still 
confusing because I can't find the directory where put the script or how 
deploy in all my clients.

Someone can help me, maybe with step by step to understand it.

Thank you in advance who want to 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/e17d49d4-a0e3-4441-86f3-133a227d413cn%40googlegroups.com.