Asim
HUSANOVIĆ
admin
Puppet
2012.07.01 18:08:11

Install:

/usr/bin/zypper --quiet install -l -y puppet

 List outstanding certificate requests:

puppetca -l

 List nodes:

puppetca -a -l

Sign an outstanding certificate request:

puppetca -s hostname

Remove all files related to a host from puppet cert's storage:

puppetca --clean hostname

Note: After remove certificate, remove all puppet directories from node

rm -rf /var/lib/puppet/ssl/*

Note 2: If no changes, should restart master:

puppetmasterd restart

Run interval (/etc/puppet/puppet.conf):

runinterval = 240
 splaylimit = 240

Realtime log (/etc/puppet/puppet.conf):

[agent]
 autoflush = true



Tags: puppet | linux

Comments 1 | Hits: 913 | Read more...


 
admin
VI editor
2012.07.01 17:59:23

Show all character:

:set list

Find and replace:

First occurrence on current line:

:s/OLD/NEW


Globally (all) on current line:

:s/OLD/NEW/g


Between two lines #,#:

:#,#s/OLD/NEW/g


Every occurrence in file:

:%s/OLD/NEW/g



Tags: vi | linux

Hits: 820 | Read more...


 
Page 4 of 6
«StartPrev123456NextEnd»
IDOBlog - blog for joomla 1.5