Blake B | 1 Oct 2007 19:50
Picon

Re: [Puppet-dev] Nodes vs. Node stores, etc.

Same thing i did.. use: "git clone git://reductivelabs.com/puppet" instead of http://

-Blake

On 9/27/07, Luke Kanies < luke <at> madstop.com> wrote:
On Sep 27, 2007, at 11:06 AM, < Derek.Whayman <at> barclayscapital.com> wrote:

> Should the clone over http work?  Some of us are forced to use
> proxies to get out on t'interweb:(
>
> % git clone http://reductivelabs.com/git/puppet
> Initialized empty Git repository in /users/unix/sa_dewha/gitrepo/
> puppet/.git/
> Cannot get remote repository information.
> Perhaps git-update-server-info needs to be run there?
>
> Wget works so I expect my proxy settings are right...

Hmm, it should work.  I even had a hook enabled to run the info
update on every update to the repo, so it should have been staying up
to date.

I've just run it manually, so it should at least work now.

  --
  A citizen of America will cross the ocean to fight for democracy, but
  won't cross the street to vote in a national election.
          --Bill Vaughan
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com


_______________________________________________
Puppet-dev mailing list
Puppet-dev <at> madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-dev

_______________________________________________
Puppet-dev mailing list
Puppet-dev <at> madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-dev
Derek.Whayman | 2 Oct 2007 09:20

Re: [Puppet-dev] Nodes vs. Node stores, etc.

There are, ahem, issues with our proxy.  If I use wget to clone the git repository, stick the copy on a local web server and git clone that all is fine.  Bit of a pain though and not much use for commits.
 
Derek

From: puppet-dev-bounces <at> madstop.com [mailto:puppet-dev-bounces <at> madstop.com] On Behalf Of Blake B
Sent: 01 October 2007 18:50
To: Discussions about Puppet development.
Subject: Re: [Puppet-dev] Nodes vs. Node stores, etc.

Same thing i did.. use: "git clone git://reductivelabs.com/puppet" instead of http://

-Blake

On 9/27/07, Luke Kanies < luke <at> madstop.com> wrote:
On Sep 27, 2007, at 11:06 AM, < Derek.Whayman <at> barclayscapital.com> wrote:

> Should the clone over http work?  Some of us are forced to use
> proxies to get out on t'interweb:(
>
> % git clone http://reductivelabs.com/git/puppet
> Initialized empty Git repository in /users/unix/sa_dewha/gitrepo/
> puppet/.git/
> Cannot get remote repository information.
> Perhaps git-update-server-info needs to be run there?
>
> Wget works so I expect my proxy settings are right...

Hmm, it should work.  I even had a hook enabled to run the info
update on every update to the repo, so it should have been staying up
to date.

I've just run it manually, so it should at least work now.

  --
  A citizen of America will cross the ocean to fight for democracy, but
  won't cross the street to vote in a national election.
          --Bill Vaughan
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com


_______________________________________________
Puppet-dev mailing list
Puppet-dev <at> madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-dev

------------------------------------------------------------------------
For important statutory and regulatory disclosures and more information about Barclays Capital, please visit our web site at http://www.barcap.com.

Internet communications are not secure and therefore the Barclays Group does not accept legal responsibility for the contents of this message.  Although the Barclays Group operates anti-virus programmes, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed.  Any views or opinions presented are solely those of the author and do not necessarily represent those of the Barclays Group.  Replies to this email may be monitored by the Barclays Group for operational or business reasons.

Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group.
------------------------------------------------------------------------

_______________________________________________
Puppet-dev mailing list
Puppet-dev <at> madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-dev
Luke Kanies | 2 Oct 2007 16:28
Gravatar

Re: [Puppet-dev] Nodes vs. Node stores, etc.

On Oct 2, 2007, at 2:20 AM, <Derek.Whayman <at> barclayscapital.com> wrote:

> There are, ahem, issues with our proxy.  If I use wget to clone the  
> git repository, stick the copy on a local web server and git clone  
> that all is fine.  Bit of a pain though and not much use for commits.

It'd probably work fine for commits, actually, as long as you can  
provide a copy somewhere public.

No one other than me currently has write access to the central repo,  
because no one has needed it -- they publish their repo, I pull it,  
and then I commit it.

  --
  He played the king as if afraid someone else would play the ace.
  --John Mason Brown
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com
Luke Kanies | 2 Oct 2007 20:16
Gravatar

Re: [Puppet-dev] Note for custom types when upgrading from 0.23.1 to0.23.2

On Sep 28, 2007, at 5:36 AM, <Derek.Whayman <at> barclayscapital.com> wrote:

> Um, now I've gotten around our poxy proxy problems and cloned the git
> repo, I can see the real fix.  Ready for 0.23.3 ? :-)

Is this a critical fix for you?

I've not been planning on putting out another 0.23.

Also, can you open a ticket with this as a patch?  Preferably, as  
David says, in a standard patch format.

  --
  Nonreciprocal Laws of Expectations:
     Negative expectations yield negative results. Positive expectations
     yield negative results.
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com
Luke Kanies | 2 Oct 2007 20:20
Gravatar

Re: [Puppet-dev] Trac Spam Fighting

On Sep 29, 2007, at 4:32 PM, David Schmitt wrote:
> After the recent spam attack, I searched a bit around what it  
> currently hip
> regarding spam fighting for trac.
>
> There seem to be two major approaches. First, block suspicious  
> activities at
> the HTTP level with special rules for mod_security:
>
> http://madwifi.org/wiki/FightingTracSpam
>
> Then, reject edits, comments and reports by filtering for several  
> content and
> meta criteria with the SpamFilter trac plugin:
>
> http://trac.edgewall.org/wiki/SpamFilter
>
> The latter includes a filters for locally training a bayes decider,  
> a user
> editable regex filter, ip blacklisting and throttling as well as  
> integration
> with WebAdmin.

Hi David,

I appreciate the work you've put into this.

At this point, I'd love to defer to someone else on what to do -- I  
know I have to do the actual work, but if someone can, well, tell me  
what to do, that'd be great.

Should I just implement these things?  Is that the best option?  Am I  
going to have to configure them much?

  --
  Barrow's first law:
     Any Universe simple enough to be understood is too simple to  
produce
     a mind able to understand it.
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com
David Schmitt | 2 Oct 2007 23:25
Picon

Re: [Puppet-dev] Trac Spam Fighting


On Tuesday 02 October 2007, Luke Kanies wrote:
> On Sep 29, 2007, at 4:32 PM, David Schmitt wrote:
> > After the recent spam attack, I searched a bit around what it
> > currently hip
> > regarding spam fighting for trac.
> >
> > There seem to be two major approaches. First, block suspicious
> > activities at
> > the HTTP level with special rules for mod_security:
> >
> > http://madwifi.org/wiki/FightingTracSpam
> >
> > Then, reject edits, comments and reports by filtering for several
> > content and
> > meta criteria with the SpamFilter trac plugin:
> >
> > http://trac.edgewall.org/wiki/SpamFilter
> >
> > The latter includes a filters for locally training a bayes decider,
> > a user
> > editable regex filter, ip blacklisting and throttling as well as
> > integration
> > with WebAdmin.
>
> Hi David,
>
> I appreciate the work you've put into this.
>
> At this point, I'd love to defer to someone else on what to do -- I
> know I have to do the actual work, but if someone can, well, tell me
> what to do, that'd be great.
>
> Should I just implement these things?  Is that the best option?  Am I
> going to have to configure them much?

The mod_security approach filters the spam attacks on a very basic and 
technical level ("unusual" URL patterns, blocking of the misused #!html, only 
allowing a single URL per ticket, requiring cookies), which -- according to 
the author of [1] -- is quite effective in combatting trac spam. The 
configuration is simply installing the apache module and configuring it with 
the config from [1]. The HOWTO recommends custom HTML Error Pages with with a 
unique ID from mod_unique (displayed via SSI) to ease tracking of false 
positives. On the downside, mod_security is not available via debian[2], only 
from third party sites with unknown trust status[3].

The trac SpamFilter plugin[4] on the other hand does all checking within trac 
and requires probably more finetuning/configuration but of course therefore 
also gives finer control. According to [4] you need to install "dnspython" 
and "TracSpamFilter" with the "easy_install" tool from "setuptools"[5]. For 
configuration I would propose to enable the ip_blacklist filter (Using [6] 
and [7] by default), the ip_throttle filter (e.g. giving out negative points 
beyond the fifth posting in the same hour), the Bayes filter (which can be 
trained via tracs WebAdmin) and the BadContent wikipage which contains 
globally blocked regular expressions.

The latter approach might even be complemented by programming a little filter 
whitelisting "known good" users (e.g. with accepted bug reports, or who were 
created long ago) to reduce false positive possibilities (e.g. when mass-bug 
filing or mass-wiki editing).

Personally I'd prefer the TracSpamFilter plugin. Contrary to the global and 
crude nature of the mod_security filtering, SpamFilter gives finegrained 
control over the content rules. On the maintenance side the established trac 
community development wins for me over the non-standard non-redistributable 
mod_security.

Of course both alternatives might have an global impact on usability (to be 
weighted against the general disturbance by spam reports and thus the image 
of the project) so comments/second-opinions/encouragement from other members 
of puppet-dev would be appreciated. :)

Regards, David

[1] http://madwifi.org/wiki/FightingTracSpam
[2] http://ftp-master.debian.org/removals.txt 
=========================================================================
[Date: Sun, 12 Mar 2006 18:05:52 -0800] [ftpmaster: Jeroen van Wolffelaar]
Removed the following packages from unstable:

libapache-mod-security |    1.8.7-1 | source, alpha, arm, hppa, i386, ia64, 
m68k, mips, mipsel, powerpc, s390, sparc
libapache2-mod-security |    1.8.7-1 | alpha, arm, hppa, i386, ia64, m68k, 
mips, mipsel, powerpc, s390, sparc
mod-security-common |    1.8.7-1 | all
Closed bugs: 352344

------------------- Reason -------------------
RoM; undistributable for legal reasons
----------------------------------------------
=========================================================================
[3] http://etc.inittab.org/~agi/debian/libapache-mod-security2/etch/
[4] http://trac.edgewall.org/wiki/SpamFilter
[5] I have _no_ fracking idea what that is
[6] Blog Spam Blocklist: http://bsb.empty.us/
[7] SpamCop message-body URI domains: http://www.surbl.org/lists.html#sc
--

-- 
The primary freedom of open source is not the freedom from cost, but the free-
dom to shape software to do what you want. This freedom is /never/ exercised
without cost, but is available /at all/ only by accepting the very different
costs associated with open source, costs not in money, but in time and effort.
-- http://www.schierer.org/~luke/log/20070710-1129/on-forks-and-forking
Derek.Whayman | 3 Oct 2007 09:19

Re: [Puppet-dev] Note for custom types when upgrading from 0.23.1to0.23.2

It's not a critical fix - I'm using the workaround.  In fact fixed in
the latest checkout from git so I haven't bothered opening a ticket.

Regards,
Derek

-----Original Message-----
From: puppet-dev-bounces <at> madstop.com
[mailto:puppet-dev-bounces <at> madstop.com] On Behalf Of Luke Kanies
Sent: 02 October 2007 19:17
To: Discussions about Puppet development.
Subject: Re: [Puppet-dev] Note for custom types when upgrading from
0.23.1to0.23.2

On Sep 28, 2007, at 5:36 AM, <Derek.Whayman <at> barclayscapital.com> wrote:

> Um, now I've gotten around our poxy proxy problems and cloned the git 
> repo, I can see the real fix.  Ready for 0.23.3 ? :-)

Is this a critical fix for you?

I've not been planning on putting out another 0.23.

Also, can you open a ticket with this as a patch?  Preferably, as David
says, in a standard patch format.

  --
  Nonreciprocal Laws of Expectations:
     Negative expectations yield negative results. Positive expectations
     yield negative results.
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com

_______________________________________________
Puppet-dev mailing list
Puppet-dev <at> madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-dev
------------------------------------------------------------------------
For important statutory and regulatory disclosures and more information about Barclays Capital, please
visit our web site at http://www.barcap.com.

Internet communications are not secure and therefore the Barclays Group does not accept legal
responsibility for the contents of this message.  Although the Barclays Group operates anti-virus
programmes, it does not accept responsibility for any damage whatsoever that is caused by viruses being
passed.  Any views or opinions presented are solely those of the author and do not necessarily represent
those of the Barclays Group.  Replies to this email may be monitored by the Barclays Group for operational
or business reasons.

Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England
(number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate
to or be sent from other members of the Barclays Group.
------------------------------------------------------------------------
Luke Kanies | 4 Oct 2007 02:37
Gravatar

[Puppet-dev] All tests should pass

Hi all,

*Finally* all tests should pass again, and I even tracked down the  
idiocy that was causing the wierd "No default provider for..." test  
failures.

  --
  Always read stuff that will make you look good if you die in the  
middle
  of it.       -- P. J. O'Rourke
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com
Marcin Owsiany | 5 Oct 2007 21:09
Picon
Picon
Favicon

[Puppet-dev] <at> resource.is(:foo)

Hi,

There used to be an "is()" method in the Type class, but doesn't seem to
be any more. I wanted to use it in a provider, to get the current status
of property "A", when syncing status of property "B" (as the way to sync
"B" depends on what state "A" is in).

Theoretically I could use the value in the instance  <at> property_hash of
the provider, but the following bit of
http://reductivelabs.com/trac/puppet/wiki/ProviderDevelopment made me
cautious:

| [...] Note that it also means that providers are often getting
| replaced, so you cannot maintain state in a provider.

This is somewhat unclear, and a little inaccurate, I'd say, as we are
maintaining state in a provider, by stuffing data into  <at> property_hash
before it is flushed.

-- 
Marcin Owsiany
Web Systems Integrator - Guardian Unlimited

------------------------------------------------------------------
Visit Guardian Unlimited - the UK's most popular newspaper website
http://guardian.co.uk http://observer.co.uk
------------------------------------------------------------------
The Newspaper Marketing Agency
Opening Up Newspapers
http://www.nmauk.co.uk
------------------------------------------------------------------

This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.

Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.

Guardian News & Media Limited
A member of Guardian Media Group PLC
Registered Office
Number 1 Scott Place, Manchester M3 3GG
Registered in England Number 908396
Luke Kanies | 8 Oct 2007 00:50
Gravatar

Re: [Puppet-dev] Trac Spam Fighting

On Oct 2, 2007, at 4:25 PM, David Schmitt wrote:
>
> The trac SpamFilter plugin[4] on the other hand does all checking  
> within trac
> and requires probably more finetuning/configuration but of course  
> therefore
> also gives finer control. According to [4] you need to install  
> "dnspython"
> and "TracSpamFilter" with the "easy_install" tool from  
> "setuptools"[5]. For
> configuration I would propose to enable the ip_blacklist filter  
> (Using [6]
> and [7] by default), the ip_throttle filter (e.g. giving out  
> negative points
> beyond the fifth posting in the same hour), the Bayes filter (which  
> can be
> trained via tracs WebAdmin) and the BadContent wikipage which contains
> globally blocked regular expressions.

Okay, I've installed the spam filter, but I haven't configured it at  
all.  It's somewhat configurable from the Admin interface, but  
apparently not everything.

I'll look at it a bit more today, but if you can see what you can do,  
too, that'd be great.

  --
  On Bureaucracy....
          The Pythagorean theorem contains 24 words. Archimedes
  Principle, 67.  The Ten Commandments, 179. The American Declaration of
  Independence, 300. And recent legislation in Europe concerning when
  and where to smoke, 23,942.      -- The European, June 23-29, 1995
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com

Gmane