diff options
| author | Micah Anderson <micah@riseup.net> | 2008-05-17 23:31:41 +0000 | 
|---|---|---|
| committer | Micah Anderson <micah@riseup.net> | 2008-05-17 23:31:41 +0000 | 
| commit | f80945b89753bd9a75d2898beb80587185e39abc (patch) | |
| tree | 7a7b08b9e0c02cd03804a1369355bd5682cafe43 /templates | |
| parent | 6406454bbf71595c511d8ccf838a6007b4fe1e5e (diff) | |
| download | puppet-backupninja-f80945b89753bd9a75d2898beb80587185e39abc.tar.gz puppet-backupninja-f80945b89753bd9a75d2898beb80587185e39abc.tar.bz2  | |
add a sys backupninja module piece
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/sys.conf.erb | 16 | 
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/sys.conf.erb b/templates/sys.conf.erb new file mode 100644 index 0000000..b0ae623 --- /dev/null +++ b/templates/sys.conf.erb @@ -0,0 +1,16 @@ +# This configuration file was auto-generated by the Puppet configuration +# management system.  Any changes you make to this file will be overwritten +# the next time Puppet runs.  Please make configuration changes to this +# service in Puppet. + +<% %w{parentdir packagesfile partitionsfile hardwarefile}.each do |v| +	if send(v) +		-%><%= v + ' = ' + send(v) + "\n" %><% +	end +end -%> + +packages = <%= packages ? 'yes' : 'no' %> +partitions = <%= partitions ? 'yes' : 'no' %> +dosfdisk = <%= dosfdisk ? 'yes' : 'no' %> +hardware = <%= hardware ? 'yes' : 'no' %> +dohwinfo = <%= dohwinfo ? 'yes' : 'no' %>  | 
