Re: [systemd-devel] Extending machine-info to include machine roles

2014-08-15 Thread Lennart Poettering
On Tue, 08.07.14 23:07, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: > Now let's start the dialog with machine roles and start by agreeing > what roles are What's the latest on this? I'd be willing to take a patch for this, but he same rules as for deployment should apply: no strict checks

Re: [systemd-devel] Extending machine-info to include machine roles

2014-07-09 Thread Tollef Fog Heen
]] Lennart Poettering > On Wed, 09.07.14 12:58, Tollef Fog Heen (tfh...@err.no) wrote: > > > ]] "Jóhann B. Guðmundsson" > > > > > On 07/09/2014 08:33 AM, Tollef Fog Heen wrote: > > > > ]] "Jóhann B. Guðmundsson" > > > > > > > >> If we manage to do that, introduce "rolefulfilment=" in units whi

Re: [systemd-devel] Extending machine-info to include machine roles

2014-07-09 Thread Jóhann B. Guðmundsson
On 07/09/2014 10:58 AM, Tollef Fog Heen wrote: ]] "Jóhann B. Guðmundsson" On 07/09/2014 08:33 AM, Tollef Fog Heen wrote: ]] "Jóhann B. Guðmundsson" If we manage to do that, introduce "rolefulfilment=" in units which we would define those standardized predefined set of roles as in for httpd.

Re: [systemd-devel] Extending machine-info to include machine roles

2014-07-09 Thread Lennart Poettering
On Wed, 09.07.14 12:58, Tollef Fog Heen (tfh...@err.no) wrote: > ]] "Jóhann B. Guðmundsson" > > > On 07/09/2014 08:33 AM, Tollef Fog Heen wrote: > > > ]] "Jóhann B. Guðmundsson" > > > > > >> If we manage to do that, introduce "rolefulfilment=" in units which we > > >> would define those standard

Re: [systemd-devel] Extending machine-info to include machine roles

2014-07-09 Thread Tollef Fog Heen
]] "Jóhann B. Guðmundsson" > On 07/09/2014 08:33 AM, Tollef Fog Heen wrote: > > ]] "Jóhann B. Guðmundsson" > > > >> If we manage to do that, introduce "rolefulfilment=" in units which we > >> would define those standardized predefined set of roles as in for > >> httpd.service we might have rolefu

Re: [systemd-devel] Extending machine-info to include machine roles

2014-07-09 Thread Jóhann B. Guðmundsson
On 07/09/2014 08:33 AM, Tollef Fog Heen wrote: ]] "Jóhann B. Guðmundsson" If we manage to do that, introduce "rolefulfilment=" in units which we would define those standardized predefined set of roles as in for httpd.service we might have rolefulfilment=web server, for postgresql, rolefulfilme

Re: [systemd-devel] Extending machine-info to include machine roles

2014-07-09 Thread Tollef Fog Heen
]] "Jóhann B. Guðmundsson" > If we manage to do that, introduce "rolefulfilment=" in units which we > would define those standardized predefined set of roles as in for > httpd.service we might have rolefulfilment=web server, for postgresql, > rolefulfilment=database server etc. so you could list

Re: [systemd-devel] Extending machine-info to include machine roles

2014-07-08 Thread Jóhann B. Guðmundsson
On 07/09/2014 12:14 AM, David Timothy Strauss wrote: I don't see much value in choosing a role from a predefined list. Rarely do machines fit into one single, straightforward role. I would disagree here like for one example security wise you want to implement only one primary role per server

Re: [systemd-devel] Extending machine-info to include machine roles

2014-07-08 Thread David Timothy Strauss
I don't see much value in choosing a role from a predefined list. Rarely do machines fit into one single, straightforward role. It would be more useful to support machine tags/labels/roles that map to units, especially if that's dynamically configurable using, say, DHCP(v6). Then, something may be

[systemd-devel] Extending machine-info to include machine roles

2014-07-08 Thread Jóhann B. Guðmundsson
Now let's start the dialog with machine roles and start by agreeing what roles are From my point of view roles are human representation of the primary duty the machine performs it's not the environment they are run in. ( like development,staging,production ) nor is it the components themselves