On Friday, November 19, 2010 07:50 EST, walexey wrote:
> Hello everybody!
> How can i create with puppet following sudoers file:
>
> User_Alias CENTREON=apache,nagios
> CENTREON ALL = NOPASSWD: /etc/init.d/nagios* restart
> CENTREON ALL = NOPASSWD: /etc/init.d/nagios* reload
> CENTR
Hi all
It's been a while since we introduced our professional services team to
the community. They lurk on the list quite a bit and help answer
questions and queries (their elite skills are also available for hire!).
They are (in alphabetical order):
Dan Bode (d...@puppetlabs.com)
Hunter Haugen
Stefan Schulte writes:
> On Fri, Nov 19, 2010 at 10:25:30AM -0800, Rudy Gevaert wrote:
>>
>> I'm trying to get around the following issue. I want to make sure if
>> a service is stopped. I'm trying to do this is solaris but I don't
>> think this is OS specific.
>>
>> If the software that provide
I'm excited about this. Congratulations to puppet labs for this milestone!
PS, when are you selling stock ? =]
On Fri, Nov 19, 2010 at 3:58 PM, Nigel Kersten wrote:
> This isn't an official press release, and you shouldn’t read it that
> way.[1]
>
> This is Puppet Labs letting the rest of our c
This isn't an official press release, and you shouldn’t read it that way.[1]
This is Puppet Labs letting the rest of our community (particularly
those of you who didn’t hear us talk about this at Puppet Camp this
year) know exactly what we’re doing in the near future so that any
upcoming press rel
I need to write a custom fact that depends on the value of another
custom fact in a different file. For example:
# foo.rb
Facter.add("foo") do
setcode do
[...]
end
end
# bar.rb
Facter.add("bar") do
setcode do
if (Facter.value("foo") == "option1") then
[...
On Fri, Nov 19, 2010 at 10:25:30AM -0800, Rudy Gevaert wrote:
> Hi puppet users
>
> I'm trying to get around the following issue. I want to make sure if
> a service is stopped. I'm trying to do this is solaris but I don't
> think this is OS specific.
>
> If the software that provides the servic
On 11/17/2010 07:01 PM, Nan Liu wrote:
> On Wed, Nov 17, 2010 at 4:00 AM, Leonko wrote:
>> Hello, I have problem with creating user under centos:
>>
>> part of my class:
>>
>> user {jboss:
>> ensure => present,
>> home=> "$jboss_home",
>> shell => "/bin/bash
Hi puppet users
I'm trying to get around the following issue. I want to make sure if
a service is stopped. I'm trying to do this is solaris but I don't
think this is OS specific.
If the software that provides the service (sendmail in my cause) is
installed the smf provider can make sure that th
On 11/17/2010 02:00 AM, elliott wrote:
> Hi all, new to puppet so excuse my noobiness :)
>
> I've got a puppet type to manage iptables rules (https://github.com/
> camptocamp/puppet-iptables) running in my development environment.
> The module works great for the most part; rules are calculated a
Nathan wrote:
> My point is not to complain about all these things but to try to
> discuss the direction of facter. I got the impression that the main
> reason behind not adding a bit of intelligence to the facts in these
> cases was because of code base size, which again I may be mistaken
> about.
Hi,
define sysdir($dirs) {
define subdir($base) {
file { "$base/$name": ensure => directory }
}
file { "/mnt/$name": ensure => directory }
suddir { $dirs: base => "/mnt/$name" }
}
sysdir { $sys_name: dirs => $mounts }
Haven't tested it, but something like this should work. Littl
On 11/19/2010 03:47 PM, jcbollinger wrote:
>
> On Nov 18, 6:32 pm, James Louis wrote:
>> Don't know what to tell you. Commenting out the line in that file fixed the
>> problem. And it's been working great since.
>
> I'm glad your problem is fixed.
>
> Folks around here have previously informed
That's good to know. I originally installed on OpenSuse and it set up the
sysconfig file automagically. Now I'm working on CentOS and what I'm hearing
is I don't need to set up a sysconfig file (which I already have).
On Fri, Nov 19, 2010 at 8:47 AM, jcbollinger wrote:
>
> On Nov 18, 6:32 pm, Jam
Hi,
You guys may remember me as the dude at puppet camp who suggested in
the facter meeting about having facts return unknown for example, or
have a default set of facts. This, oddly to me, seemed to not go over
well. Let me explain where I'm coming from and why I think the current
state of facter
Join us for Puppet Master Training:
Puppet Training in London: Nov 30, Dec 1 & 2
http://www.puppetlabs.com/events/london-nov-2010/
Puppet Training in Santa Clara: Dec 7, 8, & 9
http://www.puppetlabs.com/events/bay-area-training-10/
If you have any questions, please contact a...@puppetl
Hi,
On Fri, Nov 19, 2010 at 4:50 AM, walexey wrote:
> Hello everybody!
> How can i create with puppet following sudoers file:
>
> User_Alias CENTREON=apache,nagios
> CENTREON ALL = NOPASSWD: /etc/init.d/nagios* restart
> CENTREON ALL = NOPASSWD: /etc/init.d/nagios* reload
> CENTREON A
The sudoers tree is pretty complex, you've got four possible 'key
nodes' of information to match on: user, host, command and tag. This
is an augeas match line for all four key nodes (command changed to
something without asterisks for readability):
match /files/etc/sudoers/spec[user="CENTREON"]/hos
On Nov 18, 6:32 pm, James Louis wrote:
> Don't know what to tell you. Commenting out the line in that file fixed the
> problem. And it's been working great since.
I'm glad your problem is fixed.
Folks around here have previously informed me that the whole /etc/
sysconfig interface dates from a
On Nov 18, 7:09 pm, "russell.fulton" wrote:
> I am trying to import a hash definition from a separate file but this
> fails whereas including the text verbatim in the original manifest
> works fine:
>
> class monitor ($master, $interface) {
>
> # import "masters.pp"
>
> $sensor_rule_categori
On Nov 18, 5:28 pm, Lars Francke wrote:
[...]
> But I guess that doesn't work because a resource may be managed multiple
> times.
>
> Any ideas how to solve this?
There are two basic approaches you can use, separately or together,
depending on how granularly you want to manage these resources.
That looks like the define I wrote. Whenever/wherever I posted it, I probably
also mentioned that it isn't complete because it only identifies entries by
user, when in practice, there can be multiple entries with the same user (as
you've seen).
The problem with incorporating other attributes to
define sudoentry ($user, $host = "ALL", $command = "ALL", $tag
= "NOPASSWD", $runas = "ALL") {
$sudo_changes = $tag ? {
false => [
"set spec[user = '$user']/user $user",
"set spec[user =
Hi Walexey,
Can you post the augeas resource that you've got so far?
On Nov 19, 12:50 pm, walexey wrote:
> Hello everybody!
> How can i create with puppet following sudoers file:
>
> User_Alias CENTREON=apache,nagios
> CENTREON ALL = NOPASSWD: /etc/init.d/nagios* restart
> CENTREON ALL
Hello everybody!
How can i create with puppet following sudoers file:
User_Alias CENTREON=apache,nagios
CENTREON ALL = NOPASSWD: /etc/init.d/nagios* restart
CENTREON ALL = NOPASSWD: /etc/init.d/nagios* reload
CENTREON ALL = NOPASSWD: /usr/bin/nagios* -v *
The problem that augeas create
On Fri, Nov 19, 2010 at 11:01 AM, Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:
> On 11/19/2010 10:56 AM, Chris May wrote:
> >
> > Thinking back to the original PSON bug, the workaround back then was
> > to use YAML serialization. I did notice that that could make clients
> > c
On 11/19/2010 10:56 AM, Chris May wrote:
>
> Thinking back to the original PSON bug, the workaround back then was
> to use YAML serialization. I did notice that that could make clients
> crash though, I think the 0.25.5 were the afflicted ones.
>
> You may want to give it shot tho
Hi Marek,
I do have this same issue on one of my test clients.
Nov 19 11:43:52 * puppet-agent[15088]: Could not retrieve catalog from
remote server: Could not intern from pson: source did not contain any PSON!
Can you point out where you found your 'bad character' and what it was.
I recent
On Nov 16, 11:17 am, Rudy Gevaert wrote:
> Pachine parseable output would be very nice, but in my opinion not
> that 'urgent'. We can parse it like it is.
I will add this as an option but not change the current output then.
Later, when you've had a chance to update the provider to use the
machin
>
>
> Thinking back to the original PSON bug, the workaround back then was to use
> YAML serialization. I did notice that that could make clients crash though,
> I think the 0.25.5 were the afflicted ones.
>
> You may want to give it shot though, anyway. The YAML encoder seems to be
> less picky wh
On 11/19/2010 10:15 AM, luke.bigum wrote:
> Felix,
>
> That fixes the problem, my remote file bucket now works. I'll raise a
> bug for this.
>
> Thanks!
>
> -Luke
Huh, interesting.
This commit is what tipped me off about the likely fix:
266aafa6efa9dff5fb0b49ffdafc9372edcafdfe
I'm not sure if
Felix,
That fixes the problem, my remote file bucket now works. I'll raise a
bug for this.
Thanks!
-Luke
On Nov 18, 11:23 pm, Felix Frank
wrote:
> On 09.11.2010 10:33, luke.bigum wrote:
>
>
>
> > Roman,
>
> > Not that I know of. I'm still aware it doesn't work in my site, but
> > I'm content w
32 matches
Mail list logo