On 07/08/2014 10:45 PM, Josh Triplett wrote:
[Responding to this version because the latest thread hasn't appeared in
the mbox archives yet. The comments apply equally well to the latest
version, "Add DEPLOYMENT to hostnamectl".]
On Tue, Jul 08, 2014 at 12:38:50AM +0000, Jóhann B. Guðmundsson wrote:
+static bool valid_environment(const char *environment) {
+
+ assert(environment);
+
+ return nulstr_contains(
+ "development\0"
+ "staging\0"
+ "production\0",
+ environment);
+}
Can we please *not* attempt to limit or "standardize" this particular
set of machine roles? As already demonstrated in the previous thread,
people have all sorts of staged deployment strategies. Furthermore,
the concept of a machine role shouldn't be limited to service deployment
strategies.
Roles != the environment they run in.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel