Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am new to puppet and am experimenting with some basic commands. I have a puppetmaster server and a couple or servers with puppet client. All servers are running ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    18

    Puppet client not auto updating


    Hi,

    I am new to puppet and am experimenting with some basic commands. I have a puppetmaster server and a couple or servers with puppet client. All servers are running ubuntu.

    I have set up the link between the master and the clients and their certs have been signed etc.

    The clients have had puppet started via 'service puppet start' and can confirm they are running with 'service puppet status'.

    When I make any changes on the master nothing happens on the servers. I have waited a couple of hours and e.g. the required package has not been installed on the client. As soon as I run on the client:-

    puppetd --test

    It will immediately install the package so I know my manifests / modules are correct as it does what I request when I manually ask it. I just need it to run periodically automatically and get the latest info from the master.

    Any ideas of things I can check?

  2. #2
    Just Joined!
    Join Date
    Aug 2012
    Location
    Toronto
    Posts
    7
    Quote Originally Posted by harveyd View Post
    The clients have had puppet started via 'service puppet start' and can confirm they are running with 'service puppet status'.
    Can you also run:
    PHP Code:
    ps -ef grep puppet 
    Do you see anything in

    When I make any changes on the master nothing happens on the servers. I have waited a couple of hours and e.g. the required package has not been installed on the client. As soon as I run on the client:-
    What are you changing exactly? a particular module?

    puppetd --test
    You should run from the client:
    PHP Code:
    puppet agent --test 
    Can you post your puppet.conf file? Is it the same for the clients and server?

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    18
    Thanks for taking the time to reply. Below is the response to your questions:-

    Code:
    ps -ef | grep puppet
    root     20394     1  0 Apr05 ?        00:00:33 /usr/bin/ruby1.8 /usr/sbin/puppetd
    The changes I am making is to add a new module, one that for example checks it ntp is installed.

    Code:
    puppet agent --test  
    invalid option: --test
    Try '/usr/bin/puppet --help'
    Code:
    puppetd --test
    Does work

    As for puppet.conf. The client is:-

    Code:
    [main]
    logdir=/var/log/puppet
    vardir=/var/lib/puppet
    ssldir=/var/lib/puppet/ssl
    rundir=/var/run/puppet
    factpath=$vardir/lib/facter
    pluginsync=true
    templatedir=$confdir/templates
    prerun_command=/etc/puppet/etckeeper-commit-pre
    postrun_command=/etc/puppet/etckeeper-commit-post
    And the server is:-

    Code:
    [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
    dns_alt_names=puppet, puppet-master, puppetmaster, master.local
    
    [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
    Any further thoughts?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •