<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Andrea Veri&#039;s Blog &#187; Planet Fedora</title>
	<atom:link href="http://blogs.gnome.org/woody/category/planetfedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/woody</link>
	<description>woody&#039;s home</description>
	<lastBuildDate>Sat, 12 May 2012 18:31:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Nagios XMPP Notifications for GTalk</title>
		<link>http://blogs.gnome.org/woody/2012/02/18/nagios-xmpp-notifications-for-gtalk/</link>
		<comments>http://blogs.gnome.org/woody/2012/02/18/nagios-xmpp-notifications-for-gtalk/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 12:03:00 +0000</pubDate>
		<dc:creator>Andrea Veri</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Planet Fedora]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/woody/?p=286</guid>
		<description><![CDATA[While improving GNOME&#8217;s servers Nagios Notifications,  I ended up working on a nice way to notify the relevant folks through GTalk in case something could go wrong on any of the hosted services. Looking around on the web, I found Seth Vidal&#8217;s script, modified it to suit my needs and made it working with GTalk, [...]]]></description>
			<content:encoded><![CDATA[<p>While improving GNOME&#8217;s servers Nagios Notifications,  I ended up working on a nice way to notify the relevant folks through GTalk in case something could go wrong on any of the hosted services. Looking around on the web, I found Seth Vidal&#8217;s <a href="http://skvidal.fedorapeople.org/misc/xmppsend.py">script</a>, modified it to suit my needs and made it working with GTalk, here&#8217;s the result:</p>
<pre>#!/usr/bin/python -tt

import warnings
warnings.simplefilter("ignore")

import xmpp
from xmpp.protocol import Message

from optparse import OptionParser
import ConfigParser
import sys
import os

parser = OptionParser()
opts, args = parser.parse_args()

if len(args) &lt; 1:
    print "xmppsend message [to whom, multiple args]"
    sys.exit(1)

msg = args[0]

msg = msg.replace('\\n', '\n')

# Connect to the server
c  =  xmpp.Client('gmail.com')
c.connect( ( 'talk.google.com', 5223 ) )

# Authenticate to the server
jid  =  xmpp.protocol.JID( 'example@gmail.com' )
c.auth( jid.getNode( ), 'yourgmailpassword' )

if len(args) &lt; 2:
    r = c.getRoster()
    for user in r.keys():
        if user == username:
            continue
        c.send(Message(user, '%s' % msg))
else:
    for user in args[1:]:
        c.send(Message(user, '%s' % msg))</pre>
<p>I, then, added the command definitions on the relevant Nagios configuration file:</p>
<pre>define command{
        command_name    host-notify-by-xmpp
        command_line    /home/user/bin/xmppsend "Host '$HOSTALIAS$' is $HOSTSTATE$ - Info : $HOSTOUTPUT$" $CONTACTPAGER$
        }

define command{
        command_name    notify-by-xmpp
        command_line    /home/user/bin/xmppsend "$NOTIFICATIONTYPE$ $HOSTNAME$ $SERVICEDESC$ $SERVICESTATE$ $SERVICEOUTPUT$ $LONGDATETIME$" $CONTACTPAGER$
        }</pre>
<p>And in the end on <strong>contacts.cfg</strong>:</p>
<pre>define contact {
        contact_name    admin
        use             generic-contact
        alias           Full Name
        email           example@gmail.com
        pager           example@gmail.com
        service_notification_commands   notify-by-xmpp
        host_notification_commands      host-notify-by-xmpp
}</pre>
<p>When done just reload the configuration files with:</p>
<pre>sudo /etc/init.d/nagios3 reload</pre>
<p>Enjoy your new XMPP Nagios notifications!</p>
<p><strong>Update:</strong> if you don&#8217;t want the script to store your username or password, you can use the following modified <a href="http://people.gnome.org/~av/xmppsend">script</a> together with a nice config file like this one:</p>
<pre>
[xmpp_nagios]
username=example@gmail.com
password=yourgmailpassword
</pre>
<p>Then you can invoke <strong>xmppsend</strong> this way:</p>
<pre>
xmppsend -a config.ini
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/woody/2012/02/18/nagios-xmpp-notifications-for-gtalk/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A few useful Puppet snippets</title>
		<link>http://blogs.gnome.org/woody/2012/01/31/a-few-useful-puppet-snippets/</link>
		<comments>http://blogs.gnome.org/woody/2012/01/31/a-few-useful-puppet-snippets/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 19:43:26 +0000</pubDate>
		<dc:creator>Andrea Veri</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Planet Fedora]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/woody/?p=274</guid>
		<description><![CDATA[I&#8217;ve been playing with Puppet lately both on my home network and within the Fedora&#8217;s Infrastructure team and I thought some of the work I did might be useful for anyone out there being stuck with a Puppet&#8217;s manifest or an ERB template. Snippet #1: Make sure the user &#8216;foo&#8217; is alwais created with its [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with <strong><a href="http://puppetlabs.com">Puppet</a></strong> lately both on my home network and within the Fedora&#8217;s Infrastructure team and I thought some of the work I did might be useful for anyone out there being stuck with a Puppet&#8217;s manifest or an ERB template.</p>
<p><strong>Snippet #1</strong>: Make sure the user <strong>&#8216;foo&#8217;</strong> is alwais created with its own home directory, password, shell, and full name.</p>
<pre>class users {
    users::add { "foo":
        username        =&gt; 'foo',
        comment         =&gt; 'Foo's Full Name',
        shell           =&gt; '/bin/bash',
        password_hash   =&gt; 'pwd_hash_as_you_can_see_in_/etc/shadow'
    }

define users::add($username, $comment, $shell, $password_hash) {
    user { $username:
        ensure =&gt; 'present',
        home   =&gt; "/home/${username}",
        comment =&gt; $comment,
        shell  =&gt; $shell,
        managehome =&gt; 'true',
        password =&gt; $password_hash,
    }
  }<strong></strong>
}</pre>
<p><strong>Snippet #2:</strong> Make sure the user <strong>&#8216;foo&#8217;</strong> gets added into <strong>/etc/sudoers</strong>.</p>
<pre>class sudoers {

file { "/etc/sudoers":
      owner   =&gt; "root",
      group   =&gt; "root",
      mode    =&gt; "440",
     }
}

augeas { "addfootosudoers":
  context =&gt; "/files/etc/sudoers",
  changes =&gt; [
    "set spec[user = 'foo']/user foo",
    "set spec[user = 'foo']/host_group/host ALL",
    "set spec[user = 'foo']/host_group/command ALL",
    "set spec[user = 'foo']/host_group/command/runas_user ALL",
  ],
}</pre>
<p><strong>Snippet #3:</strong> Make sure that <strong>openssh-server</strong> is: installed, running on Port 222 and accepting <strong>RSA </strong>authentications only.</p>
<pre>class openssh-server {

  package { "openssh-server":
      ensure =&gt; "installed",
  }

    service { "ssh":
        ensure    =&gt; running,
        hasstatus =&gt; true,
        require   =&gt; Package["openssh-server"],
    }

augeas { "sshd_config":
  context =&gt; "/files/etc/ssh/sshd_config",
    changes =&gt; [
    "set PermitRootLogin no",
    "set RSAAuthentication yes",
    "set PubkeyAuthentication yes",
    "set AuthorizedKeysFile	%h/.ssh/authorized_keys",
    "set PasswordAuthentication no",
    "set Port 222",
  ],
 }
}</pre>
<p><strong>Snippet #4:</strong> Don&#8217;t apply a specific <strong>IPTABLES </strong>rule if an host is tagged as &#8216;staging&#8217; in the relevant node file.</p>
<p>On <strong>templates/iptables.erb</strong>:</p>
<pre># Allow unlimited traffic on eth0
-A INPUT -i eth0 -j ACCEPT
-A OUTPUT -o eth0 -j ACCEPT

# Allow unlimited traffic from trusted IP addresses
-A INPUT -s 192.168.1.1/24 -j ACCEPT

&lt;% if environment == "production" %&gt;

-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

&lt;% unless defined?(staging).nil? %&gt;
-A INPUT -s X.X.X.X -j REJECT --reject-with icmp-host-prohibited
&lt;% end -%&gt;

&lt;% end -%&gt;</pre>
<p>On the <strong>manifest</strong> file:</p>
<pre>
class iptables {
    package { iptables:
        ensure =&gt; installed;
    }

    service { "iptables":
        ensure    =&gt; running,
        hasstatus =&gt; true,
        require   =&gt; Package["iptables"],
    }

    file { "/etc/sysconfig/iptables":
        owner   =&gt; "root",
        group   =&gt; "root",
        mode    =&gt; 644,
        content =&gt; template("iptables/iptables.erb"),
        notify  =&gt; Service["iptables"],
    }
}</pre>
<p>That&#8217;s all for now!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/woody/2012/01/31/a-few-useful-puppet-snippets/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fedora Board&#8217;s Town Hall</title>
		<link>http://blogs.gnome.org/woody/2011/05/30/fedora-boards-town-hall/</link>
		<comments>http://blogs.gnome.org/woody/2011/05/30/fedora-boards-town-hall/#comments</comments>
		<pubDate>Mon, 30 May 2011 22:06:14 +0000</pubDate>
		<dc:creator>Andrea Veri</dc:creator>
				<category><![CDATA[Just Fedora]]></category>
		<category><![CDATA[Planet Fedora]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/woody/?p=85</guid>
		<description><![CDATA[Today we had a great Town Hall meeting kindly hosted and moderated by Kevin Fenzi (nirik). We received a lot of interesting and nice questions by the contributors and developers that were attending: What do you feel needs to be improved in the Fedora Community? How can you&#8217;re being on the Board improve the Community? [...]]]></description>
			<content:encoded><![CDATA[<p>Today we had a great <a href="https://fedoraproject.org/wiki/Elections#IRC_Town_Halls">Town Hall</a> meeting kindly hosted and moderated by <a href="https://fedoraproject.org/wiki/User:Nirik" target="_blank">Kevin Fenzi (nirik)</a>. We received a lot of interesting and nice questions by the contributors and developers that were attending:</p>
<ol>
<li>What do you feel needs to be improved in the Fedora Community? How can you&#8217;re being on the Board improve the Community?</li>
<li>Do you think that too many issues in Fedora are referred directly to the Board, and if so, how would you like to see this improved?</li>
<li>Tell us something about what you like doing that isn&#8217;t computer or fedora related. What do you like doing for fun?</li>
<li>What do you plan to do about the issues of polish?  Specifically, shipping with minor issues that with recent releases have been hurting the Fedora name.</li>
<li>What are the plans for mobile devices, such as phones, tablets, &#8216;pads&#8217;, etc.?  What are the chances of working on a &#8216;spin&#8217; for such emerging technologies?</li>
<li>The board has discussed working on &#8220;goals&#8221; over the next term. (a) do you think these goals should be focused on helping &#8220;us&#8221; (people already in the community) or our &#8220;target audience&#8221;? (b) what goals would you like to see fedora achieve?</li>
<li>Is anyone in favor the board doing more of its business in public view? I mean like all of it that actually can be?</li>
<li>What do you plan to do to address operator abuse in #fedora? 2. What penalties will there be for operators when it&#8217;s deemed that they are abusing their authority or swaying from Fedora&#8217;s values?</li>
<li>What can be done to bring Fedora to lead market share amonsgt Linux desktops? What can be done to take market share from Microsoft Windows?</li>
<li>How do you measure the success of the Fedora Project as a whole?</li>
<li>Recently we&#8217;ve seen an influx in new users with questions as well as new volunteers with skills (and no idea where to make use of them). What should we do to better facilitate community engagement?</li>
<li>How do the candidates feel that they are viewed by the general population of new Fedora users as representatives of Fedora, and do they set an example of model behavior?  If so how?</li>
</ol>
<p>If any of the above questions do cover a topic you are interested in, please take a few minutes to read candidates answers and discussions by looking at the meeting&#8217;s <a href="http://meetbot.fedoraproject.org/fedora-townhall/2011-05-30/fedora_board_town_hall.2011-05-30-19.01.log.html">log</a>. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/woody/2011/05/30/fedora-boards-town-hall/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fedora Board&#8217;s Questionnaire</title>
		<link>http://blogs.gnome.org/woody/2011/05/25/fedora-boards-questionnaire/</link>
		<comments>http://blogs.gnome.org/woody/2011/05/25/fedora-boards-questionnaire/#comments</comments>
		<pubDate>Wed, 25 May 2011 21:45:10 +0000</pubDate>
		<dc:creator>Andrea Veri</dc:creator>
				<category><![CDATA[Just Fedora]]></category>
		<category><![CDATA[Planet Fedora]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/woody/?p=75</guid>
		<description><![CDATA[If you are not subscribed to the fedora-announce mailing list but you are still interested in having a look at my responses about community-asked questions, here they are: What will you be able to accomplish by being elected, that you would not otherwise be able to do as a contributor? (As you will notice by [...]]]></description>
			<content:encoded><![CDATA[<p>If you are not subscribed to the <a href="https://admin.fedoraproject.org/mailman/listinfo/announce" target="_blank">fedora-announce</a> mailing list but you are still interested in having a look at my responses about <a href="https://fedoraproject.org/wiki/Elections#Candidate_Questionnaire" target="_blank">community-asked questions</a>, here they are:</p>
<ul>
<li> What will you be able to accomplish by being elected, that you would not otherwise be able to do as a contributor?</li>
</ul>
<p>(As you will notice by reading the list right down here) Being a single  contributor makes achieving these points impossible since changing how  localized communities should work, improving our CoC and enforcing its  rules and re-thinking Board’s role in our community is something that  must be discussed and voted within the Board and its members.</p>
<ul>
<li>What are your top three priorities as a board member?</li>
</ul>
<p>If elected, I will mainly try to focus on:</p>
<ol>
<li> Improving Fedora’s localization putting a great effort on  introducing a form of formalization for specific localized communities  having all the needed requirements to gain the “blessing” of Official  local community for a certain country or language / dialect. This means  pursuing one main objective, which is making Fedora Ambassadors and  contributors not fighting each other but acting together as a community.  Having two-three or even four websites / local communities just for the  Italian or French langs is simply the wrong way to achieve the result  of having a Fedora community together again. Ambassadors and  contributors of a specific country or lang should focus on establishing  *one* strong and trusted localized community, they should throw away the  idea of multiple support websites, we need to put together everyone  again, act as a team, Fedora together should be our motto. (the specific  requirements to gain the above formalization will be written up by me  and presented to the Board for a discussion, so expect more news to come  about this point if my candidature will be accepted)</li>
<li> Re-thinking what the Fedora Board should be within the Fedora  community. It should represent the community and all its members, if a  single or multiple members are having a specific problem, from the  bigger to the smaller one, the Board must deal with them to find a valid  solution, nothing and no one should be left behind. The Board, in the  end, should be the main reference point for everyone wanting to propose a  new idea or just willing to costructively complain about something not  working in the right way. Discussing problems, respecting everyone’s  ideas and opinions and finding a good consensus / common solutions for  everyone is alwais the way to go to improve the relationships between  community members, contributors and developers.</li>
<li> Improving our Code of Conduct, finding a good way to enforce  members respecting it and remembering which values should be found  behind a community (respect between members and their ideas, costructive  discussions, decisions taken with general consensus etc.) is the latest  point but it’s definitely not the less important on my list. As I  stated in my candicacy, I’ve been negatively impressed by the behaviour  of some community members in two occasions: while introducing  JustFedora’s Planet and while working on another Infrastructure duty.  Criticizing without valid motivations just for the sake of doing so  seemed to be the common rule on both of the above cases. I would like to  remember everyone that this is *not* the best behaviour for an Open  Source community, we need to act together as a single team, we don’t  have to fight each other but we have to cooperate finding common  solutions, discussing, criticizing *costructively* and helping our  community coming out from the current situation.</li>
</ol>
<ul>
<li> Who do you think Fedora is for today? Who should it be for?</li>
</ul>
<p>Fedora is about innovation, but as you may all know, innovation might  take in several problems especially for new comers or people switching  from a Microsoft OS. Most of the people I know do have a lot of problems  to simply open up a computer, writing a mail or working on a document; I  would like to see Fedora (but generally Linux based OSs) available to  use to everyone: from developers to complete newbies. I would like to  work making the idea of Linux being usable by a restricted circle of  people changing and I’m sure the arrival of GNOME 3 will definitely help  us out on achieving our goal. (It’s user-friendly but innovative  interface it’s simply superb)</p>
<ul>
<li>Where do you see Fedora in five years? How do you think we&#8217;ll get there?</li>
</ul>
<p>An innovative Fedora but at the same time a distribution easy to use  by any of us out there, an awesome cloud service available to everyone, a  package manager made easier to learn and understand by newcomers, a  GNOME 3 improved, stronger, robust and a gnome-shell completely ready  and fully integrated on Fedora is what I would like to see happening  within five years.</p>
<ul>
<li> What will you do to ensure that Fedora remains at the forefront of innovation in the GNU/Linux space?</li>
</ul>
<p>I will try to do my best to give a warm welcome to new ideas and  projects within Fedora, I’ll listen, discuss with as many contributors  and developers willing to propose something new and innovative that  could benefit our beloved distribution. I would like to link this answer  with the third point of the first answer I gave on the questionnaire:  new ideas are strictly related to my vision of innovation, everyone  should be free to propose something new without having to worry about  receiving personal insults or complaints: this is unfortunately missing  in our community. (is our community really prepared for new ideas yet?)</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/woody/2011/05/25/fedora-boards-questionnaire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  blogs.gnome.org/woody/category/planetfedora/feed/ ) in 0.34593 seconds, on May 25th, 2012 at 7:56 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on May 25th, 2012 at 8:56 pm UTC -->
