OK, I am trying to add some classes I defined in my modules subdirectory: My path is $CONFDIR/modules/baseline/baseline.pp I have added it to site.pp in $CONFDIR/manifests/site.pp as: import "baseline" import "modules/baseline" and even import "modules/baseline/baseline.pp" All of which give me the errors: Jun 3 18:37:58 lxp6d4m3 puppetmasterd[6770]: Could not parse for environment development: No file(s) found for import of ''baseline'' at / opt/etrade/p6/puppet/manifests/site.pp:4 Jun 3 18:37:58 lxp6d4m3 puppetd[6634]: Could not retrieve catalog: Could not parse for environment development: No file(s) found for import of ''baseline'' at /opt/etrade/p6/puppet/manifests/site.pp:4 What am I doing wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Jeff Leggett wrote:> OK, I am trying to add some classes I defined in my modules > subdirectory: > > My path is $CONFDIR/modules/baseline/baseline.pp >You need $CONFDIR/modules/baseline/manifests/init.pp for it to succesfully import. Take a look at the PluginsInModules page on the wiki :)> I have added it to site.pp in $CONFDIR/manifests/site.pp as: > > import "baseline" > import "modules/baseline" > and even > import "modules/baseline/baseline.pp" > > All of which give me the errors: > > Jun 3 18:37:58 lxp6d4m3 puppetmasterd[6770]: Could not parse for > environment development: No file(s) found for import of ''baseline'' at / > opt/etrade/p6/puppet/manifests/site.pp:4 > Jun 3 18:37:58 lxp6d4m3 puppetd[6634]: Could not retrieve catalog: > Could not parse for environment development: No file(s) found for > import of ''baseline'' at /opt/etrade/p6/puppet/manifests/site.pp:4 > > What am I doing wrong? > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
*sigh* That''s it, thank you. On Jun 3, 7:13 pm, AJ <a...@junglist.gen.nz> wrote:> Jeff Leggett wrote: > > OK, I am trying to add some classes I defined in my modules > > subdirectory: > > > My path is $CONFDIR/modules/baseline/baseline.pp > > You need $CONFDIR/modules/baseline/manifests/init.pp for it to > succesfully import. > > Take a look at the PluginsInModules page on the wiki :) > > > I have added it to site.pp in $CONFDIR/manifests/site.pp as: > > > import "baseline" > > import "modules/baseline" > > and even > > import "modules/baseline/baseline.pp" > > > All of which give me the errors: > > > Jun 3 18:37:58 lxp6d4m3 puppetmasterd[6770]: Could not parse for > > environment development: No file(s) found for import of ''baseline'' at / > > opt/etrade/p6/puppet/manifests/site.pp:4 > > Jun 3 18:37:58 lxp6d4m3 puppetd[6634]: Could not retrieve catalog: > > Could not parse for environment development: No file(s) found for > > import of ''baseline'' at /opt/etrade/p6/puppet/manifests/site.pp:4 > > > What am I doing wrong?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
OK, still having issues. My baseline.pp needs a custom resource type
"line" defined in all these places (cause i can''t get any to
work)
[jleggett@lxp6d4m3 puppet]$ find . -name lines.pp
./plugins/lines.pp
./modules/baseline/plugins/puppet/type/lines.pp
./modules/custom/plugins/puppet/type/lines.pp
But I still see the error:
Jun 4 11:53:40 lxp6d4m3 puppetmasterd[9847]: Could not find resource
type line at /opt/etrade/p6/puppet/modules/baseline/manifests/
baseline.pp:39 on node lxp6d4m3.etrade.com
Jun 4 11:53:40 lxp6d4m3 puppetd[9872]: Could not retrieve catalog:
Could not find resource type line at /opt/etrade/p6/puppet/modules/
baseline/manifests/baseline.pp:39 on node lxp6d4m3.etrade.com
per this page: http://reductivelabs.com/trac/puppet/wiki/PluginsInModules
I have added these to puppet.conf:
# Where Puppet should store plugins that it pulls down from the
central
plugindest = /opt/etrade/p6/puppet/lib
# What files to ignore when pulling down plugins.
pluginsignore = .svn CVS
# From where to retrieve plugins. The standard Puppet ``file``
type
# The default value is ''puppet://$server/plugins''.
pluginsync = true
pluginsource = puppet://lxp6d4m3.etrade.com/plugins
# Where Puppet should look for plugins. Multiple directories
should
# The default value is ''$vardir/plugins''.
pluginpath = /var/puppet/plugins:/opt/etrade/p6/puppet/plugins
# Whether plugins should be synced with the central server.
# pluginsync = false
[jleggett@lxp6d4m3 puppet]$
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to
puppet-users-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---
On Wed, Jun 4, 2008 at 9:57 AM, Jeff Leggett <jeffrey.leggett@etrade.com> wrote:> > OK, still having issues. My baseline.pp needs a custom resource type > "line" defined in all these places (cause i can''t get any to work) > > [jleggett@lxp6d4m3 puppet]$ find . -name lines.pp > ./plugins/lines.pp > ./modules/baseline/plugins/puppet/type/lines.pp > ./modules/custom/plugins/puppet/type/lines.pp > > But I still see the error: > > Jun 4 11:53:40 lxp6d4m3 puppetmasterd[9847]: Could not find resource > type line at /opt/etrade/p6/puppet/modules/baseline/manifests/ > baseline.pp:39 on node lxp6d4m3.etrade.com > Jun 4 11:53:40 lxp6d4m3 puppetd[9872]: Could not retrieve catalog: > Could not find resource type line at /opt/etrade/p6/puppet/modules/ > baseline/manifests/baseline.pp:39 on node lxp6d4m3.etrade.com > > per this page: http://reductivelabs.com/trac/puppet/wiki/PluginsInModules > > I have added these to puppet.conf: > > # Where Puppet should store plugins that it pulls down from the > central > plugindest = /opt/etrade/p6/puppet/lib > # What files to ignore when pulling down plugins. > pluginsignore = .svn CVS > # From where to retrieve plugins. The standard Puppet ``file`` > type > # The default value is ''puppet://$server/plugins''. > pluginsync = true > pluginsource = puppet://lxp6d4m3.etrade.com/plugins > # Where Puppet should look for plugins. Multiple directories > should > # The default value is ''$vardir/plugins''. > pluginpath = /var/puppet/plugins:/opt/etrade/p6/puppet/plugins > # Whether plugins should be synced with the central server. > # pluginsync = false > [jleggett@lxp6d4m3 puppet]$ >What is your modulepath set to? #puppet --configprint modulepath You may need to add that to your puppet.conf Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---