Hi,
You should include the version number with your questions so we can narrow down
answers :)
First thing I would do is grep through manifest and look for any calls to the
classes in your module.
Also the syntax looks a bit odd to me. No doubt works but it is not the way
puppet recommends. I
Hi,
What is the exit code of the script when you run manually? Does it exit with 1?
Cheers,
Den
On 20/05/2011, at 13:58, Sumith Sudhakaran wrote:
> Hi,
>
> After configuring puppet ( 2.6.8 ) in RHEL 5 update 6, I am able to execute
> commands individually but I am not able execute the she
Thanks for your replay
No, I just create a shell for testing with following content.
chmod 777 /root/testfile
Nothing else .
On Fri, May 20, 2011 at 1:00 PM, Denmat wrote:
> Hi,
>
> What is the exit code of the script when you run manually? Does it exit
> with 1?
>
> Cheers,
> Den
>
>
> On 2
Thanks for your reply
No, I just create a shell for testing with following content.
chmod 777 /root/testfile
Nothing else.
On Fri, May 20, 2011 at 1:00 PM, Denmat wrote:
> Hi,
>
> What is the exit code of the script when you run manually? Does it exit
> with 1?
>
> Cheers,
> Den
>
>
> On 20
Hi Nan,
The /etc/nslcd.conf file is declared in a separate class called 'nss':
if ($osclass == 'rhel') and ($operatingsystemrelease =~ /^6/)
{
# Push out nslcd.conf
file{'/etc/nslcd.conf': tag =>
['weekday','name_service'],
owner =>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Thanks, that worked perfectly! I had no idea key and value were reserved
> words.
they aren't and imho your example looks quite fine. But as you didn't
post the erb error in the first place, it's hard to tell what is
actually really wrong.
~pete
-
On Thu, 19 May 2011 09:10:22 -0700
Patrick Patrick wrote:
Hi,
> Sorry. I ready your whole email backwords. I can only blame being
> tired.
no problem!
> Did you clean using "puppetca --clean hostname" on the server, by
> using "rm" on the client, or both?
clean on the server.
> Are you us
On Thu, 19 May 2011 23:46:32 +
Nan Liu wrote:
thanks Nan,
with your help and Patrick's I've understood the problem and solved.
Many thanks for you reply!
Cheers,
Arnau
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this gro
Hi Micah,
In short, I'm in agreement with you. With the CA which is defaulted to 5 years
(not at all surprising) there's no doubt that soon (maybe 2.7 is a good time?)
that 2048 key size should be used for at least the CA key, if not default for
client key generation as well. Secondly, yes, I d
On May 19, 10:58 pm, Sumith Sudhakaran wrote:
> Hi,
>
> After configuring puppet ( 2.6.8 ) in RHEL 5 update 6, I am able to
> execute commands individually but I am not able execute the shell script,
> its giving error only. Somebody please help me how can I execute a shell
> script in rhel5
On May 20, 4:07 am, tobyriddell wrote:
> I realise that the config. for the new host I'm working on doesn't
> include the 'nss' class so that would explain why the error appears in
> the first place (thanks for helping me track that down).
>
> But I still don't have a grasp on why it's intermitt
On May 19, 5:10 pm, Bill Anderson wrote:
> I'm in the process of upgrading an existing installation from .24.x to 2.6.
>
> We seem to have a custom function that is throwing the error:
> "err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> private method `gsub' called for
Hi,
I'm defining a class whose responsibility is to setup an application
folder, virtual host, init script and so forth for a rails
application. The class is defined as follows:
class rails($name, $environment)
## Include General Software
require nginx
require mysql
## Setup application
On Thursday, May 19, 2011 at 11:58 PM, Sumith Sudhakaran wrote:
Hi,
>
> After configuring puppet ( 2.6.8 ) in RHEL 5 update 6, I am able to execute
> commands individually but I am not able execute the shell script, its giving
> error only. Somebody please help me how can I execute a shell scrip
Hi,
I'm trying to pass a parameter different from the default to the child
of a parametrized class with inheritance, but the inherited code from
the parent class doesn't seem to be taking the correct parameter.
For example, in the following code:
class parent ( $foo = "bar" ) {
notice("
On Thu, May 19, 2011 at 8:45 PM, John Warburton wrote:
> Can anyone comment / expand upon
> http://www.nico.schottelius.org/blog/puppet-sometimes-loads-a-class/
>
> I am experiencing a case which may be related. We have an ENC, and recently
> on our twice daily noop runs from cron, puppet has repo
On Fri, May 20, 2011 at 5:39 AM, Mark Stanislav wrote:
> Hi Micah,
>
> In short, I'm in agreement with you. With the CA which is defaulted to 5
> years (not at all surprising) there's no doubt that soon (maybe 2.7 is a
> good time?) that 2048 key size should be used for at least the CA key, if
> n
I'm running into an issue where I have a resource (package "ipwatchd")
dependent on another resource (exec "fix_sle_sdk_pool_repo"), but the
resource that its dependent on isn't being included into the catalog.
What's where is that the ipwatchd resource is actually dependent on 5
different exec 're
On Fri, May 20, 2011 at 5:26 AM, Bilco105 wrote:
> Hi,
>
> I'm defining a class whose responsibility is to setup an application
> folder, virtual host, init script and so forth for a rails
> application. The class is defined as follows:
>
> class rails($name, $environment)
> ## Include General S
On Tue, Jan 25, 2011 at 4:36 PM, Micah Anderson wrote:
>
> Hi all,
>
> It seems that an isolated group of us has come to a mini-consensus about
> #5604, but I wanted to post to the list to get some wider discussion.
>
> As detailed in #5604, the puppet apt provider mysteriously, and rather
> aggr
On 05/16/2011 10:49 PM, CoolCold wrote:
> Using "latest" is not the cure, because it will look only on version
> (as i understand) and not on pins.
Have you tried this?
If apt-cache policy lists a newer candidate for a package, it's my
understanding that ensure => latest with the apt provider sho
On Fri, May 20, 2011 at 8:29 AM, Jake - USPS wrote:
> I'm running into an issue where I have a resource (package "ipwatchd")
>
I can't see that actual package defined below, just usps-ipwatchd.
Are you perhaps running into the issue where a specific require in a
resource will override (rather th
On Fri, May 20, 2011 at 8:42 AM, Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:
> On 05/16/2011 10:49 PM, CoolCold wrote:
> > Using "latest" is not the cure, because it will look only on version
> > (as i understand) and not on pins.
>
> Have you tried this?
>
> If apt-cache policy lists a
We are looking to hire a full time (or possibly a consultant) in
Boston with experience in AWS and Puppet (or Chef :)
http://www.fiksu.com/company/careers/cloud-operations-manager
Any good leads on other places to look for someone like that?
Thanks!
--
You received this message because you are
That was a typo on my part, usps-ipwatchd is where the issues stems
from as the error shows. And as you stated, that is the only thing
defined. Sorry for the confusion.
As you can see also, I'm not specifying any requires when defining the
usps-ipwatchd package. And as the error shows its getti
On Friday, May 20, 2011 7:47:54 AM UTC-6, jcbollinger wrote:
>
>
>
>
> It looks like at least one function argument is being received as an
> array instead of as a string. It may be that 0.24.x was flattening
> that array into a series of individual arguments, whereas 2.6.x does
> not. If th
Huge user error on my part. I have 2 environments, and this error was
coming from the outdated one, while I was referencing the good one
when troubleshooting. :-\
Thanks for taking a look!
Regards,
Jake
On May 20, 11:01 am, Jake - USPS wrote:
> That was a typo on my part, usps-ipwatchd is whe
Several people complained that if Puppet's management directories
(e.g., confdir) were symlinks, Puppet would overwrite them with real
directories. It turns out that this issue was a ticket already, and
an old one.
http://projects.puppetlabs.com/issues/650
Please comment on the ticket or reply h
On Fri, May 20, 2011 at 08:31, Mark wrote:
> We are looking to hire a full time (or possibly a consultant) in
> Boston with experience in AWS and Puppet (or Chef :)
>
> http://www.fiksu.com/company/careers/cloud-operations-manager
> Any good leads on other places to look for someone like that?
He
Facter 1.5.9 is a maintenance release containing fixes and updates.
This release contains several fixes, and updated facts, as well as
adding some new facts. These include enhancements with Facter & EC2,
additional memory facts for OS X, and better Ruby 1.9 support.
As always, please let us know
puppet-module changelog
/opt/local/lib/ruby1.9/gems/1.9.1/gems/puppet-2.6.8/lib/puppet/util/log/destinations.rb:99:
warning: class variable access from toplevel
/opt/local/lib/ruby1.9/gems/1.9.1/gems/puppet-2.6.8/lib/puppet/application/kick.rb:
/opt/local/lib/ruby1.9/gems/1.9.1/gems/puppet-2.6
This an existing ticket, too: http://projects.puppetlabs.com/issues/2084
E.g., given:
@file { foo: ... }
@service { bar:
require => File[ foo ]
}
realize Service[ foo ]
File[ foo ] should also be realized.
Please comment on the ticket or reply here, whichever you prefer.
http://projects.puppetlabs.com/issues/7598
If your goal is this (pseudo-code):
@file { "host_one" }
@file { "host_two" }
You should be able to say this:
$array = [ "one", "two" ]
@file { "host_$array" }
Instead of this:
@file { "host_one", "host_two" }
Please comment on t
http://projects.puppetlabs.com/issues/7599
This (or something very like it) should work:
file { foo:
ensure => present
mode => 0644
}
Note the lack of commas after key/value pairs.
Please comment on the ticket or reply here, whichever you prefer.
Thanks!
r
P.S. This i
http://projects.puppetlabs.com/issues/7600
I call this the "agent orange" option :)
This works, purging all unmanaged hosts entries:
resources { 'host':
purge => true,
noop => true,
}
We should have a similar property for all (most?) types.
Please comment on the ticket
http://projects.puppetlabs.com/issues/7601
Our very long docs pages are difficult to use. E.g.,
http://docs.puppetlabs.com/references/2.6.8/type.html
Please comment on the ticket or reply here, whichever you prefer.
Thanks!
r
P.S. This is in response to feedback from my "Improving the Puppet
D
http://projects.puppetlabs.com/issues/7604
import "/etc/puppet/manifests/nodes/*"
Should import all manifests in subdirectories as well.
Note that this conflicts with #4732, which proposes that Puppet globs
act more like shell globs.
Please comment on the ticket or reply here, whichever you
I have a piece of shell script as below:
ACTIVE_INTERFACE=`/sbin/ifconfig | /bin/gawk ' /^eth/ { print $1 } '
| /usr/bin/head -1`
How do I translate it to puppet code, for example to assign the result
as a variable to use?
Thanks,
-Haiyan
--
You received this message because you are subscribed
http://projects.puppetlabs.com/issues/7605
The virtual resource operator:
@user { luke: ensure => present }
Is relatively easy to type but, if you don’t know it, very hard to
read. We should consider a word-based syntax, e.g.:
virtual user { luke: ensure => present }
Please comment on
http://projects.puppetlabs.com/issues/7606
The spaceship operator:
User <| group == sysadmin or title == luke |>
Is relatively easy to type but, if you don’t know it, very hard to
read. We should consider a word-based syntax, e.g.:
collect User { group == sysadmin or title == luke }
http://projects.puppetlabs.com/issues/7612
The exported resources syntax:
@@user { luke: ensure => present }
Is concise and powerful, but very difficult to read. We should
consider word-based syntax, e.g.:
export @user { luke: ensure => present }
And taking into account #7605, perhaps:
On 05/20/2011 01:24 PM, Randall Hansen wrote:
> http://projects.puppetlabs.com/issues/7612
>
> The exported resources syntax:
>
> @@user { luke: ensure => present }
>
> Is concise and powerful, but very difficult to read. We should
> consider word-based syntax, e.g.:
>
> export @user {
Hi,
Currently when a resource is scheduled, that resource doesn't run until its
supposed to. However, the puppet report currently doesn't show if a resource
is schedule as it just marks it as skipped. Is there a way to separate out
skipped from scheduled in puppet reports?
Corey
--
You
On Fri, May 20, 2011 at 1:20 PM, Randall Hansen wrote:
> http://projects.puppetlabs.com/issues/7605
>
> The virtual resource operator:
>
>@user { luke: ensure => present }
>
> Is relatively easy to type but, if you don’t know it, very hard to
> read. We should consider a word-based syntax, e.g
On May 20, 3:17 pm, Randall Hansen wrote:
> http://projects.puppetlabs.com/issues/7600
>
> I call this the "agent orange" option :)
>
> This works, purging all unmanaged hosts entries:
>
> resources { 'host':
> purge => true,
> noop => true,
> }
>
> We should have a simil
On Fri, May 20, 2011 at 13:19, hyzhang wrote:
> I have a piece of shell script as below:
>
> ACTIVE_INTERFACE=`/sbin/ifconfig | /bin/gawk ' /^eth/ { print $1 } '
> | /usr/bin/head -1`
>
> How do I translate it to puppet code, for example to assign the result
> as a variable to use?
You want to wr
Every few days I have to restart the puppetmaster process due to this
error
"Could not read YAML data for node Too many open files".
I have 9 clients being controlled by Puppet and each one of those will
generate the same error once this happens. Running 'lsof' during this
time shows me 100
On 2011-05-20 22:18, Randall Hansen wrote:
http://projects.puppetlabs.com/issues/7601
Our very long docs pages are difficult to use. E.g.,
http://docs.puppetlabs.com/references/2.6.8/type.html
I'd disagree on one point. It's not the length of the page that bother
me, because having all on on
48 matches
Mail list logo