Hello everybody,
Is there a way when installing a package like this :
package { "rubygems":
ensure => installed,
}
to pass -t parameter to apt-get in order to use a specific apt
source ? EG : apt-get install -t lenny-backports rubygems
Ideally I would not use exec ...
I am
am not sure what can I do ...
Thank you,
Adrian
--
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-user
Hi all,
I've got a custom type with a single custom provider. I've got
enabled pluginsync in both client and server. When I run the puppet
agent in the client it syncs the type and the provider and properly
executes them. But if I execute the agent again it will tell me
err: Could not run Puppet
Hi,
Thanks for the tip. I'll try that out on monday :)
Cheers,
Adri
On 27 August 2011 00:21, Stefan Schulte wrote:
> On Fri, Aug 26, 2011 at 08:13:03AM -0700, Adrian Casajús wrote:
>> Hi all,
>>
>> I've got a custom type with a single custom provider. I'
ugust 2011 13:01, Adrian Casajús wrote:
> Hi,
>
> Thanks for the tip. I'll try that out on monday :)
>
> Cheers,
> Adri
>
> On 27 August 2011 00:21, Stefan Schulte
> wrote:
>> On Fri, Aug 26, 2011 at 08:13:03AM -0700, Adrian Casajús wrote:
>>> H
Hi,
Thanks! It worked. I clearly overlooked that bit.
Cheers,
Adri
On 28 August 2011 22:29, Stefan Schulte wrote:
> On Sun, Aug 28, 2011 at 01:16:25PM +0200, Adrian Casajús wrote:
>> Hi again,
>>
>> I just checked and both files are rb files:
>>
>> /et
Hi all,
Puppet gets stuck in one machine after the line
debug: Service[nis](provider=redhat): Executing '/sbin/service ypbind status'
if I run by hand '/sbin/service ypbind status' it works properly:
[root@host ~]# /sbin/service ypbind status
ypbind (pid 12605) is running...
[root@host ~]# e
(monit etc.)
> that I want to use service scripts with.
>
> On Thu, Nov 10, 2011 at 11:05 AM, Adrian Casajús wrote:
>> Hi all,
>>
>> Puppet gets stuck in one machine after the line
>>
>> debug: Service[nis](provider=redhat): Executing '/sbin/servic
to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
Well, This is happening at about 50% of the installation - so it is
definitely deploying ..
I am running :
puppetd --test --verbose
And, as listed a
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...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>
similar problem.
>
Hmm, I am not aware of any installers running ... I will take a look
and see if there are
any background processes waiting for input .. thanks !
> Adrian Snyman wrote:
>>
>> On Thu, Aug 12, 2010 at 12:49 PM, Ohad Levy wrote:
>>
>>>
>>>
On Fri, Aug 13, 2010 at 8:02 AM, Adrian Snyman wrote:
> On Thu, Aug 12, 2010 at 1:38 PM, Trevor Hemsley
> wrote:
>> You're not exec'ing some install program that is stopping and waiting for
>> input? When we deploy Platform Symphony, we have to do something like
On Fri, Aug 13, 2010 at 8:46 AM, Adrian Snyman wrote:
> On Fri, Aug 13, 2010 at 8:02 AM, Adrian Snyman wrote:
>> On Thu, Aug 12, 2010 at 1:38 PM, Trevor Hemsley
>> wrote:
>>> You're not exec'ing some install program that is stopping and waiting for
>>&
thing about this kind of problem is actually figuring out what
> causes the issue, since Puppet/Yum only log the action after it's
> completed.
>
> -Eric
>
>
> On Tue, Aug 17, 2010 at 2:04 AM, Adrian Snyman wrote:
>> On Fri, Aug 13, 2010 at 8:46 AM, Adrian Snyman w
am looking forward to find it ;)
Adrian
On 12 déc. 2010, at 08:59, Olivier Le Cam wrote:
> Hi -
>
> On 12/12/10 05:01, Ben wrote:
>>> Is there a way when installing a package like this :
>>>
>>> package { "rubygems":
>>> ensure => installed,
Thank you for an interesting idea ,
> Hi Adrian,
>
> I'm not sure but I imagine by just trying to 'source' the profile within the
> current puppet runtime the scope will be lost as it would be called within an
> exec?
>
> Obviously if you are not worried
Here is what I managed to do:
I was forced to replace package {"buildr":ensure=>installed} with :
$java_home = "/usr/lib/jvm/java-1.5.0-sun"
exec { install_buildr:
command => "echo 'export JAVA_HOME=$java_home;gem install -y
buildr'|/bin/bash",
path => "/us
verted into two separate
hyperlinks, both to classes/example.html.
This is using puppet 2.6.4-0.5-el5 and ruby-rdoc 1.8.5-5.el5_4.8 on
RHEL 5.
Thanks,
Adrian
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, se
Posted 5mins too early, found the answer. Hopefully this will help
someone else.
# See example[link:classes/example/example.html]
HTH,
Adrian
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to
It may also be worth looking at some form of improved scheduling in
order to avoid a thundering herd of requests to your puppetmasters.
One option that looks interesting (about to try it myself) is to use
mcollective:
http://www.devco.net/archives/2010/03/17/scheduling_puppet_with_mcollective.ph
Maybe I'm going a little nuts, this behaviour seems odd to me (and
inconsistent).
I have a puppet class like this:
class puppet::config {
File {
owner => "puppet",
notify => Service["puppet"],
}
file {
"/etc/puppet/puppet.conf":
content => template("puppet/puppet.conf"),
}
t's possible.
Ah, interesting - I hadn't appreciated that, it seems a bit of a shame
in some ways. That explains what I'm seeing.
One reason for the slight oddness here and setting defaults was to all
a more standardised approach in how we write modules - to avoid
missing
the each server.
The third issue is how to do production deployments manually / or how to
trigger them when wanted.
What I can mention is that we have a 4-5 servers with only two of them being in
production. We do have a couple of php applications which we intend to package
them for debian(de
on,
> though I still have a few bugs to clean up. Most likely it'll be ready for
> wider testing in another week or so.
>
> Just drop me an email if you'd like to try the plugin once it's finished.
>
Reporting interest in your plugin. Count me as tester
Thanks!
--
Ad
Is it possible to define a parametrized class but allowing variable number
of arguments?
thanks,
adrian
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pu
myhash => {}) {
> ...
> }
>
> and I use the class like this:
> myclass { "myclass" :
> myhash => { "mykey" => "myvalue" },
> }
>
> works like a charm.
>
>
> HTH,
> Axel.
>
>
> Am Montag, 24. Septem
only after repository updates).
In my case I normally build into release directories so absolutely can not
afford to rebuild on every puppet execution which runs every 5 minutes.
Thanks for any help you can provide!
Adrian
--
You received this message because you are subscribed to the G
mode => '0755',
content => template($post_update_template),
subscribe => Vcsrepo[$repo_dir],
}
}
As you can see I use the vcsrepo module to update my repo and then desire to
send a notify up to the caller through the parameters. So my real problem is
how t
, October 9, 2012 2:40:04 PM UTC+1, Adrian Webb wrote:
>
> Unfortunately what I need is a little more abstract because I have rolled
> my definition into a module that is used by other modules. Below is my
> definition (that does not work as intended) right now
>
>
Are you sure this notify is only triggered when there is an actual change
in the repo (working copy has changed) or is it when the vcsrepo resource
is executed like most notify's?
On Tuesday, October 9, 2012 3:18:48 PM UTC+1, Ramin K wrote:
>
> On 10/9/2012 6:40 AM, Adrian
details of providers.
If you know where I would start I would be happy to troubleshoot issues
with the vcsrepo git provider as they come up.
Thanks,
Adrian
On Tuesday, October 9, 2012 3:39:48 PM UTC+1, Ramin K wrote:
>
> On 10/9/2012 7:25 AM, Adrian Webb wrote:
> > Are you sure th
their state
effectively (which so far they do)? Admittedly, I have been using execs
for things like my make, make install, etc... It just seems like the repo
notification is the major obstacle even with a custom resource to manage
the state of the build.
Adrian
On Tuesday, October 9, 2012 3:
apply catalog: Could not find dependency
File[/etc/snmp/snmpd.conf] for Service[snmpd] at
/etc/puppetlabs/puppet/modules/snmp/manifests/init.pp:25
Why is the puppet agent unable to find this file?
Is this possibly an older class not designed for PE 2.7?
Thank you
Adrian
--
You received this
I need to set up a PXP Agent and i have few questions:
- Is any good documentation online for pxp agent?
- what doing in pxp agent pcp broker and pcp client is the pcp broker
something like middleware in mcollective and pcp client is something like
mcollective client?
- what is required for set
With the addition of subkeys lookup, e.g. hiera('a.b.c'), those yaml
configuration files already including top level keys with a "." in the key
name are rendered invalid.
Is there a way to disable subkey lookup support on demand for a given
backend?
thanks,
adrian
-
Hi guys,
Hiera 3 apparently breaks old yaml configuration where keys are containing
"." char.
I filed https://tickets.puppetlabs.com/browse/HI-496.
Is it just me seeing this issue?
thanks,
adrian
--
You received this message because you are subscribed to the Google Groups
&qu
override the values
with an default node of should we leave everything that isn't a "true
default" outside of the default node.
Thanks you in advance for you answer.
Regards,
Adrian.
Templates.pp:
node default_template {
...
include resolver
resolver::resolv_conf { "company
I searched
the documentation, google and the google-group but there seems to be
no way of iterating over an array or even get the size of an array.
So now I am kind of stuck. I could write a separate define for the up
rules but I would rather have this within the define for interfaces.
I am pro
38 matches
Mail list logo