Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Debian packages #43

Open
joeauty opened this issue May 25, 2015 · 3 comments
Open

Problem with Debian packages #43

joeauty opened this issue May 25, 2015 · 3 comments

Comments

@joeauty
Copy link

joeauty commented May 25, 2015

Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install logstash-forwarder' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package logstash-forwarder
Error: /Stage[main]/Logstashforwarder::Package/Package[logstash-forwarder]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install logstash-forwarder' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package logstash-forwarder

@electrical
Copy link

Hi,

Can you also post your puppet code part?

@joeauty
Copy link
Author

joeauty commented May 25, 2015

Sure:

class { 'logstashforwarder':
servers => [ myip:5000' ],
ssl_key => 'puppet:///modules/logstashforwarder/logstash-forwarder.key',
ssl_ca => 'puppet:///modules/logstashforwarder/logstash-forwarder-ca.crt',
ssl_cert => 'puppet:///modules/logstashforwarder/logstash-forwarder.crt'
}

and in my module I created to contain my configs for my environment:

class np-logstashforwarder {
logstashforwarder::file { 'system':
paths => [ '/var/log/auth.log', '/var/log/syslog' ],
fields => { 'type' => 'syslog' },
}
}

@electrical
Copy link

Hi. By the looks of it you don't enable the repo management part which sets up our official repo as source for the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants