Documentation by YARD 0.9.36
+Alphabetic Index
+ +Puppet Class Listing A-Z
+ + +
+
+
+
|
+
File Listing
+-
+
+
+
- README + + +
diff --git a/doc/_index.html b/doc/_index.html new file mode 100644 index 0000000..6e2bbf7 --- /dev/null +++ b/doc/_index.html @@ -0,0 +1,148 @@ + + +
+ + +
+
+
+
|
+
| t |
+ + + +6 +7 +8+ |
+
+ # File 'manifests/init.pp', line 6
+
+class confdroid_ntp {
+ include confdroid_ntp::params
+}
+ |
+
confdroid_ntp::main::config.pp Module name: confdroid_ntp Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14+ |
+
+ # File 'manifests/main/config.pp', line 6
+
+class confdroid_ntp::main::config (
+
+) inherits confdroid_ntp::params {
+ include confdroid_ntp::main::service
+
+# if $ay_manage_nagios == true {
+# include confdroid_ntp::monitoring::target
+# }
+}
+ |
+
confdroid_ntp::main::dirs.pp Module name: confdroid_ntp Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14+ |
+
+ # File 'manifests/main/dirs.pp', line 6
+
+class confdroid_ntp::main::dirs (
+
+) inherits confdroid_ntp::params {
+ require confdroid_ntp::main::install
+
+ # /var/log/chrony
+
+ # /var/lib/chrony
+}
+ |
+
confdroid_ntp::main::files.pp Module name: confdroid_ntp Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28+ |
+
+ # File 'manifests/main/files.pp', line 6
+
+class confdroid_ntp::main::files (
+
+) inherits confdroid_ntp::params {
+ require confdroid_ntp::main::dirs
+
+ # main configuration file
+ file { $cy_conf_file:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($cy_conf_erb),
+ notify => Service[$cy_service],
+ }
+
+ # drift file /var/lib/chrony/drift
+
+ # log rotation
+}
+ |
+
confdroid_ntp::main::install.pp Module name: confdroid_ntp Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12+ |
+
+ # File 'manifests/main/install.pp', line 6
+
+class confdroid_ntp::main::install (
+
+) inherits confdroid_ntp::params {
+ package { $cy_reqpackages:
+ ensure => $cy_pkg_ensure,
+ }
+}
+ |
+
confdroid_ntp::main::service.pp Module name: confdroid_ntp Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17+ |
+
+ # File 'manifests/main/service.pp', line 6
+
+class confdroid_ntp::main::service (
+
+) inherits confdroid_ntp::params {
+ require confdroid_ntp::main::files
+
+ service { $cy_service:
+ ensure => running,
+ hasstatus => true,
+ hasrestart => true,
+ enable => true,
+ }
+}
+ |
+
confdroid_ntp::monitoring::target.pp Module name: confdroid_ntp Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9+ |
+
+ # File 'manifests/monitoring/target.pp', line 6
+
+class confdroid_ntp::monitoring::target (
+
+) inherits confdroid_ntp::params {
+}
+ |
+
confdroid_ntp::params.pp Module name: confdroid_ntp Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33+ |
+
+ # File 'manifests/params.pp', line 9
+
+class confdroid_ntp::params (
+
+# installation
+ Array $cy_reqpackages = ['chrony'],
+ String $cy_pkg_ensure = 'present',
+
+# configuration
+ Array $cy_conf_servers = ['0.pool.ntp.org', '1.pool.ntp.org', '2.pool.ntp.org', '3.pool.ntp.org'],
+
+) {
+# defaults
+ $fqdn = $facts['networking']['fqdn']
+
+# dirs
+
+# files
+ $cy_conf_file = '/etc/chrony.conf'
+ $cy_conf_erb = 'confdroid_ntp/chrony.conf.erb'
+
+# service
+ $cy_service = 'chronyd'
+
+# includes must be last
+ include confdroid_ntp::main::config
+}
+ |
+