Puppet Open Source Deployment for Windows

Hi Experts,

I am a newbie in being a DevOps and I am mostly familiar with infrastructure support and implementation.

I need to setup a puppet environment from scratch for my workplace using open source puppet.

I need inputs, guides and help in creating this environment.

I will post a series of steps that i have taken for this environment.

My main problem so far is how to use puppet opensource to push config on a group of nodes rather than waiting for the agents to pull or update from the server, I think puppet enterprise has this function, but I'm not sure if this doable in open source puppet.

Hoping for the experts to help me in this concern,

More power and thank you EE!
Gene FontanillaInfrastructure Project LeadAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zephyr ICTCloud ArchitectCommented:
While there are some "hacks" to make puppet push changes to a range of hosts, it's not really meant as doing so ...

If you are looking into puppet and don't mind to introduce some open source into your network, I'd take a look at Foreman, it's a  lifecycle management tool that integrates with a lot of technologies and leverages puppet. You can use that to push out changes (to groups or all), it keeps track of your servers (monitoring), it's the complete package... It's sorta like the puppet enterprise web front end, but open source. If you want to go a step further you can also take a look at katello.
Gene FontanillaInfrastructure Project LeadAuthor Commented:
Hi spravtek,

I don't really mind adding open-source tools to my network, my main concern is efficiency, and easy tools to work with.

Can you send me links or guides in setting up foreman? I know its easy to install but handling foreman itself would be the next challenge
Zephyr ICTCloud ArchitectCommented:
I'm sorry, I've seemed to completely lost track of this one ... Strange.

Anyway... Maybe by now you'll have found the website for Foreman and its documentation. This is a good place to start because it will be the most up to date... That being said, here are some other links that will help you get to grips with Foreman:

Link1
Link2

As I said, these links do not only help with installing, but also will guide you through installing a first module, which will give you an idea of what is possible using Foreman.

Again, sorry for the late reply.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Gene FontanillaInfrastructure Project LeadAuthor Commented:
hi sparvtek,

I will read on the links you have sent me.

thank you very much for the response :)
Gene FontanillaInfrastructure Project LeadAuthor Commented:
I was wondering how i can handle a number of hosts at the same time or like a "group" pushing a config from the foreman
Zephyr ICTCloud ArchitectCommented:
Hi, You should be able to do this using host groups and attaching puppet classes to them.
There's a nice presentation here
Gene FontanillaInfrastructure Project LeadAuthor Commented:
hi spravtek!

this presentation using git, foreman, puppet peaked my interests in creating automation deployment!

Is this possible for me to implement without the knowledge of a developer? haha
Gene FontanillaInfrastructure Project LeadAuthor Commented:
I need more how to's :)

i'm having issues on running puppet kick on the web gui of foreman.

ailed to execute puppetrun: ERF12-4252 [ProxyAPI::ProxyException]: Unable to execute Puppet run ([RestClient::InternalServerError]: 500 Internal Server Error) for proxy https://foreman.acteam.dev:8443/puppet


Are there trainings for foreman?
Zephyr ICTCloud ArchitectCommented:
Hmmm, that error (ERF12-4252) is a general one, it can be several things. But for starters, go over this section in the Foreman manual again, thoroughly and make sure you didn't miss something.

Besides that you can start the process manually via the cli and/or start the puppet agent like this:
puppet agent --debug --no-daemonize

Open in new window


This way you can check if something is happening on the client/puppet agent.

To check from the puppet master you could try this command and see if something pops up what might give you a clue to what is causing the problem.

puppet kick <name-of-your-node>

Open in new window


I don't know of any training for foreman sorry to say :)
Gene FontanillaInfrastructure Project LeadAuthor Commented:
tried doing a puppet kick on cli, i get this error:


Error: Host puppet-node00.acteam.dev failed: Error 403 on SERVER: Forbidden request: foreman.acteam.dev(192.168.3.53) access to /run/puppet-node00.acteam.dev [save] authenticated  at :1

i followed the guide you gave me .

thanks and regards
Zephyr ICTCloud ArchitectCommented:
tried doing a puppet kick on cli, i get this error:
Did you try it running with sudo?
puppet kick <name-of-your-node>

Open in new window


Might be needed, also, might be needed to adjust some settings on the remote puppet-agent.

Check the Puppet manual for kick here especially under Usage Notes

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gene FontanillaInfrastructure Project LeadAuthor Commented:
Hi spravtek!

Thanks for that!

Now I'm trying to create a GPO for the installation of the puppet msi on all the nodes that we will puppetize.

problem is that i cannot add the .msi file to the software installation, i also tried using 32 and 64 bit versions of it.

error encountered:

Add operation failed, Unable to extract deployment information from the package.  Run validation on the package to ensure that the package is installed correct

Searched this error and windows suggests that if you cannot install it in quiet mode it won't be added.

To check I tried this command and it was successfully installed:

msiexec /qb /i installer.msi

I seek you advice regarding this.

thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.