Comments (2)
and this is all that is needed to make it work:
# diff -u ../../modules/squid3/manifests/init.pp.orig ../../modules/squid3/manifests/init.pp --- ../../modules/squid3/manifests/init.pp.orig 2014-12-29 09:48:57.000000000 -0600 +++ ../../modules/squid3/manifests/init.pp 2014-12-29 09:51:05.000000000 -0600 @@ -64,7 +64,7 @@ name => $service_name, ensure => running, restart => "service ${service_name} reload", - path => ['/sbin', '/usr/sbin'], + path => ['/sbin', '/usr/sbin', '/usr/local/etc/rc.d'], hasstatus => true, require => Package['squid3_package'], } # diff -u ../../modules/squid3/manifests/params.pp.orig ../../modules/squid3/manifests/params.pp --- ../../modules/squid3/manifests/params.pp.orig 2014-12-29 09:43:27.000000000 -0600 +++ ../../modules/squid3/manifests/params.pp 2014-12-29 09:44:29.000000000 -0600 @@ -21,6 +21,13 @@ $log_directory = '/var/log/squid3' $coredump_dir = '/var/spool/squid3' } + Freebsd: { + $package_name = 'squid' + $service_name = 'squid' + $config_file = '/usr/local/etc/squid/squid.conf' + $log_directory = '/var/log/squid' + $coredump_dir = '/var/spool/squid' + } default: { $package_name = 'squid' $service_name = 'squid'
from puppet-squid3.
Added in 134ab07.
from puppet-squid3.
Related Issues (14)
- New squid breaks things HOT 12
- 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.