Coder Social home page Coder Social logo

Support for FreeBSD about puppet-squid3 HOT 2 CLOSED

thias avatar thias commented on July 24, 2024
Support for FreeBSD

from puppet-squid3.

Comments (2)

misullivan avatar misullivan commented on July 24, 2024

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.

thias avatar thias commented on July 24, 2024

Added in 134ab07.

from puppet-squid3.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.