Hi all,
We have some data in SVN repos and I'd like puppet to ensure that a) the
latest copy is checked out, and b) reload a service if it is updated.
So I've configured the vcsrepo type
(http://forge.puppetlabs.com/puppetlabs/vcsrepo).
However when I subscribe to the vcsrepo resource, it is al
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> is there some easy way to make the puppet dashboard web-server to listen only
> on
> the loopback interface? if I want to run it behind apache (to provide
> authentication) I don't want to have it bound to all interface but only to
> the
> loopb
Since you're using the same three NTP servers, couldn't you just
copy ntp.conf from a fileserver?
* altimon [2010/07/12 16:35]:
> Hi Rob and ALL,
>
> Unfortunately,
>
> following pp file creating 1st instances and then are adding new
> ( I've tried just one ntp1 or triad ntp1,2,3 )
>
> class n
On Jul 12, 2010, at 6:31 PM, nate wrote:
> On Jul 12, 9:33 am, bmort wrote:
>> Whew I am struggling on a puppet architecture design learning
>> curve.
>>
>> I believe if i could find a good 'stand alone' example, it would
>> clarify a lot of the questions I have and it would help me set up
On Jul 12, 9:33 am, bmort wrote:
> Whew I am struggling on a puppet architecture design learning
> curve.
>
> I believe if i could find a good 'stand alone' example, it would
> clarify a lot of the questions I have and it would help me set up a
> test machine.
>
> I hoping to find an example o
On 13 July 2010 06:51, Julian Simpson wrote:
>
>
> On 12 July 2010 14:33, bmort wrote:
>>
>> - start puppet with Capistrano
>> - puppet checks the 'repository' and determines changes have been
>> made
>> - applies any changes
>>
>
> Can I ask why you want to do that? You want to push the Pupp
Hi Rob and ALL,
Unfortunately,
following pp file creating 1st instances and then are adding new
( I've tried just one ntp1 or triad ntp1,2,3 )
class ntpd{
service { ntpd:
name => "ntpd",
enable => true,
ensure => running,
require => File["/etc/ntp.conf"],
ext Jon Choate said:
> I have an exec defined as
>
> exec {"dpkg --configure -a":
>path => "/usr/bin:/bin",
>user => root
> }
>
> puppet complains:
>
> Exec[dpkg --configure -a]/returns: change from notrun to 0 failed: dpkg
> --configure -a returned 2 instead of one of [0]
>
> but when
On Jul 12, 2010, at 12:00 PM, Jon Choate wrote:
I have an exec defined as
exec {"dpkg --configure -a":
path => "/usr/bin:/bin",
user => root
}
puppet complains:
Exec[dpkg --configure -a]/returns: change from notrun to 0 failed:
dpkg --configure -a returned 2 instead of one of [0]
bu
I'm replying to myself since I have found a completely hack-ish
workaround to this issue, but still no "real" solution.
It turns out that the function in question just has to be noted in the
manifest *at all*.
So, you can do something like the following and then use it in your template:
if false
On 12 July 2010 14:33, bmort wrote:
>
> - start puppet with Capistrano
> - puppet checks the 'repository' and determines changes have been
> made
> - applies any changes
>
>
Can I ask why you want to do that? You want to push the Puppet manifests
out to the node with Capistrano? It would be
On Jul 9, 2010, at 7:45 PM, altimon wrote:
> How I should form onlyif condition with match to make it working:
> now I have either it is not working at all or just accumulating
> additional lines.
I would avoid using a combination of “last()” and “onlyif” whenever possible.
See the recent discus
I have an exec defined as
exec {"dpkg --configure -a":
path => "/usr/bin:/bin",
user => root
}
puppet complains:
Exec[dpkg --configure -a]/returns: change from notrun to 0 failed: dpkg
--configure -a returned 2 instead of one of [0]
but when I run dpkg --configure -a outside puppet it ret
On Jul 12, 2010, at 8:30 AM, Kenneth Holter wrote:
I moved the "environments=testing" from "main" to "puppetmasterd",
restarted puppetmaster, and tried another puppet client run. Same
results. Even tried without that entry, still don't work.
What I meant was
[main]
...
environment=testing
[p
yep --> http://projects.puppetlabs.com/issues/4213
On Monday, July 12, 2010, Aurelien Degremont wrote:
> Gary Larizza a écrit :
>
> If I run "puppet agent --no-daemonize --onetime --debug --verbose" the agent
> will run, complete its task, and then exit. If I run "puppet agent
> --no-daemonize
Gary Larizza a écrit :
If I run "puppet agent --no-daemonize --onetime --debug --verbose" the
agent will run, complete its task, and then exit. If I run "puppet
agent --no-daemonize -o --debug --verbose" it will run, complete its
task, and then hang there until you Ctrl + c to break. The debu
An external node classier could set these variables for you at top
scope, or you could look into using the extlookup function which is
able to pull in data from external sources.
-Jeff
On Monday, July 12, 2010, walexey wrote:
> Hello everybody!
>
> We have puppet infrastructure integrated with l
On Mon, 12 Jul 2010, Kenneth Holter wrote:
> I'm trying to set up puppetmaster with external node classifier and
> multiple environments, and have found that the external nodes script
> is only run if I don't define any environments. Once I add an
> environment to the /etc/puppet/puppet.conf file,
As Patrick mentions, one solution i recommend is to enable storeconfigs and
have each node export a host entry for itself tagged with the tag you want
other hosts to collect.
For example, each node may export it's host entry with:
@@host { "$fqdn": ip_address => $ipaddress, tags => "webserver" }
Take a look at http://docs.puppetlabs.com/guides/exported_resources.html. I
think this will give you what you want. It will only work if you turn on
storeconfigs.
On Jul 12, 2010, at 5:43 AM, CraftyTech wrote:
> Thanks for the feedback Jeff. Interesting feature that I had
> unfortunately ov
All,
I'm wondering if anyone knows how to force the scope object to pick up
custom functions that have not yet been utilized.
If you run a simple test with a custom function that you don't use
anywhere but in a template, you should see the template hang and/or
fail.
If you use the function elsew
Hi,
is there some easy way to make the puppet dashboard web-server to listen only
on
the loopback interface? if I want to run it behind apache (to provide
authentication) I don't want to have it bound to all interface but only to the
loopback and pass the requests through the proxy.
cheers An
Hi Jeff,
Whilst I've never tried to get Puppet to do that level of mangling in
the past, I have had success with Likewise.
http://www.likewise.com/products/index.php
Perhaps that can do what you're after.
Cheers,
- Alex
--
You received this message because you are subscribed to the Googl
Whew I am struggling on a puppet architecture design learning
curve.
I believe if i could find a good 'stand alone' example, it would
clarify a lot of the questions I have and it would help me set up a
test machine.
I hoping to find an example of a stand alone that has a process flow
simila
Rudy Gevaert wrote:
>
> On Jul 12, 8:09 am, James Turnbull wrote:
>> Welcome back again to the Puppet release cycle with the long-awaited
>> eleventy times better RC2 release.
>
> Hi James,
>
> Any chance of providing debian packages for rc2? Or pointing me to an
> url where I can download the
Thanks for your reply.
This is the line I've been running on the client side:
-- code start --
puppetd --server puppetmaster.example.local --environment=testing
--verbose --no-daemonize
-- code end --
I moved the "environments=testing" from "main" to "puppetmasterd",
restarted puppetmaster, and
On Jul 12, 8:09 am, James Turnbull wrote:
> Welcome back again to the Puppet release cycle with the long-awaited
> eleventy times better RC2 release.
Hi James,
Any chance of providing debian packages for rc2? Or pointing me to an
url where I can download the source with the Debian directory i
Hello,
We use puppet to manage user accounts on the Linux platform. Logins
are authenticated with ssh keys. We don't assign passwords to
accounts. We'd like to validate user accounts with ActiveDirectory.
Puppet will add an account only if that account is in ActiveDirectory.
It will remove the acc
Thanks for the feedback Jeff. Interesting feature that I had
unfortunately overlooked until now, but the basic question still
remains; how would I then generate specific hostfiles based on nodes
of the same tag? For instance, a web server to only have host entries
for items tagged webserver only,
On Mon, Jul 12, 2010 at 7:41 AM, Kenneth Holter wrote:
> In my current setup I have the following puppet.conf file:
>
> -- code start --
> [main]
>
...
>environments = testing
>
Looking at the documentation and environments default thread (
http://groups.google.com/group/puppet-users/browse_
Gary Larizza wrote:
> If I run "puppet agent --no-daemonize --onetime --debug --verbose" the
> agent will run, complete its task, and then exit. If I run "puppet
> agent --no-daemonize -o --debug --verbose" it will run, complete its
> task, and then hang there until you Ctrl + c to break. The deb
Thanks, that fixed it.
On Jul 9, 5:10 pm, Alan Barrett wrote:
> On Fri, 09 Jul 2010, Tim wrote:
> > # Generic config file
> > define config-file ($fullpath, $source) {
> > if $require {
> > require $require
> > }
> > file { $fullpath:
> > source =>
Hi all.
I'm trying to set up puppetmaster with external node classifier and
multiple environments, and have found that the external nodes script
is only run if I don't define any environments. Once I add an
environment to the /etc/puppet/puppet.conf file, the external nodes
script is no longer ru
If I run "puppet agent --no-daemonize --onetime --debug --verbose" the agent
will run, complete its task, and then exit. If I run "puppet agent
--no-daemonize -o --debug --verbose" it will run, complete its task, and
then hang there until you Ctrl + c to break. The debug and verbose
arguments run
Hello everybody!
We have puppet infrastructure integrated with ldap. I can pass
different variables via puppetVars attribute in ldap.
Currently, I need to write puppet class to configure mod_proxy server.
mod_proxy servers has 5-10 configured sites. Every site configuration
has some variables: sit
35 matches
Mail list logo