Rightscale execute actor (issue #8)

Issue #8:
  This patch includes a fully working and tested Execute actor for RightScale Server Arrays.
I rarely use warnings. When code is executed as expected I always use info
or debug. Warnings are to notify the user that something is abnormal, like
file permissions are too open, execution is taking too long, expected
parameter isn't set.

But of course there's no hard rule about it. To me dry run was intended, do
nothing to warn about.
On Aug 23, 2014 1:02 PM, "Matt" <notifications@github.com> wrote:

> In kingpin/actors/rightscale/server_array.py:
>
> > +        # is a hack, and in the future should likely turn into a smart
> > +        # decorator.
> > +        yield self._client.login()
> > +
> > +        # First, find the array we're going to be launching....
> > +        array = yield self._find_server_arrays(self._array)
> > +        instances = yield self._client.get_server_array_current_instances(
> > +            array)
> > +
> > +        # Munge our inputs into something that RightScale likes
> > +        inputs = self._generate_rightscale_params('inputs', self._inputs)
> > +
> > +        # At this point, if we're in dry mode we need to exit. Theres no way to
> > +        # 'test' the actual execution of the rightscale scripts.
> > +        if self._dry:
> > +            self._log(logging.WARNING,
>
> I just wanted special dry-run messages to truly stand-out. Should it still
> be INFO in your opinion? I'm not attached to either way.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Nextdoor/kingpin/pull/10/files#r16632494>.
>