Skip to content

Commit 63971e6

Browse files
committed
puppet strings
1 parent 2201220 commit 63971e6

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

examples/hiera/modules/ntp/manifests/config.pp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# @summary Manage /tmp/ntp.conf file
2+
#
3+
# Given an array of ntpservers, manage the /tmp/ntp.conf file
4+
#
5+
# @example
6+
# include ntp::config
7+
#
8+
# @param ntpservers
9+
# An array of ntpserver(s) that should be present in the conf file
110
class ntp::config(
211
Array[String[1], 1] $ntpservers = undef,
312
) {
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# @summary Notify to demonstrate users::common in catalog
2+
#
3+
# A common Class that all examples should include
4+
#
5+
# @example
6+
# include users::common
17
class users::common {
28
notify { 'Adding users::common': }
39
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# @summary Notify to demonstrate users::dc1 in catalog
2+
#
3+
# A Class that should be present in dc1 node(s) catalog
4+
#
5+
# @example
6+
# include users::dc1
17
class users::dc1 {
28
notify { 'Adding users::dc1': }
39
}

0 commit comments

Comments
 (0)