Displaying 20 results from an estimated 42 matches for "etckeeper".
2012 Sep 06
1
puppet bug in File selector ?
I tried to conditionally run etckeeper at the end of a puppet run.
For that I defined the following class :
class os::etckeeper::commit {
$cmd = "$operatingsystem" ? {
''debian'' => ''/usr/sbin/etckeeper'',
default => ''/usr/bin/etckeeper'',
}
e...
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
configuration on the box and now can''t c...
2012 Aug 04
2
How can puppet help with change control of /etc
Hi,
I''ve used etckeeper before and it puts the contents of /etc/ into a local
git repository. This means that I can easily see any changes which have
been made to anything in /etc/
However, I need to look after a SLES server - and etckeeper is not
available. Also, I''m looking to upgrade server management to...
2020 Jun 05
6
yum/dnf diff
On 6/5/2020 12:21 PM, Johnny Hughes wrote:
> if you click on the six digit number, for example, e52775 for the
> current latest "import 389-ds-base-1.3.10.1-9.el7_8". The result is
> every diff of every change for the rpm.
That's quite handy! But not what I'm looking for. I'm trying to figure
out what edits I made to my config files.
My most recent case was
2013 Nov 28
1
puppet-users-br err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=unknown sta
...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_VERIFY
And so in thi...
2013 Oct 18
1
'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server session ticket A: tlsv1 alert unknown ca
...*-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-puppetmaster
report = tru...
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
2013 Nov 19
6
Actual diffs in puppetdb?
Any plans to get the actual diffs of file changes into puppetdb? Right now
you get the hashes of the buckets on the host, but if diffs could get into
puppetdb, it could be extremely useful.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
2019 Aug 30
2
I broke "yum update" - C7
On Fri, Aug 30, 2019 at 12:17:47PM +0100, Gary Stainburn wrote:
> On Friday 30 August 2019 12:03:26 Alexander Dalloz wrote:
> >
> > Besides a corrupted certificates bundle I cannot imagine a different
> > root cause actually.
Just to mention that the 'etckeeper' package from EPEL is great for
tracking changes to /etc. Package installs trigger a commit, as do a daily
cron job.
If in this case it was a corrupt file in /etc/pki, then a 'git log' or
similar could show when it happened. Although I think you tried 'rpm -V'
already so perhap...
2020 Jun 02
2
yum/dnf diff
...using "git diff" and "svn diff" to view changes in my
development system. Is there a similar thing that works with changes
between a repository package and the installed RPM? Ie. something that
shows the changes in /etc hinted at by "rpm -V". I'm already using
etckeeper+git but that would combine changes from updates with my own
modifications.
The only thing I've found so far is a rather manual procedure:
<https://serverfault.com/questions/378439/getting-diffs-for-file-changes-detected-by-rpm-v>
2010 Mar 09
0
puppetd --test
...*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,
Ghislain.
*
--
You rece...
2013 May 13
1
puppet does not see changes in /etc/puppet/puppet.conf
...#39; 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/reports/upload
node_ter...
2012 Jan 15
1
puppet client server connection refused when I use puppet kick
...nect(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
[fileserver]
allow *
[pu...
2013 Oct 09
6
Could not retrieve catalog from remote server: Error 400 on SERVER: cannot generate tempfile `/var/lib/puppet/yaml/facts/vagrant1.localdomain.yaml20131009-16545-8oie5i-9'
..._requests]: Autorequiring
File[/etc/puppet/ssl]
debug: Finishing transaction -615437368
debug: Using cached certificate for ca
debug: Using cached certificate for vagrant1.localdomain
debug: Finishing transaction -615696088
debug: Loaded state in 0.00 seconds
debug: Executing ''/etc/puppet/etckeeper-commit-pre''
debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson
debug: Using cached certificate for ca
debug: Using cached certificate for vagrant1.localdomain
debug: Using cached certificate_revocation_list for ca
err: Could not retrieve catalog from remote server...
2017 Sep 27
3
Semi-OT: hardware: NVidia proprietary driver, C7.4
...ch file or directory
rm: cannot remove '/tmp/weak-modules.oC1A7x/new_initramfs.img': No such
file or directory
mv: cannot stat '/boot/initramfs-3.10.0-693.el7.x86_64.tmp': No such file
or directory
Done.
Installing : nvidia-x11-drv-384.90-1.el7.elrepo.x86_64
2/2
etckeeper: post transaction commit
Verifying : kmod-nvidia-384.90-1.el7_4.elrepo.x86_64
1/2
Verifying : nvidia-x11-drv-384.90-1.el7.elrepo.x86_64
2/2
Installed:
kmod-nvidia.x86_64 0:384.90-1.el7_4.elrepo
Dependency Installed:
nvidia-x11-drv.x86_64 0:384.90-1...
2018 Jun 06
2
Definitive guide to setting up FTPIS on vsftpd
Followup:
I gave up on the Implicit and configured vsftpd for Explicit, that revealed some configuration errors (displayed on the client, Filezilla in my case). I then corrected these errors and switched back to Implicit and all is well.
Frank M. Ramaekers Jr.
-----Original Message-----
From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Kenneth Porter
Sent: Thursday, May 31, 2018
2011 Jun 09
6
Prerun, Postrun Commands, and Stages
...rt''s log.
* If the catalog is applied successfully, but the postrun command
fails, the report status is not changed to "failed".
Right now it doesn''t matter because the report is never sent, but if I
fix that, it could matter.
Thoughts? The only use case I know of is etckeeper, but its postrun
command, etckeeper-commit-post[3], always returns 0 even if the
etckeeper command fails.
Finally, the prerun command is executed after dostorage,
download_plugins, download_fact_plugins. Is there reason for the
prerun command to occur first?
It''d be great to hear about y...
2012 Aug 23
1
Puppet Agent VS User
...on
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/state/puppetdlock
puppetdlog...
2010 Aug 18
0
info: Retrieving plugin, err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': undefined method `closed?' for nil:NilClass
...t state of
resource: undefined method `closed?'' for nil:NilClass Could not
retrieve file metadata for puppet://puppetmaster.DOMAIN/plugins:
undefined method `closed?'' for nil:NilClass
debug: Finishing transaction 70308735417700 with 0 changes
debug: Executing ''/etc/puppet/etckeeper-commit-pre''
debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml;
using pson
err: Could not retrieve catalog from remote server: undefined method
`closed?'' for nil:NilClass
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
deb...
2015 Jun 16
4
NUX Skype for Linux
I had cause to install the Skype for Linux package from the NUX repo.
I discover that this package is configured to automatically start
Skype whenever one logs on to the Gnome desktop. This behaviour I do
not wish. However, there seems to be no option in Skype to turn that
'feature' off. Is there any way to disable this in Gnome or elsewhere?
I will be removing Skype shortly when the