Skip to content

Commit

Permalink
- Add masterless example
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Feb 8, 2011
1 parent 63545cc commit 44d855d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions masterless/manifests/site.pp
@@ -0,0 +1,3 @@
node default {
include os
}
9 changes: 9 additions & 0 deletions masterless/modules/os/files/motd
@@ -0,0 +1,9 @@
What MOTD is complete without figlet?

_ __ _ _ _ __ _ __ ___| |_| |
| '_ \| | | | '_ \| '_ \ / _ \ __| |
| |_) | |_| | |_) | |_) | __/ |_|_|
| .__/ \__,_| .__/| .__/ \___|\__(_)
|_| |_| |_|


7 changes: 7 additions & 0 deletions masterless/modules/os/manifests/init.pp
@@ -0,0 +1,7 @@
class os {
file {
"/etc/motd":
ensure => file,
source => "puppet:///$module/motd";
}
}

0 comments on commit 44d855d

Please sign in to comment.