Comments (5)
I can't get past this issue either, on Ubuntu 18.04, I get the following error:
Dec 2 14:12:08 puppet-test puppet-agent[10599]: (/Stage[main]/Snmp/Package[snmptrapd]/ensure) change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install snmptrapd' returned 100: Reading package lists...
Dec 2 14:12:08 puppet-test puppet-agent[10599]: (/Stage[main]/Snmp/Package[snmptrapd]/ensure) Building dependency tree...
Dec 2 14:12:08 puppet-test puppet-agent[10599]: (/Stage[main]/Snmp/Package[snmptrapd]/ensure) Reading state information...
Dec 2 14:12:08 puppet-test puppet-agent[10599]: (/Stage[main]/Snmp/Package[snmptrapd]/ensure) Package snmptrapd is not available, but is referred to by another package.
Dec 2 14:12:08 puppet-test puppet-agent[10599]: (/Stage[main]/Snmp/Package[snmptrapd]/ensure) This may mean that the package is missing, has been obsoleted, or
Dec 2 14:12:08 puppet-test puppet-agent[10599]: (/Stage[main]/Snmp/Package[snmptrapd]/ensure) is only available from another source
Dec 2 14:12:08 puppet-test puppet-agent[10599]: (/Stage[main]/Snmp/Package[snmptrapd]/ensure)
Dec 2 14:12:08 puppet-test puppet-agent[10599]: (/Stage[main]/Snmp/Package[snmptrapd]/ensure) E: Package 'snmptrapd' has no installation candidate
Dec 2 14:12:08 puppet-test puppet-agent[10599]: (/Stage[main]/Snmp/File[snmptrapd.sysconfig]) Dependency Package[snmptrapd] has failures: true
Dec 2 14:12:08 puppet-test puppet-agent[10599]: (/Stage[main]/Snmp/File[snmptrapd.sysconfig]) Skipping because of failed dependencies
Dec 2 14:12:08 puppet-test puppet-agent[10599]: (/Stage[main]/Snmp/Service[snmptrapd]) Skipping because of failed dependencies
Dec 2 14:12:08 puppet-test puppet-agent[10599]: Applied catalog in 0.16 seconds
from puppet-snmp.
In the module file:
data/os/Debian/18.04.yaml
If you add a line:
snmp::snmptrapd_package_name: ~
snmptrapd won't be installed.
Not perfect though, I'd very much like not to touch the module :/
from puppet-snmp.
@alaunay have you tried putting this line in your relevant hiera yaml file? If you don't use hiera, you can set this in your manifest
snmptrapd_package_name => undef,
from puppet-snmp.
Hello @ubellavance , yes, I tried. It seems it's superseded by the hiera data from the module. I did not try /that/ hard though, so I'm not 100% sure. I'm sure that by adding a 7.yaml in the same directory as 18.04 or 9, with the line above, it does the trick (Debian Wheezy does not have a separated snmptrapd package, and yes, I still have a few of those).
from puppet-snmp.
Maybe you should create a separate issue for that... I'm not a super-pro with Puppet but that sure looks weird.
from puppet-snmp.
Related Issues (20)
- Release 4.1.1
- # Other Configuration HOT 2
- To support CentOS 8 HOT 1
- rw and ro community strings wrong and default breaks rhel7 if ipv6 off
- $facts['networking']['fqdn'] is too recent HOT 3
- Dependency on stdlib versions incorrect for version 5.1.0 ; types/ip/address/v6/cidr.pp and type Stdlib::IP::Address::V6::CIDR does not exist in 4.25.0
- Docs: Incorrect dependency (stdlib) listed on forge.puppet.com page HOT 2
- Doesn't work on ubuntu focal 20.04 HOT 1
- Cannot disable traditional access control for ro_community{,6}
- FreeBSD Support
- Support Debian Bullseye 11 (to be released in may or june) HOT 4
- systemd daemon-reload restarts snmpd HOT 15
- snmpd starts on each puppet run HOT 1
- Incorrect type of agentx_perms parameter
- Release new version HOT 4
- How to disable snmpv1 and v2 HOT 1
- Support for Ubuntu 22.04 HOT 6
- Reload snmpd config instead of restarting service by default
- $snmpv2_enable parameter does not disable snmpv2.
- snmpd_options and/or snmptrapd_options are ignored on Ubuntu and Debian due to lack of systemd support
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-snmp.