Group install GNOME Desktop [closed]

asked 2018-05-28 15:47:05 -0500

giltea gravatar image

Puppet Version: 3.8.7

I have been working on building some system monitoring boxes and have ran into an issue when it comes to installing group yum packages. The normal course of installing packages of course isn't working but I figured that I would at least be able to work around this by including an exec to run the install as a command (like below):

exec { "GNOME Desktop": command => "/usr/bin/yum -y groups install 'GNOME Desktop'", timeout => 600, }

There is an available module on the puppet forge that seems to do what I want but it's not compatible with our version of puppet and we are not in a place to upgrade at this time.

I also tried the setup that was listed in the below server fault question but it also did not work for me:

https://serverfault.com/questions/127...

I have also manually been able to run the following command but when I exec it as a puppet command, it fails:

/usr/bin/yum -y groups install "GNOME Desktop"

Why is this? I assumed that puppet is just issuing the command in the exact same way the terminal would?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Mr_Sharma
close date 2018-05-29 05:43:31.223544

Comments

Closing as there's a duplicate question raised from same user.

Mr_Sharma gravatar imageMr_Sharma ( 2018-05-29 05:44:14 -0500 )edit