On Tue, Aug 14, 2012 at 2:59 PM, Douglas Garstang <[email protected]> wrote: > On Tue, Aug 14, 2012 at 2:49 PM, Eric Shamow <[email protected]> wrote: >> Specifically the types need to be in the server's $libdir. You can place >> them there manually, but the way they generally get there is via pluginsync. >> So the easiest way to ensure the master can process them is to place them in >> the module path used by the server *when the server is acting as a puppet >> agent* and run puppet agent on the server. >> >> This will sync the types to the correct directory on the master and enable >> it to parse them when they are used elsewhere. >> >> -Eric > > Actually, *sigh* something else is wrong, because I used the concat > module earlier, after enabling pluginsync on both master and client, > and it seems to have synced what it needs ok: > > [us1:i-f8350ebe] root@testweb10:/var/lib/puppet/lib# ls -l > total 8 > drwxr-sr-x 2 root root 4096 2012-08-14 18:02 facter > drwxr-sr-x 4 root root 4096 2012-08-14 20:35 puppet > [us1:i-f8350ebe] root@testweb10:/var/lib/puppet/lib# cd facter/ > [us1:i-f8350ebe] root@testweb10:/var/lib/puppet/lib/facter# ls -l > total 4 > -rw-r--r-- 1 root root 103 2012-08-14 18:02 concat_basedir.rb > > Something else is wrong, something specifically with puppetlabs/lvm. > The concat module is in the same environment too. > > Doug.
Now I'm really confused... The files _ARE_ on the client... [us1:i-f8350ebe] root@testweb10:/var/lib/puppet/lib/puppet# find . -ls 274588 4 drwxr-sr-x 4 root root 4096 Aug 14 20:35 . 274597 4 drwxr-sr-x 2 root root 4096 Aug 14 20:35 ./type 274598 4 -rw-r--r-- 1 root root 1380 Aug 14 20:35 ./type/logical_volume.rb 274601 4 -rw-r--r-- 1 root root 458 Aug 14 20:35 ./type/volume_group.rb 274599 4 -rw-r--r-- 1 root root 320 Aug 14 20:35 ./type/physical_volume.rb 274600 4 -rw-r--r-- 1 root root 531 Aug 14 20:35 ./type/filesystem.rb 274589 4 drwxr-sr-x 6 root root 4096 Aug 14 20:35 ./provider 274593 4 drwxr-sr-x 2 root root 4096 Aug 14 20:35 ./provider/logical_volume 274596 4 -rwxr-xr-x 1 root root 3653 Aug 14 20:35 ./provider/logical_volume/lvm.rb 274591 4 drwxr-sr-x 2 root root 4096 Aug 14 20:35 ./provider/filesystem 274592 4 -rw-r--r-- 1 root root 825 Aug 14 20:35 ./provider/filesystem/lvm.rb 274594 4 drwxr-sr-x 2 root root 4096 Aug 14 20:35 ./provider/physical_volume 274595 4 -rw-r--r-- 1 root root 401 Aug 14 20:35 ./provider/physical_volume/lvm.rb 274590 4 drwxr-sr-x 2 root root 4096 Aug 14 20:35 ./provider/volume_group 274602 4 -rw-r--r-- 1 root root 1856 Aug 14 20:35 ./provider/volume_group/lvm.rb But... [us1:i-f8350ebe] root@testweb10:/var/lib/puppet/lib/puppet# puppet agent --test --onetime --verbose info: Retrieving plugin info: Loading facts in concat_basedir info: Loading facts in concat_basedir err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type physical_volume at /truth/sauce/env/prod/modules/role/manifests/common.pp:44 on node testweb10.us1.xxx.com Doug. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
