JGonza1
2013-Mar-04 20:49 UTC
[Puppet Users] I moved my modules and manifest directory in puppet master.
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+unsubscribe@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.
Keith Burdis
2013-Mar-04 21:01 UTC
Re: [Puppet Users] I moved my modules and manifest directory in puppet master.
Perhaps Puppet is not using the puppet.conf file you think it is. Try running: # puppet agent --configprint confdir - Keith On 4 Mar 2013 20:49, "JGonza1" <jgonza1495@gmail.com> 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+unsubscribe@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+unsubscribe@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.
JGonza1
2013-Mar-04 21:16 UTC
[Puppet Users] Re: I moved my modules and manifest directory in puppet master.
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 puppet 4096 Feb 27 13:45 modules -rw-r--r--. 1 root root 61 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+unsubscribe@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.
Keith Burdis
2013-Mar-04 21:29 UTC
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" <jgonza1495@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 puppet 4096 Feb 27 13:45 modules > -rw-r--r--. 1 root root 61 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+unsubscribe@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+unsubscribe@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.
JGonza1
2013-Mar-04 21:54 UTC
[Puppet Users] Re: I moved my modules and manifest directory in puppet master.
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+unsubscribe@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.
Keith Burdis
2013-Mar-04 22:03 UTC
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" <jgonza1495@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+unsubscribe@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+unsubscribe@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.
JGonza1
2013-Mar-04 22:57 UTC
[Puppet Users] Re: I moved my modules and manifest directory in puppet master.
The paths below are in the main part of the puppet.conf file and I just restart the puppet master process again and still nothing. I am thinking of creating a production directory in /etc/puppet like so /etc/puppet/prod and makeing the change in /etc/puppet/puppet.conf file to see if that works. # 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 On the master server: [root@ct-eng-pup puppet]# ps -ef |grep puppet puppet 6143 1 0 14:43 ? 00:00:00 /usr/bin/ruby /usr/bin/puppet master root 6162 5640 0 14:46 pts/0 00:00:00 grep puppet [root@ct-eng-pup puppet]# date Mon Mar 4 14:54:56 PST 2013 [root@ct-eng-pup puppet]# On the puppet agent. [root]# puppet agent --server ct-eng-pup.caretools.ent --test --noop info: Caching catalog for pdlnx-adpt03.kareoprod.ent info: Applying configuration version ''1362437517'' notice: Finished catalog run in 0.33 seconds [root]# 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+unsubscribe@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.
JGonza1
2013-Mar-04 23:54 UTC
[Puppet Users] Re: I moved my modules and manifest directory in puppet master.
Moved the modules and manifests into /etc/puppet/prod and changed /etc/puppet/puppet.conf. Then I restart the puppet master but does not work. The entries in /etc/puppet/puppet.conf looks like this now. # Where puppet master looks for its manifests. # The default value is ''$confdir/manifests''. # manifestdir = /etc/puppet/manifests manifestdir = /etc/puppet/prod/manifests # The search path for modules, as a list of directories separated by the system path separator character. (The 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/puppet/prod/modules:/usr/share/puppet/modules [root@ct-eng-pup puppet]# ps -ef |grep pup puppet 6356 1 0 15:30 ? 00:00:05 /usr/bin/ruby /usr/bin/puppet master [root@ct-eng-pup puppet]# puppet agent --configprint modulepath /etc/puppet/modules:/usr/share/puppet/modules 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+unsubscribe@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.