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..de82018 --- /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=2202c158-e702-45b7-b0c1-51241db830fc +ceTaskUrl=https://sonarqube.confdroid.com/api/ce/task?id=2202c158-e702-45b7-b0c1-51241db830fc diff --git a/.yardoc/checksums b/.yardoc/checksums new file mode 100644 index 0000000..7b5edda --- /dev/null +++ b/.yardoc/checksums @@ -0,0 +1,7 @@ +manifests/init.pp 478e2a087e702bfd4cf48c5d8984325040307f15 +manifests/params.pp 105220e2dbaaee44adf12e3a83d88aab57e0cc83 +manifests/main/dirs.pp af59ff6da810f0490aff3b9c21a8f3c69ae5b20b +manifests/main/files.pp 59e63f3cb976e784c9c32b8ea522a70bb4c74d17 +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..1e1bdaf 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+ |
+
+ # File 'manifests/main/files.pp', line 6
+
+class automatic_cd::main::files (
+
+) inherits automatic_cd::params {
+ require automatic_cd::main::dirs
+}
+ |
+
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)
+ +
+ + + +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25+ |
+
+ # File 'manifests/params.pp', line 8
+
+class automatic_cd::params (
+
+ String $reqpackages = 'dnf-automatic',
+ String $pkg_ensure = 'latest',
+
+) {
+# 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'
+
+# includes must be last
+ include automatic_cd::main::config
+}
+ |
+