On Fri, Dec 10, 2010 at 12:50 PM, Eric Snow wrote:
> So I got past the confusion. Here is what the rest_api.html doc
> should say (it was missing the underscore) for an example:
>
> curl -H "Accept: yaml"
> https://puppetmaster:8140/production/file_metadata/modules/puppet/puppet.conf
>
> As to
On Fri, Dec 10, 2010 at 12:55 PM, Eric Snow wrote:
> The issue was that I was not passing the --environment flag during my
> puppet run. Apparently it ignores the environment returned by the
> external node classifier. Thanks for all the feedback.
Ahah. I was wondering if you'd perhaps hit that
Don't forget about example42.com
On Fri, Dec 10, 2010 at 3:26 PM, James Turnbull wrote:
> Daniel Pittman wrote:
> > On Sat, Dec 11, 2010 at 03:42, Henrik Lindberg
> > wrote:
> >
> >> I understand that - I wonder if there is a set of pp files available for
> >> testing the parser.
> >
> > Puppet
Daniel Pittman wrote:
> On Sat, Dec 11, 2010 at 03:42, Henrik Lindberg
> wrote:
>
>> I understand that - I wonder if there is a set of pp files available for
>> testing the parser.
>
> Puppet labs don't have a hidden repository of them to use as part of
> testing or anything like that.
I have s
On Sat, Dec 11, 2010 at 03:42, Henrik Lindberg
wrote:
> I understand that - I wonder if there is a set of pp files available for
> testing the parser.
Puppet labs don't have a hidden repository of them to use as part of
testing or anything like that.
What I would probably do is head on over to
The issue was that I was not passing the --environment flag during my
puppet run. Apparently it ignores the environment returned by the
external node classifier. Thanks for all the feedback.
-eric
On Dec 7, 10:15 am, Stefan Schulte
wrote:
> On Mon, Dec 06, 2010 at 03:55:20PM -0800, Eric Snow w
got it, it was an issue where it was dropping the base.repo file blank
and then requiring yum-priorities to populate the files.
Russell Perkins wrote:
> So I'm using the standard yum module from example42. Every single file
> ends up blank on my targets. Do I have a logic error in my file?
>
> Her
Thanks. I didn't see that.
On Dec 10, 2010, at 12:45 PM, Justin Brehm wrote:
> There's an exec in this that sets the root password (line 180).
>
> https://github.com/blt04/puppet-mysql/blob/master/manifests/classes/server.pp
>
>
> On Fri, Dec 10, 2010 at 3:35 PM, Patrick wrote:
>>
>> On Dec
So I got past the confusion. Here is what the rest_api.html doc
should say (it was missing the underscore) for an example:
curl -H "Accept: yaml"
https://puppetmaster:8140/production/file_metadata/modules/puppet/puppet.conf
As to the problem I am having, I am guessing that I have something
co
There's an exec in this that sets the root password (line 180).
https://github.com/blt04/puppet-mysql/blob/master/manifests/classes/server.pp
On Fri, Dec 10, 2010 at 3:35 PM, Patrick wrote:
>
> On Dec 10, 2010, at 5:47 AM, Adam Heinz wrote:
>
> On Fri, Dec 10, 2010 at 6:34 AM, Patrick wrote:
>
On Dec 10, 2010, at 3:40 AM, luke.bigum wrote:
>>> This doesn't appear to affect the actual execution of commands, so
>>> don't be worried about the wrong commands being executed based on the
>>> CWD of Puppet.
>>
>> Except it might be. Puppet might have been trying to execute the file and
>>
On Dec 9, 2010, at 7:14 AM, Martijn Grendelman wrote:
> I made a small mistake. Please see at the bottom.
>
> On 09-12-10 15:30, Martijn Grendelman wrote:
>> An example: add the following to
>>
>> /modules//lib/facter/augeas_available.rb
>>
>> -- cut here --
>> require 'facter'
>>
>> Facter.a
On Dec 10, 2010, at 5:47 AM, Adam Heinz wrote:
> On Fri, Dec 10, 2010 at 6:34 AM, Patrick wrote:
> I'm trying to administer the mysql database on some servers using puppet.
> When I'm done, I want:
>
> *) The DB to have a root password.
> *) I want to define a few databases, users and grants.
So it looks like that doc is misleading. It would help if there were
a curl example for the API request for files... As it is, it may be
that the environment is factored in after all. Still trying to figure
it out. Any ideas would be great!
-eric
On Dec 10, 11:17 am, Eric Snow wrote:
> I jus
So I'm using the standard yum module from example42. Every single file
ends up blank on my targets. Do I have a logic error in my file?
Here is my yum/modules/manifests/init.pp - http://pastie.org/1366030
--
You received this message because you are subscribed to the Google Groups
"Puppet Users
I just tried using the REST API to pull the file metadata and noticed
that the environment is not part of the API for files:
http://docs.puppetlabs.com/guides/rest_api.html
Does that mean that it will not respect my environments for the
following:
file { 'test':
source => 'puppet:///module
On 12/10/2010 05:58 PM, Henrik Lindberg wrote:
> Thanks,
> that is a good starting point. Are the underlying pp files available in
> git by any chance?
If not, wget and a little awk should go a long way...
--
You received this message because you are subscribed to the Google Groups
"Puppet User
Thanks,
that is a good starting point. Are the underlying pp files available
in git by any chance?
- henrik
On Dec 10, 2010, at 5:47 PM, Felix Frank wrote:
On 12/10/2010 05:42 PM, Henrik Lindberg wrote:
Hi,
I understand that - I wonder if there is a set of pp files
available for
testing
On 12/10/2010 05:42 PM, Henrik Lindberg wrote:
> Hi,
> I understand that - I wonder if there is a set of pp files available for
> testing the parser.
http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Patterns
--
You received this message because you are subscribed to the Google Groups
Hi,
I understand that - I wonder if there is a set of pp files available
for testing the parser.
- henrik
On Dec 10, 2010, at 5:04 PM, Dan Bode wrote:
--parseonly option will catch parsing mistakes.
On Fri, Dec 10, 2010 at 8:00 AM, Henrik Lindberg > wrote:
Hi,
I am working on some tools t
--parseonly option will catch parsing mistakes.
On Fri, Dec 10, 2010 at 8:00 AM, Henrik Lindberg <
henrik.lindberg.priv...@gmail.com> wrote:
> Hi,
> I am working on some tools that read and write pp files, and I wonder if
> there are some pp files available somewhere that can be used to test a
>
Hi,
I am working on some tools that read and write pp files, and I wonder
if there are some pp files available somewhere that can be used to test
a parser.
I am especially interested in if there are some tests written that
capture invalid syntax.
- henrik
--
You received this message because yo
Hello!
I'm trying to use pre-commit SVN hook for checking puppet syntax. For
it I try to use some scripts from this thread:
http://groups.google.com/group/puppet-users/browse_thread/thread/50ff2eb268f982da?pli=1
But when I try some of the scripts I see the common problem,
expression like this:
#
On Debian an example /etc/network/interfaces stanza would be.
auto eth0
iface eth0 inet static
address 192.168.2.0
netmask 255.255.255.0
gateway 192.168.2.1
post-up ifconfig $IFACE txqueuelen
You will want to have a file resource for the /etc/network/interfaces
fi
On Fri, Dec 10, 2010 at 6:34 AM, Patrick wrote:
> I'm trying to administer the mysql database on some servers using puppet.
> When I'm done, I want:
>
> *) The DB to have a root password.
> *) I want to define a few databases, users and grants.
>
> Any advice what to use?
>
I've had good succes
On Fri, 10 Dec 2010 12:33:39 +0100
Felix Frank wrote:
>
> > We could simply as my previously example.
> > is the selctor correct?
> >
> >password=> $root_password ? {
> > 'serviceA'=> 'passwdA',
> > default => 'passwdB',
> > },
> >
> >
On Fri, Dec 10, 2010 at 5:04 PM, Patrick wrote:
> *) The DB to have a root password.
>
Use a preseed template.
--
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
> > This doesn't appear to affect the actual execution of commands, so
> > don't be worried about the wrong commands being executed based on the
> > CWD of Puppet.
>
> Except it might be. Puppet might have been trying to execute the file and
> then failing because the permissions were 644 instead
I'm trying to administer the mysql database on some servers using puppet. When
I'm done, I want:
*) The DB to have a root password.
*) I want to define a few databases, users and grants.
Any advice what to use?
I want to use the DavidSchmitt-mysql module, but I can't figure out how to make
tha
> We could simply as my previously example.
> is the selctor correct?
>
>password=> $root_password ? {
> 'serviceA'=> 'passwdA',
> default => 'passwdB',
> },
>
> I mean, the default has any sense? if not default but ''?
> because if tha
On Fri, 10 Dec 2010 11:43:59 +0100
Felix Frank wrote:
> > nodes.pp
> > nodea {
> > $root_passwd=serviceA
> > include common_defaults
> > }
> >
> > nodeb {
> > include common_defaults
> > }
>
> Hi,
Hi,
> could you be a little less cryptic about the node definitions? (I
> understand
On Dec 10, 2010, at 2:34 AM, luke.bigum wrote:
> Thanks for the suggestion Patrick, it led me to the cause of the
> problem :)
>
> I wrote a very simple local test manifest to emulate the Exec problem
> with 'puppet apply' and it still occurred. Out of pure habit, I often
> execute 'ls -l' when
> nodes.pp
> nodea {
> $root_passwd=serviceA
> include common_defaults
> }
>
> nodeb {
> include common_defaults
> }
Hi,
could you be a little less cryptic about the node definitions? (I
understand there may be privacy issues, but the above is censored too
drastically.)
Is it
Hi all,
We'd like to share a class, and do something like:
class common_defaults {
[...]
user { 'root':
ensure => present,
password=> $root_password ? {
'serviceA'=> 'passwdA',
default => 'passwdB',
},
[...]
}
$ro
Thanks for the suggestion Patrick, it led me to the cause of the
problem :)
I wrote a very simple local test manifest to emulate the Exec problem
with 'puppet apply' and it still occurred. Out of pure habit, I often
execute 'ls -l' when I switch between terminals (so I know where I am)
and noticed
Have you tried to run with --debug?
On Tue, Dec 7, 2010 at 11:59 PM, Himanshu Raina wrote:
> Hi,
>
> The cpu is hardly busy. I'm not clear on the network part though cause
> DNS resolutions and n/w connectivity everything's fine. It's just that
> out of the blue had this problem.
>
> regards,
>
>
Hi,
Nothing has changed in your puppet config?
Seems that this problem has appeared before:
http://www.mail-archive.com/puppet-users@googlegroups.com/msg06477.html
Not sure if this applies in your situation though...
Cheers,
Iain
On 8 December 2010 16:59, Himanshu Raina wrote:
> Hi,
>
> The
37 matches
Mail list logo