Comments (4)
ubuntu uses upstart, so you want this, only not because it breaks rhel support, so i suck. the better fix would be to parameterize 'provider'
service { 'squid3_service':
name => $service_name,
ensure => 'running',
provider => 'upstart',
hasrestart => 'true',
hasstatus => 'true',
require => Package['squid3_package'],
}
from puppet-squid3.
I tried that, but it still gives the same error. I've opened a support ticket with Puppetlabs to see if I can't get any clarification as to why this is even an issue in the first place. Puppet should be able to determine that i's upstart and do the right thing. I would hope.
from puppet-squid3.
As a workaround, you can try that :
# Create a symlink to /etc/init/*.conf in /etc/init.d, because Puppet looks there incorrectly
file { '/etc/init.d/squid3':
ensure => link,
target => '/lib/init/upstart-job',
}
->
class { '::squid3':
....
See http://nodesforbreakfast.com/article/2012/07/25/puppet-27-upstart-services-ubuntu
from puppet-squid3.
This sort of sucks, but it's definitely not a problem specific to my module :-(
from puppet-squid3.
Related Issues (14)
- Support for FreeBSD HOT 2
- 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
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.