Displaying 20 results from an estimated 9000 matches similar to: "Service resource does not seem to be disabling service on reboots"
2011 Aug 29
1
Re: Re: Service resource does not turn services off on reboots
Hi,
Thanks for the help.
I do see these services coming back up if I reboot the system. They are
brought down again when puppet run for the first time. Besides, I have never
seen Puppet calling chkconfig service off even in the first run, when the
services were in a up state after the system installation. I wonder if I
missed something.
Any other idea?
thanks,
-fred
On Mon, Aug 29, 2011 at
2013 Jun 14
0
Service wouldn't restart/refresh
I was trying to set up gitlab using this module
(https://github.com/sbadia/puppet-gitlab) with some modification to work
with RVM and RHEL 6. I got everything working except the gitlab service
wouldn''t start.
The service is defined as:
> service {
> ''gitlab'':
> ensure => running,
> pattern => ''puma'',
>
2013 Jan 19
3
Does a service resource autorequire its package resource?
I''ve seen a couple of instances where a service resource has failed with an
error because it''s
been evaluated before its corresponding package is installed. I can fix
this by adding an explicit
require to the service resource, or by just running puppet again, but I
thought that there would be
an implicit or automatic require from a service object to the associate
service
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 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,
2011 Feb 15
3
troubles with require parametre
Hi all,
Getting some troubles installing bind:
I''m working on debian squeeze, both client and server are 2.6.2,
mod_passenger added.
in my class definition:
class conf_bind_nshost {
include motd
motd::register{"${name}": } #Register in motd
module
package { "bind9":
ensure => "1:9.7.2.dfsg.P3-1.1",
}
file {"dns":
require
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 Feb 14
2
kickstart file problem
I have a kickstart file that I am using to install multiple machines. If I install with no %post script, everything runs great. When I add the following %post section, if fails.
I have been working on this for a few days now without luck, Any help would be appreciated.
Here is the error, the script follows.
Traceback (most recent call first):
File
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,
2006 Dec 15
0
Solaris snmpd/init.sma service
First off, new to puppet here, but so far it''s been exceptionally easy
to install and get running. I''ve got it on a handful of solaris 10/x86
zones, and it''s working well.
I had one gotcha that I ran into, which turned out to be a combination
of a sun bug and and just some slight weirdness. I was trying to get
the stock solaris snmpd service running (net-snmp 5, by
2008 Apr 22
1
32-bit Centos 5.1 kickstart hangs on xen domU HVM installation
I am trying to a install Centos 5.1 32-bit Xen HVM DomU onto a Centos 5.1
64bit DomU with the default xen installed and the kickstart hangs at random
points during the install process. Sometimes retrieving the image, sometimes
formatting the filesystem, sometimes installing the packages,etc.
I tried upgrading to xen 3.2 and encounter the same problem before
rebuilding back to stock Centos 5.1
2005 Apr 13
3
Constant disk activity
Hi,
I am running centos on a laptop and the HD keeps on making noises every
so often, even when I go to runlevel 1 and stop everything that could
be doing so (hotplug, smartd, cron, anacron, atd, syslogd...).
Is there any way of finding out what is accessing the disk? Not only it
shortens battery life, it is annoying while working in a quiet room.
Thanks
Gabriel
Send instant messages to your
2006 Oct 13
10
Services on Gentoo Client Systems
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You folks were so helpful with my last problem I thought I''d try again.
I''m attempting to use the services filetype to ensure that ntpd is
running on all my hosts. Unfortunately this does not seem to be
working on my Gentoo test system. I get the following output on the
client log:
puppetd[3436]: Starting configuration run
2006 Jan 04
1
AW: QLA2xxx URGEND
2009 Nov 10
23
Puppet Not Running chkconfig correctly.
So, I noticed that when adding a service to puppet, puppet is running
a chkconfig <service>. However, as far as I can tell, puppet should be
running a chkconfig --add <service>, otherwise the symlinks don''t get
created from the service in /etc/rc.d/rc6.d back to the service in
/etc/init.d. As as a result, the service is not stopped on shut down.
I must be missing something
2007 Feb 07
2
Slow clock on CentOS 4.4 in a VMware VM
I'm running a CentOS 4.4 VM on a Windows XP host with VMware Server,
and have the problem that my clock runs too slow (it happens in
VMware Workstation as well). It loses between 30 and 45 seconds
every minute! This is a known problem and can be fixed by adding
"nosmp noapic nolapic" to the boot command according to VMware tech
note ID 1420. However, despite adding these
2012 Feb 12
1
Using templates
Hi everyone,
I''m learning Puppet and I want to configure ssh server with different
port on different nodes.
Puppet v2.7.1
I have created module ssh:
content of modules/ssh/manifests/install.pp
class ssh::install {
package { "ssh":
ensure => present,
}
}
content of modules/ssh/manifests/service.pp
class ssh::service {
service { "ssh":
ensure =>
2011 Oct 13
1
puppet apache module
I''m getting this and it isn''t applying my apache module. Is it because
of these warnings?
notice: Starting Puppet client version 2.7.5
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/
provider/service/freebsd.rb:8: warning: class variable access from
toplevel
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/
provider/service/freebsd.rb:9:
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 =>
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