On Mon, Jan 10, 2011 at 11:00:24PM -0800, Jesse A Wolfe wrote:
> > Huh? You can write a Type in Puppet? How? I'm only aware of
> > classes and defines, neither of which are that.
>
> A "define" is a "defined type" - it really fills the same role as
> both a type and a provider.
Well, except for
On Mon, Jan 10, 2011 at 05:06:04PM -0800, pl wrote:
> Hi,
>
> > Puppet::Provider::Package defines the prefetch class method. This is
> > called at the beginning of the puppet run to find matches between existing
> > packages and the one you described in your manifest. Prefetch calls
> > instances
On Jan 3, 1:34 pm, James Ralston wrote:
> So, here's my question: if you are currently using the "svn update"
> approach to manage /etc/puppet on the puppetmaster, have you taken
> conscious steps to help avoid a race condition?
A late vote for Ignore It. At puppet camp SF this came up in two
bre
> Huh? You can write a Type in Puppet? How? I'm only aware of
> classes and defines, neither of which are that.
>
>
A "define" is a "defined type" - it really fills the same role as both a
type and a provider.
--
You received this message because you are subscribed to the Google Groups
"Puppe
On Jan 8, 1:02 pm, trey85stang wrote:
> I'm trying to get an idea of what kind of backend setup I would need
> to run puppet to manage roughly 6000 hosts.
No one else has asked, but what's the geographic/network distribution
look like?
> I see puppet by iteself is limited to 10-20; but with mon
Hi All
For those that use, or want to use config_version, you might want to watch
http://projects.puppetlabs.com/issues/3692
My debugging (with webrick) shows that the puppet server only executes the
script defined in config_version at daemon startup, no matter how many
clients connect.
John
--
On Mon, Jan 10, 2011 at 08:33:06PM -0800, Jesse Wolfe wrote:
> It's my understanding that we'd like to have more of both!
So what should people who have developed new types do to get them
included?
> People do write native (ruby) Types and Providers, and people do
> write them in Puppet language.
(I'm going a bit more for philosophical discussion than practicality
here, maybe. Do at least feel free to think in terms of what Puppet
*should* do rather than tha fastest way to solve this problem.)
There's a pattern I've run into a lot recently mhere a config file
needs to be built based on in
It's my understanding that we'd like to have more of both!
People do write native (ruby) Types and Providers, and people do write them
in Puppet language.
We're working on some new features to make it easier to write Types in the
Puppet Language,
and we're working on some new features that make it
So, I started with puppet about two years ago (December 2008). At
the time, I was under the impression that the list of Types would
grow a lot (i.e.
http://docs.puppetlabs.com/references/stable/type.html ). In fact,
the file type says:
If you find that you are often copying files in from a ce
Hi,
> Puppet::Provider::Package defines the prefetch class method. This is
> called at the beginning of the puppet run to find matches between existing
> packages and the one you described in your manifest. Prefetch calls
> instances which should return an array of provider instances. One
> provid
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> dont you find having to specify the relationships of httpd::ssl and
> httpd here to be wrong?
>
> Isn't the fact that the httpd module is designed to have this
> ordering requirement an implementation detail and not a usage
> detail?
>
> Surely peo
Yep, that did the trick. Seems I extrapolated the 'string that looks
like puppet' one step too far. I added an example to the wiki.
Thanks,
Ben
On Jan 10, 2:58 pm, Stefan Schulte
wrote:
> On Mon, Jan 10, 2011 at 12:27:13PM -0800, Ben Lavender wrote:
> > I'm loving playing around with the DSL.
On Mon, Jan 10, 2011 at 12:27:13PM -0800, Ben Lavender wrote:
> I'm loving playing around with the DSL. There are some problems (ie
> 5237), but now that it's Ruby, I can fix them! woo!
>
> However, I'm stumped on this one, which may or may not be related to
> the DSL. When trying to have a reso
Hi,
Experiencing some issues with certs, I cannot see what I am doing
wrong, if anyone would look over this I would be appreciative.
I am running passenger and apache2.
*** LOCAL GEMS ***
daemon_controller (0.2.5)
facter (1.5.8)
fastthread (1.0.7)
file-tail (1.0.5)
passenger (2.2.11)
puppet (
I'm loving playing around with the DSL. There are some problems (ie
5237), but now that it's Ruby, I can fix them! woo!
However, I'm stumped on this one, which may or may not be related to
the DSL. When trying to have a resource have a simple dependency on
two things at once, it simply fails, an
Forgot to mention I appreciate everyone's help!
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegro
Sorry for going back to scripts, I keep reading and reading that if
you think in terms of scripts you're only going to confuse yourself
been writing automation/admin scripts for way too long. I think you
all have giving me a lot more to read up on so I will be doing that.
I'll do some more readi
On Mon, Jan 10, 2011 at 11:19:03AM -0800, trey85stang wrote:
> Bruce, I think what you are saying is clicking now.
>
> Now does puppet allow any variable substitution?
I do urge you to stop thinking in terms of scripts. It doesn't map well
onto the way that Puppet works. If you mean "How do I
Hi James,
Since you are getting a "Destination Host Unreachable" from the ping command,
do a netstat -nr command
and verify that you have a default route for your primary NIC. If not, then add
one with the route command.
Good Luck,
Mike
-Original Message-
From: puppet-users@googlegr
On Jan 10, 2011, at 8:01 AM, Adriana wrote:
> Hello,
> I would like to know if it is possible to automatically import the
> puppet classes to the dashboard in order to manage them from the gui.
> I didn't find exact instructions to make the puppet clients report
> directly to the dashboard instea
Bruce, I think what you are saying is clicking now.
Now does puppet allow any variable substitution?
class role::basic_host {
host { 'localhost':
ip => '127.0.0.1',
host_aliases => 'localhost.localdomain',
ensure => 'present'
}
ho
On Jan 10, 2011, at 12:30 AM, Spacelee wrote:
> I want to upgrade from puppet 0.24.8 to the latest puppet, and do I need to
> modify my puppet code to fit for 0.26?
>
> and another thing, I want to have multi-puppet server node, and 1 as the
> master, and the others as the slave.
> master ser
looks like this error was caused by owner permissions not set to
puppet on the /etc/puppet/rack/config.ru file.
On Jan 10, 1:00 pm, Butt3r wrote:
> Hello,
>
> Puppet client is receiving the 500 error when trying to talk to the
> puppetmaster server.
>
> Apache error log on the server shows ->
>
Hello,
Puppet client is receiving the 500 error when trying to talk to the
puppetmaster server.
Apache error log on the server shows ->
Could not prepare for execution: Got 1 failure(s) while initializing:
change from absent to file failed: Could not set 'file on ensure:
Permission denied - /va
Thanks for the tip, I think I will figure it out :)
On Jan 10, 11:52 am, Felix Frank
wrote:
> On 01/10/2011 05:41 PM, James Lee wrote:
>
> > Hi Felix,
> > I tried "ping pmaster.domain" and it doesn't work (Destination Host
> > Unreachable). I added an entry to /etc/hosts and it's still reacting
>
On 01/10/2011 05:41 PM, James Lee wrote:
> Hi Felix,
> I tried "ping pmaster.domain" and it doesn't work (Destination Host
> Unreachable). I added an entry to /etc/hosts and it's still reacting
> the same. What might be wrong with my DNS?
Your master is not available network-wise. This can have an
Hi Felix,
I tried "ping pmaster.domain" and it doesn't work (Destination Host
Unreachable). I added an entry to /etc/hosts and it's still reacting
the same. What might be wrong with my DNS?
On Jan 10, 11:30 am, Felix Frank
wrote:
> On 01/10/2011 05:27 PM, James Lee wrote:
>
>
>
> > Hi, I'm gettin
On 10/01/11 16:33, Felix Frank wrote:
On 01/10/2011 05:30 PM, Jonathan Gazeley wrote:
On 10/01/11 16:20, Felix Frank wrote:
Hauling out the big guns boils down to (for me):
strace -e trace=file -f puppet master --no-daemonize ... 2>&1 | grep ntp
That should eventually spit a few stat or open
Both the client and the server are allowing port 8140 for tcp and
udp.
On Jan 10, 11:33 am, Mark Stanislav wrote:
> Any firewall (client or server) perhaps not explicitly allowing the proper
> traffic for 8140 to the master?
>
> -Mark
>
> On Jan 10, 2011, at 11:27 AM, James Lee wrote:
>
> > Hi,
Any firewall (client or server) perhaps not explicitly allowing the proper
traffic for 8140 to the master?
-Mark
On Jan 10, 2011, at 11:27 AM, James Lee wrote:
> Hi, I'm getting this message "Could not request certificate: No route
> to host - connect(2)" when I'm trying to connect my pclient t
On 01/10/2011 05:30 PM, Jonathan Gazeley wrote:
> On 10/01/11 16:20, Felix Frank wrote:
>> Hauling out the big guns boils down to (for me):
>>
>> strace -e trace=file -f puppet master --no-daemonize ... 2>&1 | grep ntp
>>
>> That should eventually spit a few stat or open attempts that fail, when
>>
On 01/10/2011 05:27 PM, James Lee wrote:
> Hi, I'm getting this message "Could not request certificate: No route
> to host - connect(2)" when I'm trying to connect my pclient to
> pmaster.
>
> I checked my hostnames for both the pclient and the pmaster:
> [r...@pclient etc]# hostname -f
> pclient.
On 10/01/11 16:20, Felix Frank wrote:
Hauling out the big guns boils down to (for me):
strace -e trace=file -f puppet master --no-daemonize ... 2>&1 | grep ntp
That should eventually spit a few stat or open attempts that fail, when
the master tries to import the ntp module.
Thank you. Using s
Hi, I'm getting this message "Could not request certificate: No route
to host - connect(2)" when I'm trying to connect my pclient to
pmaster.
I checked my hostnames for both the pclient and the pmaster:
[r...@pclient etc]# hostname -f
pclient.domain
[r...@pmaster etc]# hostname -f
pmaster.domain
On Mon, Jan 10, 2011 at 08:11:02AM -0800, trey85stang wrote:
> Upon further reading, it looks like what I want would be better
> accomplished with using stored configs?
No. That's for something else. Since you have 6000 nodes in your
environment, you probably want to look at External Nodes, whi
On Mon, Jan 10, 2011 at 07:56:49AM -0800, trey85stang wrote:
> Thanks for the reply,
>
> It looks like I would need an entry for every host if I were to take
> that route? My environment would require 6000*3 entries... That
> doesn't seem logical.
>
> Am I understanding this correctly?
No, you
On 01/10/2011 05:11 PM, Jonathan Gazeley wrote:
> On 10/01/11 16:00, luke.bigum wrote:
>>
>> Hi Jonathan,
>>
>> You shouldn't need to "import" your ntp module as Puppet should auto
>> load it if the pathing is all correct, which it looks like it is.
>
> OK, good to know.
>
>> Remote the 'import "
On 10/01/11 16:00, luke.bigum wrote:
Hi Jonathan,
You shouldn't need to "import" your ntp module as Puppet should auto
load it if the pathing is all correct, which it looks like it is.
OK, good to know.
Remote the 'import "ntp"' line from your site.pp:
I've removed this line.
In site.p
Upon further reading, it looks like what I want would be better
accomplished with using stored configs?
On Jan 10, 9:56 am, trey85stang wrote:
> Thanks for the reply,
>
> It looks like I would need an entry for every host if I were to take
> that route? My environment would require 6000*3 entri
Actually, upon more reading on my own, this is where stored configs
will come into play? Ill approach more reading on that subject.
On Jan 10, 9:56 am, trey85stang wrote:
> Thanks for the reply,
>
> It looks like I would need an entry for every host if I were to take
> that route? My environm
Hello,
I would like to know if it is possible to automatically import the
puppet classes to the dashboard in order to manage them from the gui.
I didn't find exact instructions to make the puppet clients report
directly to the dashboard instead of importing the reports every time
through the comman
> Hmm, no luck using ntp::ntp instead of ntp. The problem seems to be in
> importing rather than including. I tried using ntp, ntp::ntp, and the
> full path /etc/puppet/modules/ntp/manifests/init.pp.
>
> It always fails with:
>
> err: Could not retrieve catalog from remote server: Error 400 on SERV
Thanks for the reply,
It looks like I would need an entry for every host if I were to take
that route? My environment would require 6000*3 entries... That
doesn't seem logical.
Am I understanding this correctly?
On Jan 10, 4:35 am, Bruce Richardson wrote:
> On Sun, Jan 09, 2011 at 10:42:19AM
Hi,
looking for more modules:
* puppet-iptables
* puppet-archive
* puppet-bugzilla
* puppet-sshd
give an error about kbarber user... was him deleted by error?
http://forge.puppetlabs.com/bobsh/sshd
http://bob.sh/puppet
TIA,
Arnau
--
You received this message because you are
On Mon, 10 Jan 2011 16:41:02 +0100
Peter Meier wrote:
> As far as I remember this one:
> http://git.puppet.immerda.ch/?p=module-sysctl.git;a=summary
>
> was originally based on that one.
Thanks!
> ~pete
Arnau
--
You received this message because you are subscribed to the Google Groups
"Pupp
On 10/01/11 13:59, Felix Frank wrote:
node 'espresso.resnet.bris.ac.uk' {
include ntp
}
To get anything going, try to rename class ntp to ntp::ntp and include
it as that. You can strip down to more straight-forward naming once that
works.
Hmm, no luck using ntp::ntp instead of ntp. The pr
> from http://projects.puppetlabs.com/projects/1/wiki/Puppet_Modules
>
> wanted to take a look at sysctl type but it's not available.
>
> http://spook.wpi.edu/sysctl
>
> Anyone could give it a look?
As far as I remember this one:
http://git.puppet.immerda.ch/?p=module-sysctl.git;a=summary
was
Hi all,
from http://projects.puppetlabs.com/projects/1/wiki/Puppet_Modules
wanted to take a look at sysctl type but it's not available.
http://spook.wpi.edu/sysctl
Anyone could give it a look?
TIA,
Arnau
--
You received this message because you are subscribed to the Google Groups
"Puppet Us
Hi,
For more then 90 hosts, 1 host is always giving the error below.
The strange thing: the reports says everything is fine and all
necessary changes are still done
There is nothing special about this host...
Description:Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Release:
Hi adam,
>
> I am also aware of https://launchpad.net/~mathiaz/+archive/puppet-backports
> but mathiaz doesn't provide puppetmaster.
I am using his PPA for a deployment right now with success. In this context,
using Apache + Passenger is the way to go for the Puppetmaster role.
Take a look at
> node 'espresso.resnet.bris.ac.uk' {
>include ntp
> }
To get anything going, try to rename class ntp to ntp::ntp and include
it as that. You can strip down to more straight-forward naming once that
works.
BTW, I don't see how your 'import "nodes"' ever worked. But apparently
it does.
--
Yo
On 10-01-11 14:47, Martijn Grendelman wrote:
> ... Ubunutu packages ...
Damn. I STILL can't type 'Ubuntu' properly. Just use Debian, it's easier :-)
Regards,
Martijn.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send
On 10/01/11 13:34, Felix Frank wrote:
To reiterate, my 'ntp' class is defined in
/etc/puppet/modules/ntp/manifests/init.pp and I have defined modulepath
in my puppet.conf. The ntp module is imported in site.pp and included in
nodes.pp.
Are the permissions adequate for your puppetmaster process?
Hi,
On 10-01-11 14:34, Adam Ryczkowski wrote:
> I like the idea of parametrized classes very much, and I would like to
> use them. Unfortunately Ubuntu Lucid ships with puppet 2.5.4, which
> doesn't support it. Does anybody here can tell me, how can I get 2.6.x
> version of puppet and puppetmaster
> To reiterate, my 'ntp' class is defined in
> /etc/puppet/modules/ntp/manifests/init.pp and I have defined modulepath
> in my puppet.conf. The ntp module is imported in site.pp and included in
> nodes.pp.
Are the permissions adequate for your puppetmaster process?
> So it looks like my puppetmas
I like the idea of parametrized classes very much, and I would like to
use them. Unfortunately Ubuntu Lucid ships with puppet 2.5.4, which
doesn't support it. Does anybody here can tell me, how can I get 2.6.x
version of puppet and puppetmaster on Ubuntu?
I tried to install puppet from sources, bu
On 01/07/2011 07:49 PM, dingus9 wrote:
>
> I would like to see a dedicated group for this too. I have a few
> opinions on the matter of language syntax and semantics.
>
> My main frustration is the matter of slightly different methods for
> declaring defines, nodes and classes.
>
> Take these
Puppet's template() function has the potential to be a rather excellent way to
generate configuration files, so I wondered if it would be able to generate
something non-trivial, like a set of Shorewall configuration files.
I should note, I have seen the Shorewall example from the puppet "patterns"
On Sun, Jan 09, 2011 at 10:42:19AM -0800, trey85stang wrote:
>
> 192.168.1.20host1.domain.com
> 192.168.1.30host2.domain.com
> 192.168.1.250 unique_host.domain.com
>
> Is there a way to manage this with puppet? What I would like to do is
> be able to check that those 3 entries exist...
On 07/01/11 14:54, luke.bigum wrote:
I created the tree /etc/puppet/modules/ntp/manifests/ and created an
init.pp with this content:
class ntp {
package { "ntp": ensure => installed }
service { "ntpd": ensure => stopped }
}
Hi Jonathan,
How do you know the client isn't
> Bug? Expected behaviour? PEBKAC?
PEBKAC. Sorry for the noise.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsu
I have just updated a 'file' directive that defines a symlink. The name of
the symlink hasn't changed, but the target has. However, that change is
not being propagated to clients.
Bug? Expected behaviour? PEBKAC?
Puppet master: 24.8
Puppet client: 24.8
Thanks,
Keith
--
You received this messag
I want to upgrade from puppet 0.24.8 to the latest puppet, and do I need to
modify my puppet code to fit for 0.26?
and another thing, I want to have multi-puppet server node, and 1 as the
master, and the others as the slave.
master serves for the most time, but when master is down, slave becomes t
64 matches
Mail list logo