Skip to content

modulesync 9.1.0

modulesync 9.1.0 #141

Triggered via pull request July 9, 2024 14:27
Status Failure
Total duration 27m 14s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
29s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 5 warnings
Puppet / 8 (Ruby 3.2): spec/classes/varnish_spec.rb#L72
varnish on oraclelinux-7-x86_64 is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n# Should systemd reload varnish incase of a vcl change?\nRELOAD_VCL=1\n\n# User and group for the varnishd worker processes\nVARNISH_USER=varnish\nVARNISH_GROUP=varnish\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: present\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,87 +1,173 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes +# Should systemd reload varnish incase of a vcl change? +RELOAD_VCL=1 + +# User and group for the varnishd worker processes +VARNISH_USER=varnish +VARNISH_GROUP=varnish + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need
Puppet / 8 (Ruby 3.2): spec/classes/varnish_spec.rb#L157
varnish on oraclelinux-7-x86_64 Manual Set Version is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: 6.0.0-manual\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably wa
Puppet / 8 (Ruby 3.2): spec/classes/varnish_spec.rb#L72
varnish on oraclelinux-8-x86_64 is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: present\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to change it :) +VA
Puppet / 8 (Ruby 3.2): spec/classes/varnish_spec.rb#L157
varnish on oraclelinux-8-x86_64 Manual Set Version is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: 6.0.0-manual\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably wa
Puppet / 8 (Ruby 3.2): spec/classes/varnish_spec.rb#L72
varnish on oraclelinux-9-x86_64 is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: present\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to change it :) +VA
Puppet / 8 (Ruby 3.2): spec/classes/varnish_spec.rb#L157
varnish on oraclelinux-9-x86_64 Manual Set Version is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: 6.0.0-manual\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably wa
Puppet / 8 (Ruby 3.2): spec/classes/varnish_spec.rb#L72
varnish on redhat-8-x86_64 is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: present\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to change it :) +VARNISH
Puppet / 8 (Ruby 3.2): spec/classes/varnish_spec.rb#L157
varnish on redhat-8-x86_64 Manual Set Version is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: 6.0.0-manual\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to
Puppet / 8 (Ruby 3.2): spec/classes/varnish_spec.rb#L72
varnish on redhat-9-x86_64 is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: present\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to change it :) +VARNISH
Puppet / 8 (Ruby 3.2): spec/classes/varnish_spec.rb#L157
varnish on redhat-9-x86_64 Manual Set Version is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: 6.0.0-manual\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to
Puppet / 7 (Ruby 2.7): spec/classes/varnish_spec.rb#L72
varnish on oraclelinux-7-x86_64 is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n# Should systemd reload varnish incase of a vcl change?\nRELOAD_VCL=1\n\n# User and group for the varnishd worker processes\nVARNISH_USER=varnish\nVARNISH_GROUP=varnish\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: present\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,87 +1,173 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes +# Should systemd reload varnish incase of a vcl change? +RELOAD_VCL=1 + +# User and group for the varnishd worker processes +VARNISH_USER=varnish +VARNISH_GROUP=varnish + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need
Puppet / 7 (Ruby 2.7): spec/classes/varnish_spec.rb#L157
varnish on oraclelinux-7-x86_64 Manual Set Version is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: 6.0.0-manual\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably wa
Puppet / 7 (Ruby 2.7): spec/classes/varnish_spec.rb#L72
varnish on oraclelinux-8-x86_64 is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: present\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to change it :) +VA
Puppet / 7 (Ruby 2.7): spec/classes/varnish_spec.rb#L157
varnish on oraclelinux-8-x86_64 Manual Set Version is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: 6.0.0-manual\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably wa
Puppet / 7 (Ruby 2.7): spec/classes/varnish_spec.rb#L72
varnish on oraclelinux-9-x86_64 is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: present\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to change it :) +VA
Puppet / 7 (Ruby 2.7): spec/classes/varnish_spec.rb#L157
varnish on oraclelinux-9-x86_64 Manual Set Version is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: 6.0.0-manual\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably wa
Puppet / 7 (Ruby 2.7): spec/classes/varnish_spec.rb#L72
varnish on redhat-8-x86_64 is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: present\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to change it :) +VARNISH
Puppet / 7 (Ruby 2.7): spec/classes/varnish_spec.rb#L157
varnish on redhat-8-x86_64 Manual Set Version is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: 6.0.0-manual\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to
Puppet / 7 (Ruby 2.7): spec/classes/varnish_spec.rb#L72
varnish on redhat-9-x86_64 is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: present\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to change it :) +VARNISH
Puppet / 7 (Ruby 2.7): spec/classes/varnish_spec.rb#L157
varnish on redhat-9-x86_64 Manual Set Version is expected to contain File[varnish-conf] with content =~ /\s -j unix,user=vcache/ Failure/Error: it { is_expected.to contain_file('varnish-conf').with_content(%r{\s -j unix,user=vcache}) } expected that the catalogue would contain File[varnish-conf] with content set to /\s -j unix,user=vcache/ but it is set to "# NOTE: this file is managed by puppet\n#\n# Configuration file for varnish\n#\n# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK\n# to be set from this shell script fragment.\n#\n# Note: If systemd is installed, this file is obsolete and ignored. You will\n# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and\n# edit that file.\n\n# Should we start varnishd at boot? Set to \"no\" to disable.\nSTART=yes\n\n\n# Maximum number of open files (for ulimit -n)\nNFILES=131072\n\n# Maximum locked memory size (for ulimit -l)\n# Used for locking the shared memory log in memory. If you increase log size,\n# you need to increase this number as well\nMEMLOCK=100M\n\n# Default varnish instance name is the local nodename. Can be overridden with\n# the -n switch, to have more instances on a single server.\n# INSTANCE=$(uname -n)\n\n# See varnishd(1) for more information.\n#\n# # Main configuration file. You probably want to change it :)\nVARNISH_VCL_CONF=/etc/varnish/default.vcl\n#\n# # Default address and port to bind to\n# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify\n# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.\nVARNISH_LISTEN_ADDRESS=\nVARNISH_LISTEN_PORT=6081\n#\n# # Telnet admin interface listen address and port\nVARNISH_ADMIN_LISTEN_ADDRESS=localhost\nVARNISH_ADMIN_LISTEN_PORT=6082\n#\n# # The minimum number of worker threads to start\nVARNISH_MIN_THREADS=5\n#\n# # The Maximum number of worker threads to start\nVARNISH_MAX_THREADS=500\n#\n# # Idle timeout for worker threads\nVARNISH_THREAD_TIMEOUT=300\n#\n# # Cache file location\nVARNISH_STORAGE_FILE=/var/lib/varnish-storage/varnish_storage.bin\n#\n# # Cache file size: in bytes, optionally using k / M / G / T suffix,\n# # or in percentage of available disk space using the % suffix.\nVARNISH_STORAGE_SIZE=1G\n#\n# # File containing administration secret\nVARNISH_SECRET_FILE=/etc/varnish/secret\n#\n# # Backend storage specification\n\nVARNISH_STORAGE=\"malloc,${VARNISH_STORAGE_SIZE}\"\n\n\n#\n# # Default TTL used when the backend does not specify one\nVARNISH_TTL=120\n#\n# # DAEMON_OPTS is used by the init script. If you add or remove options, make\n# # sure you update this section, too.\n# Version: 6.0.0-manual\nDAEMON_OPTS=\"-a :6081 \\\n -f /etc/varnish/default.vcl \\\n -T localhost:6082 \\\n -t 120 \\\n -S /etc/varnish/secret \\\n -s malloc,1G \\\n -p thread_pool_min=5 \\\n -p thread_pool_max=500 \\\n -p thread_pool_timeout=300\"\n\n\n" Diff: @@ -1,82 +1,163 @@ -(?-mix:\s -j unix,user=vcache) +# NOTE: this file is managed by puppet +# +# Configuration file for varnish +# +# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK +# to be set from this shell script fragment. +# +# Note: If systemd is installed, this file is obsolete and ignored. You will +# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and +# edit that file. + +# Should we start varnishd at boot? Set to "no" to disable. +START=yes + + +# Maximum number of open files (for ulimit -n) +NFILES=131072 + +# Maximum locked memory size (for ulimit -l) +# Used for locking the shared memory log in memory. If you increase log size, +# you need to increase this number as well +MEMLOCK=100M + +# Default varnish instance name is the local nodename. Can be overridden with +# the -n switch, to have more instances on a single server. +# INSTANCE=$(uname -n) + +# See varnishd(1) for more information. +# +# # Main configuration file. You probably want to
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 8
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system RedHat 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system Debian 10
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system Ubuntu 18.04