search for: prerun_command

Displaying 13 results from an estimated 13 matches for "prerun_command".

2011 Mar 09
4
prerun_command don't stop puppet on error
When an error occurs in prerun_command, puppet continues execution instead of stopping. We can see the error at the log file, but puppet cotinues doing changes: puppetd[18430]: Failed to prepare catalog: Could not run command from prerun_command: Execution of ''/path/to/command'' returned 1: We want to prevent changes...
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 command? In parti...
2010 Dec 14
7
source /etc/profile
Hello , There is a way to source /etc/profile inside puppet on demand? My problem is that I install Java, afterwards I set JAVA_HOME variable in /etc/profile. After Java is installed, a gem which depends on Java starts to install ... but as it needs JAVA_HOME environment to be set, it fails. I am not sure what can I do ... Thank you, Adrian -- You received this message because you are
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
2013 Nov 28
1
puppet-users-br err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=unknown sta
...9;'ntp'': ensure => 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_V...
2013 Oct 18
1
'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server session ticket A: tlsv1 alert unknown ca
...sion* *### Server config* *-host* ... *192.168.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-pup...
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
...var/lib/puppet/templates **Here is the /etc/puppet/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, Ghi...
2013 May 13
1
puppet does not see changes in /etc/puppet/puppet.conf
...old ''default'' value and not the 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/repo...
2012 Jan 15
1
puppet client server connection refused when I use puppet kick
...t: Connection refused - connect(2) Here are configuration 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 [fileserve...
2012 Aug 23
1
Puppet Agent VS User
...le = /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/state/puppetdlock puppetdlog = /var/log/puppet/puppetd.log puppetport = 8139 queue_source = s...
2011 Jun 29
0
Setting up puppetmaster-passenger on Debian
...not retrieve catalog; skipping run Same in my /var/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/apache...
2011 Nov 04
1
Storeconfigs and nagios and foreman
...11-244.ec2.internal.pem # Whether facts should be synced with the central server. factsync = false # A command to run before every agent run. If this command returns a non-zero # return code, the entire Puppet run will fail. # The default value is ''''. # prerun_command = # Whether certificate revocation should be supported by downloading a Certificate Revocation List (CRL) # to all clients. If enabled, CA chaining will almost definitely not work. # The default value is ''true''. # certificate_revocation = true # Which argume...