Hy Guys,

This is an optional solution, use any way they wish. My intention to insert
these new options was formally declare in the manifest as a way to explain
how to pass the unsuspecting user and password of http, since we have no
explanatory documentation on http authentication, (I even hit head until I
remember that gave to pass the username and password via http url)

Thanks,
Samuka~Smk

2013/6/24 Alessandro Franceschi <notifications@github.com>

> In manifests/project/war.pp:
>
> > @@ -211,7 +226,7 @@
> >      puppi::deploy { "${name}-Retrieve_WAR":
> >        priority  => '20' ,
> >        command   => 'get_file.sh' ,
> > -      arguments => "-s ${source} -a ${real_always_deploy}" ,
> > +      arguments => "-s '${source}' -a '${real_always_deploy}' -f '${war_file}' -u '${http_user}' -p '${http_pass}'" ,
>
> BTW, have you tried to pass username and password directyl in the url?
> IE: http://user:mypw@host:/path/file.war
> That should work, without the need to setting extra params.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/example42/puppi/pull/78/files#r4843197>
> .
>