Link to home
Start Free TrialLog in
Avatar of Gene Fontanilla
Gene Fontanilla

asked on

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!
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

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.
Avatar of Gene Fontanilla
Gene Fontanilla

ASKER

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
SOLUTION
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hi sparvtek,

I will read on the links you have sent me.

thank you very much for the response :)
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
Hi, You should be able to do this using host groups and attaching puppet classes to them.
There's a nice presentation here
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
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?
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 :)
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
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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!