saltstack-formulas / backupninja-formula Goto Github PK
View Code? Open in Web Editor NEWConfigure backupninja using SaltStack Pillar
License: Other
Configure backupninja using SaltStack Pillar
License: Other
using semantic-release version from #4
VM default-debian-10-3001-py3
No pillar used
When running without any pillar, with only state backupninja
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 400, in render_jinja_tmpl
output = template.render(**decoded_context)
File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "<template>", line 4, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1073, in make_module
return TemplateModule(self, self.new_context(vars, shared, locals))
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1152, in __init__
body_stream = list(template.root_render_func(context))
File "/tmp/kitchen/var/cache/salt/minion/files/base/backupninja/map.jinja", line 30, in top-level template code
{% set backupninja = salt['defaults.merge'](defaults, backupninja) %}
File "/usr/lib/python3/dist-packages/salt/modules/defaults.py", line 134, in merge
return dictupdate.update(merged, src, merge_lists=merge_lists)
File "/usr/lib/python3/dist-packages/salt/utils/dictupdate.py", line 45, in update
raise TypeError("Cannot update using non-dict types in dictupdate.update()")
TypeError: Cannot update using non-dict types in dictupdate.update()
[DEBUG ] Out:
/tmp/kitchen/var/cache/salt/minion/files/base/backupninja/map.jinja(30):
---
Adding a simple pillar
backupninja: {}
seems enough to be able to use this formula without customization.
I expect this formula to run without any specific pillar and only the meta-state backupninja
Nothing at the moment
Duplicity config requires both root and group parameters, trying to configure duplicity action currently will mix those values.
Example:
testconnect: no
source:
- /home
will output
[source]
/home
testconnect = no
when it should be
testconnect = no
[source]
/home
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.