Installing Python36 not idempotent
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Ruby
- Stelle
- 196
- Fork
- 371
- Merge medio
- 5h 54m
- PR unite (30g)
- 5
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di voxpupuli/puppet-python
-
Requirements not installedAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
voxpupuli/puppet-python#759 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
voxpupuli/puppet-python#743 · 1 commento ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
voxpupuli/puppet-python#721 · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
voxpupuli/puppet-python#711 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 52/100
voxpupuli/puppet-python#673 · 1 commento ·
Tutte le issue di voxpupuli/puppet-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
account: profile
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
ysb3996-blip/oops#24 ·
I maintainer di solito rispondono entro 1 giorno