Hi.
I've defined a virtual user "kenneth", and depending on a variable in the
node definiton I'd like to add the users to different groups. Consider this
example:
## Code start
node "server.example.com" {
$server_type = "typeA"
realize User[kenneth]
}
@user {"kenneth":
ensur
Julian Simpson wrote:
> I would have assumed that you'd always want to qualify the module
> names as the best practise. Collisions in namespaces wreak havoc in
> many other domains. I'm thinking of Java class names being bound to
> domain names as an approach that works elsewhere.
Like rpm/deb
Chris Blumentritt wrote:
> I receive the following error when trying to do the puppet below:
> Failed to parse template s_apache_site/site.conf.erb: Could not find
> value for 'ipaddress_eth0_0'
>
> As far as I can tell the ipaddress_eth0_0 fact has to exist on the
> client before it will parse
Hello,
I'm confused why puppet wont start a service I have configured.
In the module, which is definitely being run (everything else in it
works):
service { ssh:
name => 'sshd',
ensure => true,
enable => true
}
As I understand the docs, the ensure => true should start sshd if it
is n
Ben Lavender wrote:
> Hello,
>
> I'm confused why puppet wont start a service I have configured.
>
> In the module, which is definitely being run (everything else in it
> works):
>
> service { ssh:
>name => 'sshd',
>ensure => true,
>enable => true
> }
>
> As I understand the docs,
John Ingersoll wrote:
> Hi,
>
> I have an exec {} that runs a command line script, for which 0 and 1 are
> both good return codes. (Specifically, spamassassin update; 1 means no
> new downloads). I tried
>
> returns => [0,1],
I'm using this for sa-update, in an exec:
> /usr/bin/sa-update
Thanks for your response.
I went through the type reference a little more closely. I had
assumed that the provider => redhat (I am running rhel 5) would give
me service xyz start/status/stop/restart on everything, but I see now
that's not the case. Modules are being updated accordingly :)
Howe
Ben Lavender wrote:
> Thanks for your response.
>
> I went through the type reference a little more closely. I had
> assumed that the provider => redhat (I am running rhel 5) would give
> me service xyz start/status/stop/restart on everything, but I see now
> that's not the case. Modules are be
On Sep 17, 2:53 pm, David Sowder wrote:
> I'm in the process of upgrading a bunch of our Puppet clients from 0.22.4 to
> 0.24.8 after recently upgrading our puppetmaster similarly.
>
> I've run into a problem that seems like it'd be so likely seen by someone
> else that if the problem isn't l
jcbollinger wrote:
>
>
> On Sep 17, 2:53 pm, David Sowder wrote:
>> I'm in the process of upgrading a bunch of our Puppet clients from 0.22.4 to
>> 0.24.8 after recently upgrading our puppetmaster similarly.
>>
>> I've run into a problem that seems like it'd be so likely seen by someone
>> el
jcbollinger wrote:
> I have no idea what you may have done wrong, if anything, but for my
> CentOS 5 / x86(32) environment I downloaded the 0.24.8 source tarball
> from ReductiveLabs, updated the included rpm spec file slightly (reply
> to me by e-mail if you want details), and built it.
May I ask
I am having a hard time installing puppet on an SLES 10 system. I
managed to install ruby, but the x86_64 rpm of puppet from opensuse
repository does not recognize the ruby installation from source.
Was wondering if any one has puppet running on x86_64 SLES10
Thanks
Hari
--~--~-~--~
We have a large number of Macs that are using puppet to install
packages. The source of the packages is determined by the domain name
of the client. We are using ISC's dhcpd. The macs seem to pick up the
correct domain name from the dhcp server but facter is not picking it
up. If I type "domainnam
I think this is the same as http://projects.reductivelabs.com/issues/2617
I'm seeing this on Mac OS X 10.5 and puppet 0.25.0. Everything seem to
work with mongrel, but with passenger, I see on the client:
info: Retrieving fact
debug: Using cached certificate for ca
debug: Using cached certific
/Library/Ruby/Site/1.8/facter/domain.rb
I think for the Mac you need to set the search domain in the Network
System Pref, and that is what facter uses, but I'm not sure I'm
reading the code right.
---
Thanks,
Allan Marcus
505-667-5666
On Sep 18, 2009, at 10:11 AM, engle wrote:
>
> We ha
whoops, /Library/Ruby/Site/1.8/facter/hostname.rb
also seems to play a part. The hostname command is used, then it's
parsed with regex magic.
---
Thanks,
Allan Marcus
505-667-5666
On Sep 18, 2009, at 12:16 PM, Allan Marcus wrote:
>
> /Library/Ruby/Site/1.8/facter/domain.rb
>
> I think for
On Fri, Sep 18, 2009 at 11:16 AM, Allan Marcus wrote:
>
> /Library/Ruby/Site/1.8/facter/domain.rb
>
> I think for the Mac you need to set the search domain in the Network
> System Pref, and that is what facter uses, but I'm not sure I'm
> reading the code right.
No, if you're using DHCP it shoul
On Fri, Sep 18, 2009 at 4:46 AM, David Schmitt wrote:
>
> John Ingersoll wrote:
> > Hi,
> >
> > I have an exec {} that runs a command line script, for which 0 and 1 are
> > both good return codes. (Specifically, spamassassin update; 1 means no
> > new downloads). I tried
> >
> > returns => [0
I am looking at migrating a set of servers from cfengine management to
puppet management. For the most part, the move has been relatively straight
forward, and I am pleased with the way that puppet's modules have made some
of the things I did in cfengine2 much cleaner. There is one thing though
t
(Wow, hi Luke! LTNT!)
The standard way to do that is:
source =>
["puppet:///foo/file-$hostname","puppet:///foo/file-$lsbdistcodename","puppet:///foo/file"]
- check for modules/foo/file-www4, then file-jaunty, then file
On Fri, Sep 18, 2009 at 4:37 PM, Luke Schierer wrote:
> I am looking at mi
Should I be able to put a define inside of an 'if' block?
It doesn't seem to be working in 0.24.8.
Thanks,
Trevor
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send e
On Sep 18, 2009, at 18:30 EDT, Disconnect wrote:
>
> (Wow, hi Luke! LTNT!)
Yes, it has!
>
> The standard way to do that is:
> source =>
> ["puppet:///foo/file-$hostname","puppet:///foo/file-$lsbdistcodename
> ","puppet:///foo/file"]
> - check for modules/foo/file-www4, then file-jaunty, then
I am running puppet 0.24.8 on ubuntu 9.04
I am failing to make the rrdgraph to work
Sep 18 23:46:36 sys-ubuntu puppetmasterd[30748]: RRD library is missing;
cannot store metricsSep 18 23:46:36 sys-ubuntu puppetmasterd[30748]: RRD
library is missing; cannot graph metrics
Sep 18 23:46:36 sys-ubuntu
23 matches
Mail list logo