similar to: Tracking down ensure => running problem

Displaying 20 results from an estimated 20000 matches similar to: "Tracking down ensure => running problem"

2009 Sep 22
6
Monitoring the puppetmaster
I''m using 0.24 with Webrick (in the process of migrating to 0.25 / passenger). Occasionally, the puppetmasterd becomes unavailable, and we see error messages along the lines of: Could not call puppetmaster.getconfig: #<Errno::ECONNRESET: Connection reset by peer> I believe the puppetmasterd does not completely die, so it is still in the process list. I''m wondering what
2009 Oct 29
8
conditional restart of service
I''m trying to have a exec dependency on a service object that would keep it from being restarted if the exec fails. Unfortunately, the service gets refreshed regardless whenever the exec is run, failure or not. I''ve tried various combinations of subscribe/require/notify, but can''t find an elegant way to not restart the service when the dependency fails. I must be
2012 Feb 06
1
Ensure service nsca
Hi all, i need configure module nsca on puppet. I want ensure stopped the service, but puppet detect wrong the process. For example: in this sistuation: hululi ~ # ps aux | grep nsca nagios 12730 0.0 0.0 16708 752 ? Ss 07:47 0:00 nsca - c /etc/nagios/nsca.cfg --daemon root 12778 0.0 0.0 8308 792 pts/8 S+ 07:47 0:00 grep --colour=auto nsca Puppet works
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
2009 Nov 04
2
Using before=> in a definition...
I hope I haven''t dug myself into a corner here... How can I make sure that /some/file.xml is created BEFORE the jboss-tfel0 service is started? I can''t use before => in the file{} in the jboss class because it doesn''t exist there. define create_jboss_inst($inst, $version, $naming_port) { .... service { "jboss-$inst": require
2008 Aug 04
5
using running - should it always restart?
Hi, I am fairly new to using puppet, but have it setup on 25 machines. Just doing some basic configuration management. Recently I decided to try working with updating some services config files and used the ensure => running tags. My question is simple - if the source file does NOT change and I use a subscribe, why does the system keep restarting the daemon every time puppet runs? A simple
2012 Feb 01
3
hasstatus return code
Dear community, I use puppet to deploy iptables on every server. This is working fine. In the manifest I defined an iptables service which leads to my init script. The thing is each time I run puppet I got : notice: /Stage[main]/Iptables/Service[netfilter]/ensure: ensure changed ''stopped'' to ''running'' I would like to add a status command to my startup script
2010 Apr 09
2
Custom facts for a puppetmasterless environment
I see the instructions for creating custom facter recipes here: http://projects.reductivelabs.com/projects/puppet/wiki/Adding_Facts and in this thread, James Turnbull suggests that Facter might some day support other languages besides ruby: http://groups.google.com/group/puppet-users/browse_thread/thread/8c127ae8898d3bcf/c5ca551b77c4eb67?lnk=gst&q=facter+perl#c5ca551b77c4eb67 He writes:
2010 May 21
3
SSH service not getting restarted
Hi, I have this in my sshdconfig module''s init.pp but the service is not getting restarted even though at first connect the file sshd_config is getting modified with the Banner entry. Can someone please help? class sshdconfig { file { "/etc/ssh/sshd_config": path => "/etc/ssh/sshd_config", owner => root,
2012 Nov 13
10
Puppet client won't autostart
I''m getting this problem on all the puppet client''s I''ve been setting up and it''s got me both scratching my head (because I''m not seeing anything obvious in any system logs) and pausing in my rollout until I get it solved: # puppet resource service puppet ensure=running enable=true Error: Could not start Service[puppet]: Execution of
2013 Nov 16
4
frustrating dependency problem
I''m having a difficult time with a dependency issue. Basically, I want to be able to call a defined type, but it''s not working out so far. I have my manifests setup like this: init.pp: class foo { .... } bar.pp: class foo::bar { include foo package{ "test": ensure => running, notify =>
2012 Jul 09
3
Trouble installing packages with Puppet on Arch Linux
Hey everyone, I seem to be running into an error that I can''t find an answer for. I have a simple manifest that installs a few packages and then starts a few services. But it chokes while installing Nginx with this error: err: /Stage[main]//Package[nginx]/ensure: change from purged to present > failed: Could not set ''present on ensure: invalid byte sequence in US-ASCII
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
2009 Mar 23
7
ANNOUNCE: Puppet 0.24.8 now available!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Puppet 0.24.8 is now available! This is a maintenance release for the 0.24.x branch but contains a small number of new features including some significant performance enhancements for large installations and stored configurations. The tarball is available at: http://reductivelabs.com/downloads/puppet/puppet-0.24.8.tgz MD5 hash:
2011 Jul 13
4
puppet manifest execution orders
I created manifest for our webserver. manifest included git clone, database creation and restore database etc.... How to order the installation and exec exactly Roni -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to
2011 Dec 20
8
Network config module won't work. -Mac address errors
Hello, I created a module for modifying the base network settings on a machine. However no matter what changes I make it keeps giving me the error "has different MAC address than expected, ignoring" when the network tries to startup. I am testing this out on the puppet learning VM. Does anyone see anything wrong with my code: init.pp -------------------------- define basehost
2011 Nov 02
2
Class Including.
Ok, what am I doing wrong here? I''m including splunkforwarder::app_server and it''s all working except that it appears that splunkforwarder::common isn''t including splunkforwarder::enabled... class splunkforwarder::enabled { service { ''splunkforwarder'': ensure => running, enable => true,
2010 Nov 11
7
Problem with modules
Hello. I use puppet 2.6.3-rc2 Now I try move my classes to modules. But I got a problem that Puppet does not sees modules. in puppet.conf: [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl libdir = /opt/puppet-dashboard/lib/puppet modulepath=$confdir/modules In nodes : node postgres { include basesystem include postgres } In
2009 Sep 04
1
ssh_authorized_key always ensure absent even it's present
puppet version 0.24.8 from debian lenny-backports My class works and resource created the authorized_keys file. But puppet detect as ensure absent and added again and again my authorized_keys got fews the same key lines. I added the target => ''/home/test/.ssh/authorized_keys'', again ensure is absent. I replace the ssh_authorized_key.rb from 0.25rc1 and again ensure is
2009 Apr 30
10
tweaking Passenger/Rack for performance.
so here are my unorganized thoughts on Passenger settings. * PassengerMaxPoolSize This depends a lot on two primary variables. a) How much RAM you have. b) How much resident memory is needed for your environments/modules. Only way to determine this is with tweaking, and you''ll need to be much more conservative than the suggested settings on the Passenger docs as your app takes up a lot