Installing Python36 not idempotent
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Start with the Python class and python::pip manifest shown in the reproduction, then inspect the spec test that applies the manifest twice. Reproduce the second application on CentOS 7 with Puppet 4.10.12 and examine the yum command returning “Nothing to do”; done means the idempotence test passes without an installation error.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 4.10.12
- Ruby:
- Distribution: CentOS Linux 7
- Module version: 3.0.1
How to reproduce (e.g Puppet code you use)
class { 'python':
version => '36',
pip => 'latest',
}
python::pip { 'packaging' :
ensure => '19.0',
pkgname => 'packaging',
}
What are you seeing
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install python36' returned 1: Error: Nothing to do
Error: /Stage[main]/Python::Install/Package[python]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install python36' returned 1: Error: Nothing to do
What behaviour did you expect instead
The module to run without errors.
Output log
Any additional information you'd like to impart
The module is failing during a spec test that tests is the module is idempotent. The manifest is applied twice, and the installation of python, pip and the package is successful.
The test fails due to the error messages noted above, is there any way to avoid the false negative response of "Nothing to do" it seems like an error reproduced by yum after detecting an existing installation of python.
- Vorherrschende Sprache
- Ruby
- Sterne
- 196
- Forks
- 371
- Ø Merge
- 5 Std. 54 Min.
- Gemergte PRs (30 T.)
- 5
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus voxpupuli/puppet-python
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 67/100
voxpupuli/puppet-python#759 ·
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
voxpupuli/puppet-python#743 · 1 Kommentar ·
-
enhancement
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
voxpupuli/puppet-python#721 · 1 Reaktion ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
voxpupuli/puppet-python#711 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 52/100
voxpupuli/puppet-python#673 · 1 Kommentar ·
Alle Issues in voxpupuli/puppet-python
Ähnliche Issues
-
data error
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
riscv/riscv-unified-db#2794 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
heartcombo/simple_form#1874 ·
-
Bug: Reports Monthly breakdown shows the whole first month when a custom range starts mid-monthOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
we-promise/sure#4603 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Missing zh-CN translation: components/contributing:contributorsList.categorySwitcher.authoringOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag