Documentation by YARD 0.9.36
+Alphabetic Index
+ +Puppet Class Listing A-Z
+ + +
+
+
+
|
+
File Listing
+-
+
+
+
- README + + +
diff --git a/.scannerwork/.sonar_lock b/.scannerwork/.sonar_lock new file mode 100644 index 0000000..e69de29 diff --git a/.scannerwork/report-task.txt b/.scannerwork/report-task.txt new file mode 100644 index 0000000..cc67334 --- /dev/null +++ b/.scannerwork/report-task.txt @@ -0,0 +1,6 @@ +projectKey=automatic_cd +serverUrl=https://sonarqube.confdroid.com +serverVersion=25.5.0.107428 +dashboardUrl=https://sonarqube.confdroid.com/dashboard?id=automatic_cd +ceTaskId=180c2f71-5a7f-47bd-aa25-29a3ba0e41be +ceTaskUrl=https://sonarqube.confdroid.com/api/ce/task?id=180c2f71-5a7f-47bd-aa25-29a3ba0e41be diff --git a/.yardoc/checksums b/.yardoc/checksums new file mode 100644 index 0000000..2d6e50b --- /dev/null +++ b/.yardoc/checksums @@ -0,0 +1,7 @@ +manifests/init.pp 478e2a087e702bfd4cf48c5d8984325040307f15 +manifests/params.pp 23b25b401eb5bb0b8e1265827cf9ec6402043dc3 +manifests/main/dirs.pp af59ff6da810f0490aff3b9c21a8f3c69ae5b20b +manifests/main/files.pp edab2ec72add8ddf6284fbb375b648cf7f65f077 +manifests/main/config.pp 27413292f36c6dd5df14e4c64455d623a0b164fa +manifests/main/install.pp 5a03608b5080efd898c40968c2c8c5dfc9762fb2 +manifests/main/service.pp bc471c6cf6baeba3123fb3c6f037691afd4c87c3 diff --git a/.yardoc/complete b/.yardoc/complete new file mode 100644 index 0000000..e69de29 diff --git a/.yardoc/object_types b/.yardoc/object_types new file mode 100644 index 0000000..86e2045 Binary files /dev/null and b/.yardoc/object_types differ diff --git a/.yardoc/objects/root.dat b/.yardoc/objects/root.dat new file mode 100644 index 0000000..853b021 Binary files /dev/null and b/.yardoc/objects/root.dat differ diff --git a/.yardoc/proxy_types b/.yardoc/proxy_types new file mode 100644 index 0000000..beefda1 Binary files /dev/null and b/.yardoc/proxy_types differ diff --git a/doc/_index.html b/doc/_index.html new file mode 100644 index 0000000..a66fed5 --- /dev/null +++ b/doc/_index.html @@ -0,0 +1,143 @@ + + +
+ + +
+
+
+
|
+
| t |
+ + + +6 +7 +8+ |
+
+ # File 'manifests/init.pp', line 6
+
+class automatic_cd {
+ include automatic_cd::params
+}
+ |
+
automatic_cd::main::config.pp Module name: automatic_cd Author: Arne Teuke (arne_teuke@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10+ |
+
+ # File 'manifests/main/config.pp', line 6
+
+class automatic_cd::main::config (
+
+) inherits automatic_cd::params {
+ include automatic_cd::main::service
+}
+ |
+
automatic_cd::main::dirs.pp Module name: automatic_cd Author: Arne Teuke (arne_teuke@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10+ |
+
+ # File 'manifests/main/dirs.pp', line 6
+
+class automatic_cd::main::dirs (
+
+) inherits automatic_cd::params {
+ require automatic_cd::main::install
+}
+ |
+
automatic_cd::main::files.pp Module name: automatic_cd Author: Arne Teuke (arne_teuke@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24+ |
+
+ # File 'manifests/main/files.pp', line 6
+
+class automatic_cd::main::files (
+
+) inherits automatic_cd::params {
+ require automatic_cd::main::dirs
+
+ file { $ac_main_config:
+ ensure => file,
+ path => $ac_main_config,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($ac_main_config_erb),
+ notify => Service[$ac_service],
+ }
+}
+ |
+
automatic_cd::main::install.pp Module name: automatic_cd Author: Arne Teuke (arne_teuke@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12+ |
+
+ # File 'manifests/main/install.pp', line 6
+
+class automatic_cd::main::install (
+
+) inherits automatic_cd::params {
+ package { $reqpackages:
+ ensure => $pkg_ensure,
+ }
+}
+ |
+
automatic_cd::main::service.pp Module name: automatic_cd Author: Arne Teuke (arne_teuke@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17+ |
+
+ # File 'manifests/main/service.pp', line 6
+
+class automatic_cd::main::service (
+
+) inherits automatic_cd::params {
+ require automatic_cd::main::files
+
+ service { $ac_service:
+ ensure => running,
+ hasstatus => true,
+ hasrestart => true,
+ enable => true,
+ }
+}
+ |
+
automatic_cd::params.pp Module name: automatic_cd Author: Arne Teuke (arne_teuke@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 automatic_cd::params (
+
+ String $reqpackages = 'dnf-automatic',
+ String $pkg_ensure = 'latest',
+
+ # updates
+ String $ac_upgrade_type = 'default',
+
+) {
+# Facts
+ $fqdn = $facts['networking']['fqdn']
+ $domain = $facts['networking']['domain']
+ $os_name = $facts['os']['name']
+ $os_release = $facts['os']['release']['major']
+
+# Service
+ $ac_service = 'dnf-automatic.timer'
+
+# Files
+ $ac_main_config = '/etc/dnf/automatic.conf'
+ $ac_main_config_erb = 'automatic_cd/automatic.conf.erb'
+
+# includes must be last
+ include automatic_cd::main::config
+}
+ |
+