diff options
Diffstat (limited to 'examples/TGenshi')
-rw-r--r-- | examples/TGenshi/etc/dirvish/master.conf/template.newtxt | 25 | ||||
-rw-r--r-- | examples/TGenshi/etc/motd/template.newtxt | 31 | ||||
-rw-r--r-- | examples/TGenshi/tmp/bar/template.txt | 19 | ||||
-rw-r--r-- | examples/TGenshi/tmp/foo/template.xml | 46 |
4 files changed, 0 insertions, 121 deletions
diff --git a/examples/TGenshi/etc/dirvish/master.conf/template.newtxt b/examples/TGenshi/etc/dirvish/master.conf/template.newtxt deleted file mode 100644 index 6c9750f9d..000000000 --- a/examples/TGenshi/etc/dirvish/master.conf/template.newtxt +++ /dev/null @@ -1,25 +0,0 @@ -bank: - /backup - -image-default: %Y-%m-%d -log: bzip2 -index: bzip2 -xdev: 1 - -exclude: - lost+found/ - *~ - .nfs* - -Runall: -{% for user in metadata.Properties['dirvish.xml'].data.find('users') %}\ - homes/${user.tag} -{% end %}\ - -expire-default: +2 weeks - -expire-rule: -# MIN HR DOM MON DOW STRFTIME_FMT - * * * * 1 +6 weeks - * * 1-7 * 1 +6 months - * * 1-7 1,4,7,10 1 never diff --git a/examples/TGenshi/etc/motd/template.newtxt b/examples/TGenshi/etc/motd/template.newtxt deleted file mode 100644 index ca3cc5f18..000000000 --- a/examples/TGenshi/etc/motd/template.newtxt +++ /dev/null @@ -1,31 +0,0 @@ -------------------------------------------------------------------------
- GOALS FOR SERVER MANAGED BY BCFG2
-------------------------------------------------------------------------
-Hostname is ${metadata.hostname}
-
-Groups:
-{% for group in metadata.groups %}\
- * ${group}
-{% end %}\
-
-{% if metadata.categories %}\
-Categories:
-{% for category in metadata.categories %}\
- * ${category}
-{% end %}\
-{% end %}\
-
-
-{% if metadata.Probes %}\
-Probes:
-{% for probe, value in metadata.Probes.iteritems() %}\
- * ${probe} \
- ${value}
-{% end %}\
-{% end %}\
-
-------------------------------------------------------------------------
- ITOPS MOTD
-------------------------------------------------------------------------
-Please create a Ticket for any system level changes you need from IT.
-
diff --git a/examples/TGenshi/tmp/bar/template.txt b/examples/TGenshi/tmp/bar/template.txt deleted file mode 100644 index dbf482c22..000000000 --- a/examples/TGenshi/tmp/bar/template.txt +++ /dev/null @@ -1,19 +0,0 @@ -[communication] -protocol = xmlrpc/ssl -#if metadata.uuid != None -user = $metadata.uuid -#end -#choose -#when metadata.password is not None -password = $metadata.password -#end -#when metadata.password is None -password = GlobalPassword -#end -#end - -[client] -drivers = Action,Chkconfig,POSIX,YUMng - -[components] -bcfg2 = https://config.example.com:6789 diff --git a/examples/TGenshi/tmp/foo/template.xml b/examples/TGenshi/tmp/foo/template.xml deleted file mode 100644 index 522c6e7fe..000000000 --- a/examples/TGenshi/tmp/foo/template.xml +++ /dev/null @@ -1,46 +0,0 @@ -<html xmlns:py="http://genshi.edgewall.org/"> - <head> - <title>${name}</title> - </head> - <body> - <table> - <tr><th>Name:</th><td>${name}</td></tr> - <tr><th>Hostname:</th><td>${metadata.hostname}</td></tr> - <tr><th>Toolset:</th><td>${metadata.hostname}</td></tr> - <tr><th>UUID:</th><td>${metadata.uuid}</td></tr> - <tr><th>Password:</th><td>${metadata.password}</td></tr> - <tr> - <th>Bundles:</th> - <td> - <table> - <tr py:for="bundle in metadata.bundles"><td>${bundle}</td></tr> - </table> - </td> - </tr> - <tr> - <th>Groups:</th> - <td> - <table> - <tr py:for="group in metadata.groups"><td>${group}</td></tr> - </table> - </td> - </tr> - <tr> - <th>Categories:</th> - <td> - <table> - <tr py:for="category in metadata.categories"><td>${category}</td></tr> - </table> - </td> - </tr> - <tr> - <th>Probes:</th> - <td> - <table> - <tr py:for="probe in metadata.probes"><td>${probe}</td><td>${metadata.probes[probe]}</td></tr> - </table> - </td> - </tr> - </table> - </body> -</html> |