fsalum / puppet-redis

Redis Server Module for Puppet
Apache License 2.0
20 stars 68 forks source link

Error: No matching Packages to list #58

Open mcandre opened 8 years ago

mcandre commented 8 years ago

When I try to use puppet-redis in docker (base devopsil/puppet), I get strange error.

Trace:

$ make
docker ps -a | grep -v IMAGE | awk '{ print $1 }' | xargs docker rm -f
b6778c29580b
docker build -t mcandre/docker-redis:latest .
Sending build context to Docker daemon 34.49 MB
Step 0 : FROM devopsil/puppet
 ---> 40e40fcab8f6
Step 1 : MAINTAINER Andrew Pennebaker <andrew.pennebaker@gmail.com>
 ---> Using cache
 ---> dd3d73313578
Step 2 : COPY site.pp /etc/puppet/manifests/site.pp
 ---> ec13bbe93838
Removing intermediate container f97b7533fbe0
Step 3 : RUN yum install -y tar &&     puppet module install fsalum-redis &&     puppet apply /etc/puppet/manifests/site.pp --verbose --detailed-exitcodes || [ $? -eq 2 ]
 ---> Running in e4c4236d6508
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
 * base: centos.netnitco.net
 * centosplus: mirror.tzulo.com
 * extras: mirror.sanctuaryhost.com
 * updates: centos.chi.host-engine.com
Resolving Dependencies
--> Running transaction check
---> Package tar.x86_64 2:1.23-13.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch             Version                    Repository      Size
================================================================================
Installing:
 tar           x86_64           2:1.23-13.el6              base           809 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 809 k
Installed size: 2.5 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 2:tar-1.23-13.el6.x86_64                                     1/1 
  Verifying  : 2:tar-1.23-13.el6.x86_64                                     1/1 

Installed:
  tar.x86_64 2:1.23-13.el6                                                      

Complete!
Notice: Preparing to install into /etc/puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
/etc/puppet/modules
└─┬ fsalum-redis (v1.0.3)
  └── thias-sysctl (v1.0.6)
Info: Loading facts
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Notice: Compiled catalog for 12ef887a9000.shoutlet.vpc in environment production in 0.56 seconds
Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
   (at /usr/lib/ruby/site_ruby/1.8/puppet/type/package.rb:430:in `default')
Info: Applying configuration version '1455294160'
Notice: /Stage[main]/Redis/File[/etc/logrotate.d/redis]/ensure: defined content as '{md5}7b5aef50c388783e67cb48f50ec270f4'
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list redis' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Redis/Package[redis]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list redis' returned 1: Error: No matching Packages to list
Notice: /Stage[main]/Redis/Exec[/var/lib/redis/]: Dependency Package[redis] has failures: true
Warning: /Stage[main]/Redis/Exec[/var/lib/redis/]: Skipping because of failed dependencies
Notice: /Stage[main]/Redis/File[/etc/redis.conf]: Dependency Package[redis] has failures: true
Warning: /Stage[main]/Redis/File[/etc/redis.conf]: Skipping because of failed dependencies
Notice: /Stage[main]/Redis/File[/var/lib/redis/]: Dependency Package[redis] has failures: true
Warning: /Stage[main]/Redis/File[/var/lib/redis/]: Skipping because of failed dependencies
Notice: /Stage[main]/Redis/Service[redis]: Dependency Package[redis] has failures: true
Warning: /Stage[main]/Redis/Service[redis]: Skipping because of failed dependencies
Info: Creating state file /var/lib/puppet/state/state.yaml
Notice: Finished catalog run in 0.40 seconds
The command '/bin/sh -c yum install -y tar &&     puppet module install fsalum-redis &&     puppet apply /etc/puppet/manifests/site.pp --verbose --detailed-exitcodes || [ $? -eq 2 ]' returned a non-zero code: 1

Source:

https://github.com/mcandre/docker-redis