Re: [Puppet Users] Re: I moved my modules and manifest directory in puppet master.
Ok so Puppet is reading /etc/puppet/puppet.conf. The timestamp on this file shows is hasn't been changed for a few days though. Is the output of: # puppet agent --configprint moduledir # puppet agent --configprint manifestdir on the master what you expect? Perhaps you have a permissions / ownership issue. Try: # chown -R puppet:puppet /etc/puppet /etc/puppet2 Also see http://docs.puppetlabs.com/guides/configuring.html - Keith On 4 Mar 2013 21:16, JGonza1 jgonza1...@gmail.com wrote: I ran the command puppet agent --configprint confdir on both the master and the agetn and got the below for both. On the puppet master that is where the puppet.conf file is in /etc/puppet directory. [root@ct-eng-pup puppet]# puppet agent --configprint confdir /etc/puppet [root@ct-eng-pup puppet]# ll /etc/puppet total 2092 -rw-r--r--. 1 root root 2552 Sep 7 00:14 auth.conf -rw-r--r--. 1 root root 0 Sep 8 16:07 fileserver.conf drwxr-xr-x. 3 root root 4096 Mar 1 17:33 manifests drwxr-xr-x. 192 root puppet4096 Feb 27 13:45 modules -rw-r--r--. 1 root root61 Sep 7 14:29 namespaceauth.conf -rw-r--r--. 1 root root 41346 Feb 28 12:49 puppet.conf -r-xr-xr-x. 1 root root 2599 Sep 20 11:09 puppetd drwxrwx--x. 8 puppet root 4096 Sep 7 00:17 ssl [root@pdlnx-adpt03 ~]# puppet agent --configprint confdir /etc/puppet [root@pdlnx-adpt03 ~]# ll /etc/puppet total 8 -rw-r--r--. 1 root root 2552 Nov 12 13:52 auth.conf drwxrwx--x. 7 root root 4096 Nov 12 13:58 ssl On Monday, March 4, 2013 12:49:31 PM UTC-8, JGonza1 wrote: I also made the changes below in the puppet.conf file to tell puppet where to look for the the modules and manifests. I then restart the puppet master then ran puppet command to apply changes to a puppet client it did not find anything to change just got these three lines info: Caching catalog for pdlnx-adpt03.kareoprod.ent, info: Applying configuration version '1362084986', notice: Finished catalog run in 0.33 seconds. WWhen I put the modules and manifests back in the original place puppet works. Is there anywhere else where I need to change the path to the modules? Changes that I made to puppet.conf file to point to the ne location of the modules and manifest. # The default value is '$confdir/manifests'. #manifestdir = /etc/puppet/manifests manifestdir = /etc/puppet2/manifests # The search path for modules, as a list of directories separated by the system path separator character. (Th e POSIX path separator is ':', and the Windows path separator is ';'.) # The default value is '$confdir/modules:/usr/share/** puppet/modules'. #modulepath = /etc/puppet/modules:/usr/**share/puppet/modules modulepath = /etc/puppet2/modules:/usr/**share/puppet/modules -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: I moved my modules and manifest directory in puppet master.
What section of /etc/puppet/puppet.conf is your moduledir etc set in? This should be in [main] or [master] - see the 'Config Blocks' section in the docs. Alternatively perhaps the master has not actually been restarted somehow and is still using the old config. - Keith On 4 Mar 2013 21:54, JGonza1 jgonza1...@gmail.com wrote: I ran the commands and I see that puppt is still pointing to /etc/puppet not /etc/puppet2 for both modules and manifests, see below. [root@ct-eng-pup etc]# puppet agent --configprint manifestdir /etc/puppet/manifests [root@ct-eng-pup etc]# puppet agent --configprint modulepath /etc/puppet/modules:/usr/share/puppet/modules [root@ct-eng-pup etc]# On Monday, March 4, 2013 12:49:31 PM UTC-8, JGonza1 wrote: I also made the changes below in the puppet.conf file to tell puppet where to look for the the modules and manifests. I then restart the puppet master then ran puppet command to apply changes to a puppet client it did not find anything to change just got these three lines info: Caching catalog for pdlnx-adpt03.kareoprod.ent, info: Applying configuration version '1362084986', notice: Finished catalog run in 0.33 seconds. WWhen I put the modules and manifests back in the original place puppet works. Is there anywhere else where I need to change the path to the modules? Changes that I made to puppet.conf file to point to the ne location of the modules and manifest. # The default value is '$confdir/manifests'. #manifestdir = /etc/puppet/manifests manifestdir = /etc/puppet2/manifests # The search path for modules, as a list of directories separated by the system path separator character. (Th e POSIX path separator is ':', and the Windows path separator is ';'.) # The default value is '$confdir/modules:/usr/share/** puppet/modules'. #modulepath = /etc/puppet/modules:/usr/**share/puppet/modules modulepath = /etc/puppet2/modules:/usr/**share/puppet/modules -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.