It looks like the installation of redis is failing because the user 'redis' 
already exists; and the directory /home/username/myapp-new/config does not 
exist or is not writeable ...

On Friday, 13 January 2017 20:10:00 UTC+2, Steve Button wrote:
>
> Error: Execution of '/usr/bin/apt-get -q -y -o 
> DPkg::Options::=--force-confold install redis-server' returned 100: Reading 
> package lists...
> ...
>
 

> adduser: The user `redis' already exists. Exiting.
> insserv: script redis-server: service redis-server already provided!
> insserv: exiting now!
> update-rc.d: error: insserv rejected the script header
> dpkg: error processing package redis-server (--configure):
>  subprocess installed post-installation script returned error exit status 1
> ...
>
 

> Error: Could not set 'file' on ensure: No such file or directory @ 
> dir_s_rmdir - 
> /home/username/myapp-new/config/database.yml20170113-6759-1lgmy2m.lock at 
> 6:/vagrant/puppet/profile/manifests/rails.pp
> Wrapped exception:
> No such file or directory @ dir_s_rmdir - 
> /home/username/myapp-new/config/database.yml20170113-6759-1lgmy2m.lock
> Error: 
> /Stage[main]/Profile::Rails/File[/home/username/myapp-new/config/database.yml]/ensure:
>  
> change from absent to file failed: Could not set 'file' on ensure: No such 
> file or directory @ dir_s_rmdir - 
> /home/username/myapp-new/config/database.yml20170113-6759-1lgmy2m.lock at 
> 6:/vagrant/puppet/profile/manifests/rails.pp
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6cf2bb58-c8a1-4006-8d8c-9128e503814d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to