similar to: Puppet trying to start service before package is installed

Displaying 20 results from an estimated 3000 matches similar to: "Puppet trying to start service before package is installed"

2013 Jan 21
4
Unable to replace a symlink with regular file
I am running Puppet 2.7.x (x varies from 14 to 20 on different machines). I am trying to use Puppet to deploy a new Zabbix agent configuration file. On all machines where the file wasn''t a symlink, the deployment worked. However, every machine where it is a link, Puppet refuses to replace teh link with a regular file or do anything with it. I''ve read the type reference, and
2012 Jan 22
5
Augeas lens for zabbix agent config files?
Hi all, I''m trying to come up with a lens for the zabbix agent config files. I find the lens language untransparent at best, so I''m struggeling to figure out what''s up. The debugging possibilities are extremely limited. Here''s what I have now: zabbix.aug: ==== (** An adjusted copy of the postfix_main module **) module Zabbix_agent = autoload xfm
2009 Jul 08
2
Problems with service visibility when use notify
Hi, group! I have such strings on my Freebsd 7.0 + puppet 0.24.8 server: ===================CUT=================== define zabbix_agent_conf($zabbixserverip, $zabbixagenthostname, $zabbixagentip, $startagents="") { file { "/var/tmp/zabbix_agentd.conf": owner => root, group => wheel, mode => 444, backup
2010 Sep 27
4
why does puppet shuffle its ‘phases’ and how can I stop this?
Hi all, class zabbix { file { "/etc/zabbix/": ensure => directory, recurse => true, purge => false, force => false, owner => "root", group => "root", mode => 0755, source => $operatingsystem ? { solaris => "puppet:///zabbix/solaris",
2012 Aug 09
1
Class using if/else w/ multiple if conditions
I created a custom fact that determines what class of server it is based off the first 3 letters of the hostname: tst, qa, stg, prd, dev.... The fact tested fine and shows in the list when running "facter -p". I wanted to use the fact in a class to determine if zabbix-agent should be removed or installed. I want to remove from servers that currently have zabbix installed in groups
2013 Mar 11
12
Error: stack level too deep
I''m running a previously working set of modules with the Puppet master version 3.1.0-rc2. I''m getting the Error: stack level too deep Here is a chunk of the debug Debug: Scope(Class[Zabbix]): Retrieving template zabbix/zabbix.conf.php.erb Debug: template[/etc/puppet/environments/production/modules/zabbix/templates/zabbix.conf.php.erb]: Bound template variables for
2008 Dec 24
3
Conditionals allowed within types?
Hello, I''m trying to do this: service { monit: ensure => running, enable => true, hasrestart => true, if ($operatingsystem == ''centos'') { hasstatus => true, }, require => Package[''monit''], subscribe => File[''monit.conf''], } And it doesn''t work in
2010 Jun 17
5
Could not find class, code-blind
I''m troubled with a node-definition not able to resolve a class: Could not find class rhnsd::common at /etc/puppet/manifests/nodes.pp: 8 on node X Content of manifest/site.pp: import "nodes.pp" [...] The layout of modules/rhnsd/ is: |-- files | `-- up2date-rhn |-- manifests | |-- client.pp | |-- common.pp | |-- init.pp | `-- rhn.pp A `cat'' from each
2013 Oct 24
2
SSH Module with multiple conditions
I''ve written and deployed a simple Linux SSH module. But I need to modify to include support for FreeBSD and AIX. On top of that, I need to include some conditionals in there that (for example) if (/etc/file1 contains string abc) ; then install sshd-config-x & ssh-config-x elsif (/etc/file1 contains string xyz); then install sshd_config-y & ssh_config-y else install
2015 Jun 17
2
selinux allow apache log access
> > Try something like: > grep zabbix /var/log/audit/audit.log | audit2allow -M zabbix > semodule -i zabbix.pp Thanks for your response! However this is what happens when I try to install the module: [root at monitor2:~] #semodule -i zabbix.pp libsepol.print_missing_requirements: zabbix's global requirements were not met: type/attribute zabbix_t (No such file or directory).
2015 Jun 17
2
selinux allow apache log access
> > That's because there's already a zabbix module loaded (the message isn't > very informative!). I forgot that the received wisdom is to insert "my" in > front of ones own modules i.e.: > grep zabbix /var/log/audit/audit.log | audit2allow -M myzabbix > semodule -i myzabbix.pp Hmm no luck there either: [root at monitor2:~] #semodule -i myzabbix.pp
2011 Jul 25
3
Sudo #includedir function ignored CentOS 6
I am unable to get the #includedir function to work with sudo. This works just fine on all my CentOS 5.6 servers, but on 6 it is being ignored. I have this line in the file /etc/sudoers.d/zabbix-puppet zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet However sudo still requires a password. If I put that same line into /etc/sudoers file , there is no password prompt. At the end of my
2010 Aug 25
2
Monitoring Xen with Zabbix..
Is anyone using Zabbix to monitoring Xen at the dom0 level? Right now I have the Zabbix agent running in each domU but I would like to get per domU and aggregated statistics from the hyper visor perspective. I see a bunch of ''hard'' ways to collect these stats but first I want to make sure there isn''t some ''magic pill'' for Zabbix / Xen that I might of
2015 Jun 17
1
selinux allow apache log access
On 06/17/2015 04:03 PM, Jonathan Billings wrote: > On Wed, Jun 17, 2015 at 03:30:51PM -0400, Tim Dunphy wrote: >> No prob! Thanks for all the help! But in searching my system I don't find >> anything of the sort. >> >> [root at monitor2:~] #updatedb >> [root at monitor2:~] #locate myzabbix.te >> [root at monitor2:~] #find / -name "myzabbix.*"
2018 Oct 24
1
Disable logging for localhost
On 2018-10-22 12:16, Shawn Heisey wrote: > On 10/21/2018 8:23 AM, Andr? Rodier wrote: >> I am using Zabbix to monitor my Dovecot server, and my logs are filled >> with lines like this: >> >>> Oct 21 15:04:46 osaka dovecot[1256]: pop3-login: Aborted login (no >>> auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, >>> secured,
2015 Jun 16
2
selinux allow apache log access
Hey guys,. I have a centos 7 machine I'm using as a zabbix server. And I noticed that apache won't start, with this complaint in the error log: (13)Permission denied: AH00091: httpd: could not open error log file /var/log/zabbix_error_log. AH00015: Unable to open logs I tried having a look at audit2allow and this is the response I get back: [root at monitor2:/etc/httpd] #grep http
2008 Oct 11
6
Force backup of files modified outside of puppet's File Type
I''m using the SimpleText recipe and Augeas plugin to modify files in place. I''d like to notify the appropriate File resource that a modification is about to take place so puppet can backup the file. Maybe this is already possible but I haven''t found any examples or documentation on how to accomplish this. I think a natural way to do this would be to use the subscribe
2013 Feb 07
2
Too Many Running Process
Dear List Users Greetings, i have come across the problem where CentOS 6.3 x64 has more than 700 processes running. i am not sure where to start, what in normal or abnormal. [root at jet]# ps -A PID TTY TIME CMD 1 ? 00:00:03 init 2 ? 00:00:00 kthreadd 3 ? 00:00:00 migration/0 4 ? 00:00:00 ksoftirqd/0 5 ? 00:00:00 migration/0 6
2013 Sep 18
4
Not able to capture node info via browser
If I run below command on puppet master. I am able to get output pasted here. But the same information, I am trying to capture via browser using http://puppetdb:8080/v2/facts/operatingsystem but not working [root@puppetmaster ~]curl -X GET http://puppetdb:8080/v2/facts/operatingsystem curl: (6) Couldn''t resolve host ''puppetdb'' [root@puppetmaster ~]# curl -X
2015 Oct 16
2
Assistance with understanding how to setup NUT for our small server room
Hello, We have a small server room for our various Proxmox Host Servers, UTM system and managed switches. I've recently discovered NUT and would like to use it to monitor our UPS boxes using Raspberry Pi's. I have a few questions regarding the setup and I'm hoping this community can point me in the right direction. I'll be installing the latest version of NUT on each Raspberry