diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-15 10:11:59 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-15 10:11:59 +0000 |
commit | f217208714afc0a9ca764a3424146f77a30ff41e (patch) | |
tree | 0ef9fa3dc58bb23f2050432cf7405bb4b0a6a58d /deployment | |
parent | c5d67a3756da7d4cb611d07250c63201aa2d794a (diff) | |
download | puppet-f217208714afc0a9ca764a3424146f77a30ff41e.tar puppet-f217208714afc0a9ca764a3424146f77a30ff41e.tar.gz puppet-f217208714afc0a9ca764a3424146f77a30ff41e.tar.bz2 puppet-f217208714afc0a9ca764a3424146f77a30ff41e.tar.xz puppet-f217208714afc0a9ca764a3424146f77a30ff41e.zip |
add reports::ii module, to report failure on irc
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/reports/manifests/ii.pp | 17 | ||||
-rw-r--r-- | deployment/reports/templates/socket.yaml | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/deployment/reports/manifests/ii.pp b/deployment/reports/manifests/ii.pp new file mode 100644 index 00000000..b14d1336 --- /dev/null +++ b/deployment/reports/manifests/ii.pp @@ -0,0 +1,17 @@ +class reports { + class ii { + $channel = "#mageia-sysadm" + $server = "irc.freenode.net" + # tribute to Masamune Shirow + $nick = "project_2501" + + ii::bot { $nick: + channel => $channel, + server => $server, + } + + file { "/etc/puppet/socket.yaml": + content => "reports/socket.yaml", + } + } +} diff --git a/deployment/reports/templates/socket.yaml b/deployment/reports/templates/socket.yaml new file mode 100644 index 00000000..c764d6a3 --- /dev/null +++ b/deployment/reports/templates/socket.yaml @@ -0,0 +1,2 @@ +--- +:ii_path: '/var/lib/ii/<%= nick %>/<%= server %>/<%= channel %>/in |