saltstack-formulas / memcached-formula Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
License: Other
Home Page: http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
License: Other
vagrant box roboxes/freebsd11
[vagrant@bazinga ~]$ salt --versions-report
Salt Version:
Salt: 2019.2.3
Dependency Versions:
cffi: 1.14.0
cherrypy: Not Installed
dateutil: Not Installed
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.10.1
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.6.2
mysql-python: Not Installed
pycparser: 2.19
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.17 (default, Mar 21 2020, 01:18:34)
python-gnupg: Not Installed
PyYAML: 5.2
PyZMQ: 18.1.1
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.1
System Versions:
dist:
locale: US-ASCII
machine: amd64
release: 11.3-RELEASE
system: FreeBSD
version: Not Installed
[ERROR ] Rendering exception occurred
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/salt/utils/templates.py", line 169, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
File "/usr/local/lib/python2.7/site-packages/salt/utils/templates.py", line 404, in render_jinja_tmpl
buf=tmplstr)
SaltRenderError: Jinja variable 'None' has no attribute 'server'
[CRITICAL] Rendering SLS 'base:memcached' failed: Jinja variable 'None' has no attribute 'server'
local:
Data failed to compile:
----------
Rendering SLS 'base:memcached' failed: Jinja variable 'None' has no attribute 'server'
When installing memcached with the default configuration, the -P
option is removed
This option may be needed.
Current value in debian:
-P /var/run/memcached/memcached.pid
install memcached with the formula.
----------
ID: /etc/memcached.conf
Function: file.managed
Result: True
Comment: File /etc/memcached.conf updated
Started: 13:58:53.014083
Duration: 58.345 ms
Changes:
----------
diff:
---
+++
@@ -9,14 +9,9 @@
-d
# Log memcached's output to /var/log/memcached
-logfile /var/log/memcached.log
+logfile /var/log/memcached.log
# Be verbose
-# -v
-
-# Be even more verbose (print client commands as well)
-# -vv
-
# Start with a cap of 64 megs of memory. It's reasonable, and the daemon default
# Note that the daemon will grow to this size, but does not start out holding this much
# memory
@@ -35,16 +30,18 @@
-l 127.0.0.1
# Limit the number of simultaneous incoming connections. The daemon default is 1024
-# -c 1024
+-c 1024
# Lock down all paged memory. Consult with the README and homepage before you do this
# -k
+
# Return error when memory is exhausted (rather than removing items)
# -M
+
# Maximize core file limit
# -r
-# Use a pidfile
--P /var/run/memcached/memcached.pid
+
+
None
Formula fails on Suse
salt.exceptions.SaltRenderError: Jinja variable 'None' has no attribute 'server'
[CRITICAL] Rendering SLS 'base:memcached' failed: Jinja variable 'None' has no attribute 'server'
local:
Data failed to compile:
----------
Rendering SLS 'base:memcached' failed: Jinja variable 'None' has no attribute 'server'
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.