Ask Your Question

Puppet Master and Host have different Red Hat versions

asked 2016-05-25 09:30:41 -0600

JamesHailey gravatar image

updated 2016-05-25 10:06:38 -0600

My Puppet master is on Red Hat 6 but some of my hosts were upgraded to Red HAT 7. Because of it, I am having some issues. I can install and configure puppet, pass the certificate on each host without a problem, but when I try to start the puppet I get the following:

service puppet start
Redirecting to /bin/systemctl start  puppet.service

And when I check the status I get the following:

service puppet status
Redirecting to /bin/systemctl status  puppet.service
   ● puppet.service - Puppet agent
 Loaded: loaded (/usr/lib/systemd/system/puppet.service; disabled; vendor preset: disabled)
 Active: active (running) since Tue 2016-05-24 20:55:49 UTC; 38min ago
Main PID: 537 (puppet)
CGroup: /system.slice/puppet.service
   └─537 /usr/bin/ruby /usr/bin/puppet agent --no-daemonize
edit retag flag offensive close merge delete



I'm not sure that's actually a problem. Red Hat 7 uses 'systemd' -- replacing the traditional init scripts. Looks to me like everything's OK. Try: "systemctl status pupppet.service" instead of 'service puppet status'. That's systemd's way of doing things now.

bschonecker gravatar imagebschonecker ( 2016-05-25 12:50:07 -0600 )edit

Also, you probably want to 'systemctl enable puppet.service' to ensure puppet survives a reboot.

bschonecker gravatar imagebschonecker ( 2016-05-25 12:51:56 -0600 )edit

Not all but most daemons have the service command aliased to systemctl, so the old way of doing things still work. That output shows the puppet agent as enabled and running, what is the issue youre having?

UBPClaw gravatar imageUBPClaw ( 2016-05-25 13:25:06 -0600 )edit

The only thing I was worried about is, when I start the puppet server, it "redirects" as it shows above instead of saying puppet started or not. That means on RHEL 7, it's slightly different. I am just worried once the Red Hat version on my puppet master is upgraded, it will wipe out everything.

JamesHailey gravatar imageJamesHailey ( 2016-05-25 15:20:59 -0600 )edit

I wish there was a way to make it a smooth upgrade i.e. I can upgrade my Linux version on my puppet master without worrying about re-doing everything.

JamesHailey gravatar imageJamesHailey ( 2016-05-25 15:23:31 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-05-26 08:26:57 -0600

no problem at all here - dont worry! have a read of how systemd works - all looks ok though

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2016-05-25 09:30:41 -0600

Seen: 67 times

Last updated: May 26 '16