Discussion:
Excluding directories from search path
Amos S
2015-07-13 06:08:01 UTC
Permalink
With Geppetto 4.3.1, I have a git repository with the puppet files residing
under a sub-directory, like this

root-dir
|
+-puppet
|
+-our-modules
+-modules
+-manifests
+-.tmp
+-Puppetfile

We manage external modules using puppet-librarian, which creates
puppet/.tmp.
I setup Geppetto's modulepath to puppet/our-modules/* and puppet/modules/*,
I removed the default settings so these are the only two entries, but it
keeps picking up modules from under puppet/.tmp.
According to the FAQ
at http://puppetlabs.github.io/geppetto/faq.html#/2011/09/14/how-do-i-use-the-searchpath,
the modulepath I set in the project properties is appended to the default
modulepath which is the top level directory.
I'd like to be able to exclude puppet/.tmp but haven't found a way to do
that.

How can I do that?

Thanks.
--
You received this message because you are subscribed to the Google Groups "Puppet Geppetto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-geppetto+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Henrik Lindberg
2015-07-13 15:29:20 UTC
Permalink
Post by Amos S
With Geppetto 4.3.1, I have a git repository with the puppet files
residing under a sub-directory, like this
|
root-dir
|
+-puppet
|
+-our-modules
+-modules
+-manifests
+-.tmp
+-Puppetfile
|
We manage external modules using puppet-librarian, which creates
puppet/.tmp.
I setup Geppetto's modulepath to puppet/our-modules/* and
puppet/modules/*, I removed the default settings so these are the only
two entries, but it keeps picking up modules from under puppet/.tmp.
According to the FAQ
at http://puppetlabs.github.io/geppetto/faq.html#/2011/09/14/how-do-i-use-the-searchpath,
the modulepath I set in the project properties is appended to the
default modulepath which is the top level directory.
I'd like to be able to exclude puppet/.tmp but haven't found a way to do
that.
How can I do that?
You want to look at the preference "Folder Exclusion Pattern".

- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received this message because you are subscribed to the Google Groups "Puppet Geppetto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-geppetto+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Amos S
2015-07-14 04:37:00 UTC
Permalink
Hi Henrik.

I didn't find "Folder Exclusion Pattern" anywhere in the project or global
preferences.
However, I found "Resource"->"Resource Filters" and added "puppet/.tmp"
(recursive) to the exclusions.
So far it seems to have fixed that.

Thanks.
Post by Amos S
Post by Amos S
With Geppetto 4.3.1, I have a git repository with the puppet files
residing under a sub-directory, like this
|
root-dir
|
+-puppet
|
+-our-modules
+-modules
+-manifests
+-.tmp
+-Puppetfile
|
We manage external modules using puppet-librarian, which creates
puppet/.tmp.
I setup Geppetto's modulepath to puppet/our-modules/* and
puppet/modules/*, I removed the default settings so these are the only
two entries, but it keeps picking up modules from under puppet/.tmp.
According to the FAQ
at
http://puppetlabs.github.io/geppetto/faq.html#/2011/09/14/how-do-i-use-the-searchpath,
Post by Amos S
the modulepath I set in the project properties is appended to the
default modulepath which is the top level directory.
I'd like to be able to exclude puppet/.tmp but haven't found a way to do
that.
How can I do that?
You want to look at the preference "Folder Exclusion Pattern".
- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received this message because you are subscribed to the Google Groups "Puppet Geppetto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-geppetto+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Henrik Lindberg
2015-07-14 15:25:10 UTC
Permalink
Post by Amos S
Hi Henrik.
I didn't find "Folder Exclusion Pattern" anywhere in the project or
global preferences.
However, I found "Resource"->"Resource Filters" and added "puppet/.tmp"
(recursive) to the exclusions.
So far it seems to have fixed that.
Great - the "Folder Exclusion Pattern" seems to be the name of the
property; I read about it in the documentation for the Jenkins plugin.

Glad you found the preference that controls it.

- henrik
Post by Amos S
Post by Amos S
With Geppetto 4.3.1, I have a git repository with the puppet files
residing under a sub-directory, like this
|
root-dir
|
+-puppet
|
+-our-modules
+-modules
+-manifests
+-.tmp
+-Puppetfile
|
We manage external modules using puppet-librarian, which creates
puppet/.tmp.
I setup Geppetto's modulepath to puppet/our-modules/* and
puppet/modules/*, I removed the default settings so these are the
only
Post by Amos S
two entries, but it keeps picking up modules from under puppet/.tmp.
According to the FAQ
at
http://puppetlabs.github.io/geppetto/faq.html#/2011/09/14/how-do-i-use-the-searchpath,
Post by Amos S
the modulepath I set in the project properties is appended to the
default modulepath which is the top level directory.
I'd like to be able to exclude puppet/.tmp but haven't found a
way to do
Post by Amos S
that.
How can I do that?
You want to look at the preference "Folder Exclusion Pattern"..
- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot..se/
<http://puppet-on-the-edge.blogspot.se/>
--
You received this message because you are subscribed to the Google
Groups "Puppet Geppetto" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to
For more options, visit https://groups.google.com/d/optout.
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received this message because you are subscribed to the Google Groups "Puppet Geppetto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-geppetto+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thomas Hallgren
2015-07-14 15:52:17 UTC
Permalink
Hi guys,

If you select "Preferences" in Geppetto 4.3.1 and then click on "Puppet"
(just click, don't expand), the "Glob Exclusion Patterns" should be
visible in the preference page to the right.

- thomas
Post by Henrik Lindberg
Post by Amos S
Hi Henrik.
I didn't find "Folder Exclusion Pattern" anywhere in the project or
global preferences.
However, I found "Resource"->"Resource Filters" and added "puppet/.tmp"
(recursive) to the exclusions.
So far it seems to have fixed that.
Great - the "Folder Exclusion Pattern" seems to be the name of the
property; I read about it in the documentation for the Jenkins plugin.
Glad you found the preference that controls it.
- henrik
Post by Amos S
Post by Amos S
With Geppetto 4.3.1, I have a git repository with the puppet
files
Post by Amos S
residing under a sub-directory, like this
|
root-dir
|
+-puppet
|
+-our-modules
+-modules
+-manifests
+-.tmp
+-Puppetfile
|
We manage external modules using puppet-librarian, which creates
puppet/.tmp.
I setup Geppetto's modulepath to puppet/our-modules/* and
puppet/modules/*, I removed the default settings so these are the
only
Post by Amos S
two entries, but it keeps picking up modules from under
puppet/.tmp.
Post by Amos S
According to the FAQ
at
http://puppetlabs.github.io/geppetto/faq.html#/2011/09/14/how-do-i-use-the-searchpath,
Post by Amos S
the modulepath I set in the project properties is appended to the
default modulepath which is the top level directory.
I'd like to be able to exclude puppet/.tmp but haven't found a
way to do
Post by Amos S
that.
How can I do that?
You want to look at the preference "Folder Exclusion Pattern"..
- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot..se/
<http://puppet-on-the-edge.blogspot.se/>
--
You received this message because you are subscribed to the Google
Groups "Puppet Geppetto" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Puppet Geppetto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-geppetto+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...