Displaying 20 results from an estimated 9000 matches similar to: "Puppet client won't autostart"
2013 Feb 06
12
Certificate nightmares
I think I really hosed my certificates somehow this morning trying to get
PuppetDB and Puppet talking again -- here''s where I stand.
My Puppet master and PuppetDB are again talking, or at least, aren''t
complaining about communication.
From my puppet master, I can run "puppet agent -t", and it runs just fine.
From any other node on which puppet had been running, I
2012 Dec 12
4
Converting puppet client to servr
Is there an easy way to convert a puppet client into being a puppet master?
Here''s the scenario. I''m using puppet to configure all my systems, and
would like it to be able to deploy a new puppet master as well. We have
systems worldwide so having local puppet masters is very desirable for
fault tolerance. So Kickstart (via cobbler) installs a puppet client during
the initial
2013 May 07
3
Trouble writing authorized_keys2
I''ve got a situation where a manifest fails when writing one particular key
for a user. What I have is a manifest that looks like this:
class my::accounts () {
Ssh_authorized_key {
ensure => present,
type => ssh-dss,
}
Then, after making sure the user, group, and authorized_keys2 file exist:
ssh_authorized_key { "key-name-1":
key
2012 Nov 27
1
Right way to implement "roles" in hiera/puppet
I''m looking to implement a hiera backend for our Puppet installation, as we
routinely deploy systems that are of varying hardware, OS, and which may
have multiple roles they fill.
I''ve figured out, I think, how to handle the OS question through facter,
but implementing server roles isn''t quite so clear. I want to maintain that
information on the server, not on the
2013 Jan 18
1
F18 import error?
Should I be concerned?
[root@fs1 ~]# cobbler import --name=F18
--path=rsync://mirrors.kernel.org/fedora/releases/18/Fedora/x86_64/os
--arch=x86_64
task started: 2013-01-18_062009_import
task started (id=Media import, time=Fri Jan 18 06:20:09 2013)
Found a redhat compatible signature: Packages
adding distros
creating new distro: F18-x86_64
creating new profile: F18-x86_64
associating repos
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
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
2009 Jul 10
3
Tracking down ensure => running problem
I''m trying to figure out how "ensure => running" determines whether a
service is running or not (CentOS using init controlled services).
I have a custom service that has enable => running set on it:
service { "foo":
ensure => running,
enable => true
}
Every time puppet runs I see this:
notice: //Service[foo]/ensure: ensure changed
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,
2007 Nov 13
2
new to puppet - can puppet push its content to remote servers?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I was made aware of puppet a few weeks ago and I really like the way
things are working.
What I liked at cfengine was the capability to push content from the
central server to any node. There was no need to open a port from DMZ or
any other remote system to the central server.
Is there a similar way within puppet?
How is this solved by other
2011 May 10
14
Puppet Master System Requirements
I''ve been messing around with Puppet on a VM on my personal desktop.
It looks descent. I was wondering what kind of load this thing would
have managing about 400 nodes.
Does this thing require a beefy server?
--
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
2013 Mar 26
5
Running ENC alongside site.pp (node defn)
Hello,
Is it possible to configure an ENC to provide class definition to a number
of nodes at the same time where a few other nodes are controlled in the
site.pp by node ''FQDN'' {blah} for the same puppetmaster ?
I am wondering once parameters are set for the master to look for an ENC
based definitions, will it conflict with the site.pp node definitions ?
For example these
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 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
2013 Nov 20
4
puppet testing
Hi There,
I am kind of lost, understood something wrong. I have written a module.
Now how can I test this module? Do I need to copy it to agent or server? Is
it possible to test it as a standalone module where I have a machine with
puppet agent or server installed? It is a simple module I dont want
complicate things with cucumber or some rspec etc.
How can I test it with puppet apply
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