propellor

propellor config for hosts.
git clone git://git.ricketyspace.net/propellor.git
Log | Files | Refs | LICENSE

comment_4_db1a195688aa23e99b0aca9e776fd4ac._comment (1570B)


      1 [[!comment format=mdwn
      2  username="Nicolas.Schodet"
      3  avatar="http://cdn.libravatar.org/avatar/0d7ec808ec329d04ee9a93c0da3c0089"
      4  subject="comment 4"
      5  date="2019-04-20T21:54:16Z"
      6  content="""
      7 After thinking about it, it would be nicer if an Host could give information about
      8 several of its children, that would be a larger change, but having the wrapper
      9 would then be useless and propellor would be able to find containers
     10 automatically.
     11 
     12 As a container is created by a property, a container Host could be included in
     13 Info of a Host. If an entry is to be propagated, then it is added as an entry
     14 of the host, else it is kept as an entry of the container.
     15 
     16 When looking up a host, we have to search for one Host of a [Host] list, but
     17 also for any Host listed in the containersInfo of all the listed Host.
     18 
     19 Not sure this is clear, here is a example to try to make it clearer:
     20 
     21     hard_node :: Host
     22         hostName = \"hard-node.example.org\"
     23         hostProperties = ...
     24         hostInfo =
     25             [ a HostKeyInfo for riva
     26             , a DnsInfoUnpropagated for riva
     27             , a DnsInfoPropagated from container-web
     28             , a ContainersInfo =
     29                 [ container_web :: Host
     30                     hostName = \"container-web\"
     31                     hostProperties = ...
     32                     hostInfo =
     33                         [ a HostKeyInfo for container-web
     34                         , a DnsInfoUnpropagated for container-web
     35                         ]
     36                 , container_git :: Host
     37                     ...
     38                 ]
     39             ]
     40 
     41 """]]