~paulgear/charms/trusty/ntpmaster/fix-python3-on-trusty

« back to all changes in this revision

Viewing changes to README.md

  • Committer: James Page
  • Date: 2013-09-16 14:47:36 UTC
  • Revision ID: james.page@canonical.com-20130916144736-2h8wntcrlky3qc9o
[trivial] Switch README to markdown for better display in charmstore

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
or through the use of the ntp subordinate charm.
12
12
 
13
13
Direct
14
 
++++++
 
14
======
15
15
 
16
16
This this mode services need to understand how to relate to the ntpmaster service
17
 
using the ntp protocol::
 
17
using the ntp protocol:
18
18
 
19
 
  juju deploy ntpmaster
20
 
  juju add-relation ntpmaster myservicethatwantsntp
 
19
    juju deploy ntpmaster
 
20
    juju add-relation ntpmaster myservicethatwantsntp
21
21
 
22
22
This is less useful as every charm has to have master hooks.
23
23
 
24
24
Indirect
25
 
++++++++
 
25
========
26
26
 
27
27
In this mode the ntp subordinate charm is used to configure NTP in other service
28
 
units to the ntpmaster service::
29
 
 
30
 
  juju deploy ntp
31
 
  juju deploy ntpmaster
32
 
  juju deploy myservicethatdoesnotunderstandntp
33
 
  juju add-relation ntp ntpmaster
34
 
  juju add-relation ntp myservicethatdoesnotunderstandntp
35
 
 
36
 
You can of course have more that one ntpmaster::
37
 
 
38
 
  juju add-unit -n 2 ntpmaster
 
28
units to the ntpmaster service:
 
29
 
 
30
    juju deploy ntp
 
31
    juju deploy ntpmaster
 
32
    juju deploy myservicethatdoesnotunderstandntp
 
33
    juju add-relation ntp ntpmaster
 
34
    juju add-relation ntp myservicethatdoesnotunderstandntp
 
35
 
 
36
You can of course have more that one ntpmaster:
 
37
 
 
38
    juju add-unit -n 2 ntpmaster
39
39
 
40
40
All services that the ntp charm is subordinate to will be configured to sync with
41
41
all avaliable ntp masters.
42
42
 
43
43
Configuration
44
 
+++++++++++++
 
44
=============
45
45
 
46
46
The ntpmaster charm by default will use the standard NTP pool servers that are
47
47
provided by the Ubuntu package.  It can also be configured to use specific
48
 
servers::
 
48
servers:
49
49
 
50
 
  juju set ntpmaster source="myserver1 myserver2 myserver3"
 
50
    juju set ntpmaster source="myserver1 myserver2 myserver3"
51
51
 
52
52
This would allow use with an internal time source, such as GPS or an atomic
53
53
clock, or with alternative external NTP sources.