search for: ossec_client_key

Displaying 2 results from an estimated 2 matches for "ossec_client_key".

2009 Nov 25
1
Puppet custom functions and user permissions
...is not respecting the entries in /etc/group in linux. No matter how many other groups the puppet user has been added to in /etc/ group, when puppetmasterd runs the custom function the effective/real user always only has the puppet group. An example: module Puppet::Parser::Functions newfunction(:ossec_client_key, :type => :rvalue) do |args| # Check if key for the fqdn already exists fqdn = lookupvar(''fqdn'') ip = lookupvar(''ipaddress'') fout = File.open("/home/puppet/ossec_client_key.log", ''w'') fout.puts "ossec_client_key executed...
2012 Aug 22
2
Hiera, OSSEC and per-node stuff?
...aml: --- :hierarchy: - ossec/%{hostname} - %{operatingsystem} - common :backends: - yaml :yaml: :datadir: ''/etc/puppet/hieradata'' And now in /etc/puppet/hieradata/ossec I have a bunch of hostname.yaml files, and all of them has something like this: --- ossec_client_key: ''blablabla'' ossec_id: ''2031'' Is this the right approach? It sure works :) -- Jakov Sosic www.srce.unizg.hr -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to...