On Wed, Feb 25, 2009 at 2:08 PM, Scott Beardsley
<[email protected]> wrote:
> BTW, I noticed that .svn directories were being copied to
> /var/lib/puppet. Here is a trivial patch to prevent that behavior...
>
> $ diff /tmp/init.pp modules/shorewall/manifests/init.pp
> 65a66
>> ignore => ".svn"
Doh, actually the above patch didn't fix it. I had to modify the
common module instead (BTW, I'm not sure the escape character for the
period is necessary or not):
$ svn diff modules/common/
Index: modules/common/manifests/init.pp
===================================================================
--- modules/common/manifests/init.pp (revision 125)
+++ modules/common/manifests/init.pp (working copy)
@@ -8,7 +8,7 @@
"/var/lib/puppet/modules":
ensure => directory,
source => "puppet://$server/common/modules/",
- ignore => '\.ignore',
+ ignore => ['\.ignore','\.svn'],
recurse => true, purge => true, force => true,
mode => 0755, owner => root, group => 0;
}
Index: modules/common/manifests/defines/concatenated_file.pp
===================================================================
--- modules/common/manifests/defines/concatenated_file.pp (revision 125)
+++ modules/common/manifests/defines/concatenated_file.pp (working copy)
@@ -32,7 +32,7 @@
$dir_real:
source => "puppet://$server/common/empty",
checksum => mtime,
- ignore => '\.ignore',
+ ignore => ['\.ignore','\.svn'],
recurse => true, purge => true, force => true,
mode => $mode, owner => $owner, group => $group,
notify => Exec["concat_${name}"];
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---