Is there a way to get an unapproved puppet module from the official repo?
Is there a way to get an unapproved puppet module from the official repo?
How should one handle »Duplicate declarations« between Forge modules?
what are the important resource types in puppet organization
puppet master coding
puppetdb hangs and I see no error messages
node classification for hiera
puppet 3.85 - sshkey Could not evaluate: Field 'type' is required
Filebucket Newbie Question
vmware node list error
Dashboard future?
Lookup destination path of a file in a template.
file { 'my_cool_file':
path => '/etc/somewhere',
content => template('coolmodule/coolfile.erb'),
}
file { 'another_file':
path => '/root/another_file',
content => template('coolmodule/coolfile.erb')
}
<%-# this is coolmodule/coolfile.erb -%>
# this file's placed at <%= scope.lookupvar(' XXX magic to come here ') %>
So the file placed at /etc/somewhere
states # this file's placed at /etc/somewhere
and the one at /root/another\_file
says /root/another\_file
accordingly?
Does puppet 3.8.6 have hook feature?
Problems with require => Class['java']
This cassandra module calls logstash which calls java - this works. file { '/etc/logstash/conf.d/cassandra.conf': owner => 'root', group => 'root', source => 'puppet:///modules/api_cassandra/etc/logstash/conf.d/cassandra.conf', require => [ Class['logstash::classes::install'], Class['logstash::classes::configuration'], ], } class logstash::classes::install { package {'logstash' : ensure => latest, require => Class['java'], } } If I just call logstash eg 'include logstash', I get Error: Failed to apply catalog: Could not find dependency Class[Java] for Package[logstash] at /etc/puppetlabs/code/environments/prod/modules/logstash/manifests/classes/install.pp:3 ie fail
If I call java eg 'include java' - it works ...
So why does the middle one fail ??
Cheers
Chris
Hiera not using ENC to traverse hierarchy
How to install a module to puppet master without root
agent lockfile remove latency up to 5s and more !
I stumbled upon the **"problem"** after the last upgrade of **PE 2016.1.x to 2016.2.0**.
Cannot tell, if it happened before.
Nonetheless, the upgrade **left a stale lockfile**, especially on the **razor** node.
Right now i created a **script**, running via **cron**, that checks the lockfile and removes it when stale (>20s staletime).
**It's running for 1h now and already deleted two stale lockfiles !**
**From my point of view, it's critical that the lockfile will be removed in TIME !**
It can cause unpredictable behaviour when triggerung the agent very often !
Someone also noticed this agent lockfile delay ? Rgds.
Franz