docker pull www.alm-docker-registry.com:8090/test... is working but when i am trying to do the same thing using puppet script, its showing error.
Notice: /Stage[main]/Main/Exec[Pulling Docker Image]/returns: 2015/01/30 11:11:11 Authentication is required.
Error: /usr/bin/docker pull www.alm-docker-registry.com:8090/test... returned 1 instead of one of [0]
Error: /Stage[main]/Main/Exec[Pulling Docker Image]/returns: change from notrun to 0 failed: /usr/bin/docker pull www.alm-docker-registry.com:8090/test... returned 1 instead of one of [0]
Note: I am not using any module but directly executing commands from manifest.
exec{'Pulling Docker Image':
command=>"/usr/bin/docker pull www.alm-docker-registry.com:8090/test... ,
}`