I was thinking that i missed some configurations to ran those commands properly only.
Since I use nano, I wasn't able to see those. Thanks for the tip about hook environment and the command! Mainly for the quick response =D 2016-02-29 21:31 GMT-03:00 José Antonio Rey <j...@ubuntu.com>: > Glad that was it! When I opened it on vim, it said [dos] at the bottom, > and after googling the error I saw what it was. > > About the command, what happens is right. You should not be able to > execute any of those commands. The commands are only executable in a 'hook > environment', meaning only hooks will be able to run them. If you really > want to execute one of them, you can use 'juju run --service > wordpress-single "command goes here"'. > > Why do you want to run that manually? Anything missing? > > -- > José Antonio Rey > > On Mon, Feb 29, 2016, 19:22 Ney Moura <neymou...@gmail.com> wrote: > >> Thanks everyone! >> >> José Antonio, you were right! >> >> How did you discover that? >> >> >> But let me challenge you guys even more! >> >> I need to install something in the VM before using the juju commands, >> like status-set? I'm asking this because I wasn't able to run these >> commands in there. >> >> >> Thanks again! >> >> 2016-02-29 19:15 GMT-03:00 José Antonio Rey <j...@ubuntu.com>: >> >>> This is because you are using Windows line breaks instead of Linux/Unix >>> line breaks. Try saving your file with Linux/Unix line breaks and give it a >>> go. >>> >>> >>> On 02/29/2016 05:12 PM, David Britton wrote: >>> >>>> On Mon, Feb 29, 2016 at 07:02:08PM -0300, Ney Moura wrote: >>>> >>>>> >>>>> But I keep having erros with the install hook. It says file not found. >>>>> >>>>> >>>> Maybe I missed it in the tarball -- could you attach a juju debug-log >>>> capture while you deploy it? >>>> >>>> Or, /var/log/all-machines.log from the bootstrap node is the same thing. >>>> >>>> Thanks! >>>> >>>> >>> -- >>> José Antonio Rey >>> >> >> >> >> -- >> *Ney Moura Conceição* >> > -- *Ney Moura Conceição*
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju