Bug 1050139

Summary: /etc/NetworkManager/dispatcher.d/98-puppet is invalid
Product: [Fedora] Fedora EPEL Reporter: Wade Berrier <wberrier>
Component: puppetAssignee: Sam Kottler <skottler>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: fedora, jose.p.oliveira.oss, k.georgiou, ktdreyer, mastahnke, mmagr, moses, ohadlevy, skottler, tmz, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-2.7.25-2.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-15 23:27:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix NetworkManager dispatcher.d installation none

Description Wade Berrier 2014-01-08 17:39:28 UTC
Description of problem:

/etc/NetworkManager/dispatcher.d/98-puppet is invalid.  It looks like the puppet source tarball when it should be a shell script.


Version-Release number of selected component (if applicable):

2.7.24-1.el6 although it has been present in previous versions for several weeks.

How reproducible:

Always

Steps to Reproduce:
1. install package
2. run: file /etc/NetworkManager/dispatcher.d/98-puppet
3.

Actual results:

/etc/NetworkManager/dispatcher.d/98-puppet: gzip compressed data, from Unix, last modified: Wed Dec 18 08:18:48 2013


Expected results:

/etc/NetworkManager/dispatcher.d/98-puppet: Bourne-Again shell script text executable

Additional info:

Comment 1 Todd Zullinger 2014-01-08 19:21:26 UTC
Yeah, the update to 2.7¹ removed the script's Source entry and incorrectly modified the install command to reference Source0.

I'll attach what I think is the simple fix, but I don't have time to test and push this out.

¹ http://pkgs.fedoraproject.org/cgit/puppet.git/commit/?h=el6&id=93d568390c97d2521395c9514d5b1946e90cbed4

Comment 2 Todd Zullinger 2014-01-08 19:22:18 UTC
Created attachment 847305 [details]
Fix NetworkManager dispatcher.d installation

Comment 3 Sam Kottler 2014-02-08 16:16:31 UTC
(In reply to Todd Zullinger from comment #1)
> Yeah, the update to 2.7¹ removed the script's Source entry and incorrectly
> modified the install command to reference Source0.
> 
> I'll attach what I think is the simple fix, but I don't have time to test
> and push this out.

Thanks for the patch - it works like a charm. I'm on a network right now that bans port 22 so I can't push, but I've committed the patch with you as the author in rev e66338.

> 
> ¹
> http://pkgs.fedoraproject.org/cgit/puppet.git/commit/
> ?h=el6&id=93d568390c97d2521395c9514d5b1946e90cbed4

Comment 4 Fedora Update System 2014-02-08 21:04:49 UTC
puppet-2.7.25-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/puppet-2.7.25-2.el6

Comment 5 Fedora Update System 2014-02-09 18:16:43 UTC
Package puppet-2.7.25-2.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing puppet-2.7.25-2.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-0498/puppet-2.7.25-2.el6
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-04-15 23:27:52 UTC
puppet-2.7.25-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.