Displaying 17 results from an estimated 17 matches for "postrun_command".
2012 Apr 01
0
postrun_command
Hi,
i was testing puppet postrun_command option and i found that it will be
executed even if puppet run fails to complete successfully
as seen in this snippets :
debug: Executing ''rm /root/file''
> debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml;
> using pson
> err: Could not retrieve ca...
2011 Apr 07
3
Ubuntu Execution of '/etc/puppet/etckeeper-commit-pre' returned 1:
Hi
I have just put puppet onto a new Ubuntu install and it ran a couple
of times but now I get
Execution of ''/etc/puppet/etckeeper-commit-pre'' returned 1:
whenever puppetd runs.
Grepping on etckeeper-commit turns up lots of posts to ubuntu and
debian forums about changes made in February.
Does anyone know what the story is? I''ve ended up with a screwed pam
2011 Mar 09
4
prerun_command don't stop puppet on error
...= server.domain
runinterval = 300
summarize = true
listen = true
client = false
logdir = /var/log/puppet
vardir = /var/lib/puppet
ssldir = /var/lib/puppet/ssl
rundir = /var/run/puppet
prerun_command = /server/host/manage integrity check
postrun_command = /server/host/manage integrity update
--
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 puppet-users+unsubscribe@googlegrou...
2011 Feb 15
8
Trigger an event after a puppet run
Hi,
We''d like to run puppet regularly in noop then trigger an event after
the run depending on the results, namely to hook puppet in to our
Nagios implementation so that if anything changes for any reason we
receive an alert.
We already have puppet configured to send out puppet reports via email
but don''t want to completely rely on that.
Is it possible to craft a trigger of
2013 Nov 28
1
puppet-users-br err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=unknown sta
...=> running,
}
}
the File: / etc / puppet / puppet.conf the client is well
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
server=puppetmaster
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
And so in this MASTER
[main]
logdir=/va...
2011 Jun 09
6
Prerun, Postrun Commands, and Stages
Hi all,
I''m looking for background information about how bug #7127[1] should
be fixed: prerun_command don''t stop puppet on error
I think there''s general agreement that if the prerun command fails,
then the catalog should not be applied, but the report should be sent,
and the report''s status should be "failed".
However, what about the post-run
2013 Oct 18
1
'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server session ticket A: tlsv1 alert unknown ca
...0.107 gfn-puppetmaster
192.168.0.112 doforte.geofusion doforte*
...
*-puppet.config*
*[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
server = gfn-puppetmaster
report = true
pluginsync = true
certnam...
2010 Dec 14
11
Configure firewall with Puppet
Hello Everybody,
We need to open some ports on the target machine, let''s say
694:udp and 3306:tcp
I couldn''t find any documentation how can I do this with Puppet. What
the best way of doing this?
Thank you
Dmytro
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2010 Mar 09
0
puppetd --test
...pet/puppet.conf for the master
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=false
environments=production,development,test
templatedir=$confdir/templates
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
[production]
manifest = /etc/puppet/manifests/prod/site.pp
[development]
manifest = /etc/puppet/manifests/dev/site.pp
[test]
manifest = /etc/puppet/manifests/test/site.pp
**Does someone can help me for this,
Ghislain.
*
--
You received this message because y...
2013 May 13
1
puppet does not see changes in /etc/puppet/puppet.conf
...values that I have entered in /etc/puppet/puppet.conf
[main]
server=puppet
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
[master]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
storeconfigs = true
storeconfigs_backend = puppetdb
reports = store,puppetdb
reporturl = http://dashboard/reports/upload
node_terminus = exec
external_nodes...
2012 Jan 15
1
puppet client server connection refused when I use puppet kick
...ration files at puppetclient.domain.ltd
puppet.conf
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
listen = true
runinterval=1800
splay=true
summarize = true
auth.conf:
path /
method find, search, save
auth yes
allow puppetmaster.domain.ltd
namespaceauth.conf
[fileserver]
allow *
[puppetmaster]
allow *
[pu...
2013 Oct 07
6
Force Fact within manifest
I have a requirement where I want a Fact to be stored in PuppetDB during
the manifest run and not during the initial fact gathering phase.
I know I can, in my manifests, create a file in /etc/facter/facts.d or I
can write a Ruby script that will then be distributed by plugin sync. But
both of these methods will only publish the fact during the initial phase
of the puppet agent run. What I
2012 Aug 23
1
Puppet Agent VS User
...e_name_value = vusion-production
node_terminus = plain
noop = false
onetime = false
passfile = /var/lib/puppet/ssl/private/password
path = none
pidfile = /var/run/puppet/apply.pid
plugindest = /var/lib/puppet/lib
pluginsignore = .svn CVS .git
pluginsource = puppet://puppet/plugins
pluginsync = true
postrun_command = /etc/puppet/etckeeper-commit-post
preferred_serialization_format = pson
prerun_command = /etc/puppet/etckeeper-commit-pre
privatedir = /var/lib/puppet/ssl/private
privatekeydir = /var/lib/puppet/ssl/private_keys
publickeydir = /var/lib/puppet/ssl/public_keys
puppetdlockfile = /var/lib/puppet/stat...
2011 Jun 29
0
Setting up puppetmaster-passenger on Debian
...ar/log/daemon.log.
My puppet.conf is real simple.
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
certname=node00.swehack.localdomain
#prerun_command=/etc/puppet/etckeeper-commit-pre
#postrun_command=/etc/puppet/etckeeper-commit-post
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
My /etc/apache2/sites-available/puppetmaster
Listen 8140
<V...
2010 Aug 31
23
Puppet + APT, I am lost...
Hi,
For the past week, I have been trying to figure out the best way to do
package management with Puppet on an Ubuntu system. I have studied many
solutons I found on the web, but none of them seem to do exactly what I want.
Among other things, I have tried everything that is discussed here:
http://groups.google.com/group/puppet-users/browse_thread/thread/af7349171a5821a4/db96b809c97f6006
but
2010 Oct 19
10
Automating infrastructure tests on Puppet nodes after a puppetrun
Hi List,
I would like to discuss with whoever is interested one topic that I
suppose has general interest.
I want to implement some kind of automatic testing on the status of a
node after a Puppet Run.
These tests involve trivial and less trivial things things like:
- A local service is running
- A local port is open
- A remote server on a remote port is reachable by the node
- An URL replies
2011 Nov 04
1
Storeconfigs and nagios and foreman
...nore = .svn CVS
# A command to run after every agent run. If this command returns
a non-zero
# return code, the entire Puppet run will be considered to have
failed, even though it might have
# performed work during the normal run.
# The default value is ''''.
# postrun_command =
# Whether to print a contextual diff when files are being
replaced. The diff
# is printed on stdout, so this option is meaningless unless you
are running Puppet interactively.
# This feature currently requires the `diff/lcs` Ruby library.
# show_diff = false
# Whether to us...