Comments (12)
Looks like this was changed in 3.2
http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#Squid-3.2_default_config
from puppet-squid3.
I've created a pull request for this:
from puppet-squid3.
I've confirmed there is an issue with the config file and I receive the same errors. Ubuntu 14.04 installs 3.3.8 and it will fail on this.
I tested bhechinger's fork but I couldn't get it to work. I added a debug notice line but the version number is blank because /usr/sbin/squid3 is not yet installed
==> proxy: Notice: Scope(Class[Squid3]): is older than 3.2.0, including manager acl entries
==> proxy: Notice: Compiled catalog for proxy in environment production in 0.75 seconds
==> proxy: Notice: /Stage[main]/Squid3/Package[squid3_package]/ensure: ensure changed 'purged' to 'present'
==> proxy: Notice: /Stage[main]/Squid3/File[/etc/squid3/squid.conf]/content: content changed '{md5}b3f77e1a2622bba2d1e90d5e6b904268' to '{md5}b105653aee30e55f5b4ab5b72f4e64b7'
==> proxy: Error: Could not start Service[squid3_service]: Execution of '/usr/sbin/squid3 start' returned 1:
FYI here's the latest commit that should be pulled/tested: "wrong format"
bhechinger@9af0adb
from puppet-squid3.
I ran into this issue on Ubuntu Trusty, and had a look at this patch. I'm not a fan of using facter for this reason b/c it will require 2 runs to get things working. Why not just not have any acls in the file by default and allow users to pass in [] to remove the non-functional entries. Are we sure in which versions these things are required vs. not-required?
from puppet-squid3.
Why does facter require two runs? (I'm genuinely curious)
I'd rather the user didn't need to know, this is something the module should be able to handle.
Yes, I checked the squid docs and the split I have in the pull request is what matches that documentation.
from puppet-squid3.
one run to install the squid executable, then facter can work (b/c it has to happen at the beginning of the run. It would be better to just pass it as a class parameter.
from puppet-squid3.
ah, crud, I hadn't thought of that. Is there anyway to get facter to rerun after the package install?
from puppet-squid3.
nah, that order of things is pretty fundamental in Puppet.
The best thing is to allow version to be passed via a class param (and perhaps set to a different default for trusty)
from puppet-squid3.
Ok, I still don't like that. It feels wrong to me for the admin to have to know what version of squid is installed. That really defeats the purpose of puppet.
I'm re-writing the squid_version fact to use the package management system (apt/yum) to determine which version would be installed.
I'll push it up as soon as I'm done with it.
from puppet-squid3.
Well, at this moment this module is completely unusable. Is there any chance this will be eventually fixed?
from puppet-squid3.
Since it's been 6 months since the squid update that breaks the config was
discovered I would support dropping support for the old squid going
forward. Lets just modify the config template fixing to work and be done
with it.
The dynamically determination of version to be installed and selecting
configs to match is difficult and never eventuated.
On Wednesday, May 20, 2015, Victor Garcia [email protected] wrote:
Well, at this moment this module is completely unusable. Is there any
chance this will be eventually fixed?—
Reply to this email directly or view it on GitHub
#15 (comment).
from puppet-squid3.
This should have been fixed by the change in #13.
from puppet-squid3.
Related Issues (14)
- Support for FreeBSD HOT 2
- implicit `http_access` rules may have unintended consequences
- Fix hardcoded coredump_dir value in template. HOT 1
- ACL for allowing access to "localnet" should be configurable HOT 2
- Error: Execution of '/usr/sbin/update-rc.d squid3 defaults' returned 1: update-rc.d: /etc/init.d/squid3: file does not exist HOT 2
- 'Error: comparison of String with 6 failed' in Centos 7 HOT 1
- Compatibility issue with Puppet 3.2.4
- Restart of service is not restart
- Module does not support Debian 9
- Missing "max_filedescriptors" parameter.
- Fix hardcoded log format
- Do not start on reboot
- enable => true failure HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-squid3.