Installing Python36 not idempotent
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Ruby
- Étoiles
- 196
- Forks
- 371
- Merge moyen
- 5 h 54 min
- PR mergées (30 j)
- 5
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de voxpupuli/puppet-python
-
Requirements not installedOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 67/100
voxpupuli/puppet-python#759 ·
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
voxpupuli/puppet-python#743 · 1 commentaire ·
-
enhancement
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
voxpupuli/puppet-python#721 · 1 réaction ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
voxpupuli/puppet-python#711 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 52/100
voxpupuli/puppet-python#673 · 1 commentaire ·
Toutes les issues de voxpupuli/puppet-python
Issues similaires
-
JWT::EncodedToken raises TypeError for a non-object headerPeut-être pris @anakinj l’a pris aujourd’hui. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
jwt/ruby-jwt#780 · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
zold-io/zold-ruby-sdk#85 ·
-
Difficulté 1/5 1-3 heures Accessibilité débutants 62/100