Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

# puppet agent debug
puppet agent -t –debug

# puppet agent dry run
puppet agent –test –noop

# check certificate to be signed
puppet cert –list

#check all certificate
puppet cert –list –all

# Removing certificates
puppet cert –clean {node certname}

# Remove the entire SSL directory of the client machine
rm -r /etc/puppet/ssl; rm -r /var/lib/puppet/ssl

#register client with puppetserver
#Client
puppet agent --server puppetmaster.ashishnepal.net --waitforcert 60 --test

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

#Master
puppet cert --sign web1.tikejhya.net

#Config example

[main]
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl

[agent]
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
server=puppetmaster.ashishnepal.net
environment = development
runinterval = 5y

[master]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY

# There can be always fun with puppet agent and its hostname: (give it a go and see)

# hostname
foobar
# uname -n
foobar
# hostname -f
foobar.example.com
# hostname -a
foobar localhost.localdomain localhost