Skip to content

Commit 565607d

Browse files
authored
Merge pull request #112 from 16c7x/class_documentation
Moved the roles and profile comments to the top
2 parents cd451fd + bd6640e commit 565607d

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1+
# The base profile should include component modules that will be on all nodes
12
class profile::base {
23

3-
#the base profile should include component modules that will be on all nodes
4-
54
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# An example profile
12
class profile::example {
23

34
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
# This role would be made of all the profiles that need to be included to make a database server work
2+
# All roles should include the base profile
13
class role::database_server {
24

3-
#This role would be made of all the profiles that need to be included to make a database server work
4-
#All roles should include the base profile
55
include profile::base
66

77
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# An example role
12
class role::example {
23

34
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
# This role would be made of all the profiles that need to be included to make a webserver work
2+
# All roles should include the base profile
13
class role::webserver {
24

3-
#This role would be made of all the profiles that need to be included to make a webserver work
4-
#All roles should include the base profile
55
include profile::base
66

77
}

0 commit comments

Comments
 (0)