remembering settings

9 views
Skip to first unread message

Chris Berkhout

unread,
Dec 9, 2010, 12:01:44 AM12/9/10
to babush...@googlegroups.com
Hi Ben,

There are some variables I want to remember from a babushka run, so
that later runs don't require user input.
E.g. domain name for an app. Happy to manually enter it as part of
initial deployment, but would like to rerun the same dep and have it
complete non-interactively.

Is that what sticky_var is for? I notice you haven't used it in your
deps, is it on the way out?

Cheers,
Chris

Ben Hoskings

unread,
Dec 9, 2010, 1:34:06 AM12/9/10
to babush...@googlegroups.com
On 9 December 2010 16:01, Chris Berkhout <chrisb...@gmail.com> wrote:
Hi Ben,

There are some variables I want to remember from a babushka run, so
that later runs don't require user input.
E.g. domain name for an app. Happy to manually enter it as part of
initial deployment, but would like to rerun the same dep and have it
complete non-interactively.

Yep, just do the subsequent runs with --defaults. That will auto-accept all the default values, which will be the remembered ones from last time.

 
Is that what sticky_var is for? I notice you haven't used it in your
deps, is it on the way out?

I haven't used sticky_var in a while, I might remove it. It was for having vars never ask again even when --defaults isn't used.

Chris Berkhout

unread,
Dec 9, 2010, 1:42:38 AM12/9/10
to babush...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages