Hi John,
You are right.
Now I use the following command and it works.
puppet agent --server s001ap38-test -t
Many thanks!
Wei
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it,
You are specifying the name of the Puppet master when you use --server but
that's not how the agent will usually run. The error you're getting with
the puppet agent -t indicates a problem communicating with the master.
That's going to behave the same as when the agent runs every 30 minutes.
I
Hi John,
Thanks for your answer first.
I am new comer of puppet. I just wrote some simple code as follow:
The 'site.pp' on the server side:
import 'nodes.pp'
$puppetmaster = 's001ap38-test'
The 'init.pp' on the server side:
class httpd {
package { "httpd":
ensure => present,
Hi Wyatt,
Thanks for the pointer! I found the full stack trace which gives a better
error:
I just need to workout how to configure the SSL configuration now.
2015-10-09 20:28:24,184 INFO [p.p.pdb-routing] Starting PuppetDB, entering
maintenance mode
2015-10-09 20:28:24,257 INFO
On Thursday, October 8, 2015 at 9:52:29 AM UTC-5, Sergiu Cornea wrote:
> So therefore, what I am trying to do, is that I've got a template which
> does this for me, and I have specified A CLASS instead of define as you've
> said I was getting an error saying that the couldn't associate
On Thursday, October 8, 2015 at 11:08:35 AM UTC-5, Bret Wortman wrote:
>
> So I upgraded our Puppet server to Fedora 22, which brought with it an
> upgrade from Puppet 3.8-ish to 4.1.0-5. And as this wasn't expected (I
> should have read and studied more -- it's definitely my fault), a few
>
Hi John, hi Christopher,
thanks for the explanation. I decided not to use hiera. I will expand my
script and return in case of known hosts a valid but empty output like that:
classes:
environment:
Thanks and regards,
Richi
Am Donnerstag, 8. Oktober 2015 17:45:42 UTC+2 schrieb
Hi ,
I have a question regarding managing puppet virtual Resource i have this
code:
class Carb::chocolatey {
include chocolatey
# [Make Chocolately default package provider]
Package { provider => chocolatey }
$packages = [ '7zip', 'dotnet4.5']
ensure_packages($packages)
}
my
Did you ever find a fix for this? I think it may be a puppet issue caching
the user list on catalog initiation - I put a 3 minute sleep behind the net
ads join exec and it still errored, but a successive run immediately
populates the users properly.
Thanks,
Austin
On Friday, February 11,
Puppet v3.4.3
What I was specifically hoping to do was:
exec { 'test' :
command => "%comspec% /c (a Windows command-line program with parameters)",
}
to avoid having to determine where Windows was installed. Although 'puppet
parser vaildate init.pp' doesn't return an error the client agent
On Fri, Oct 9, 2015 at 4:35 AM, Dan wrote:
> Hi Wyatt,
>
> Thanks for the pointer! I found the full stack trace which gives a better
> error:
>
> I just need to workout how to configure the SSL configuration now.
Try `puppetdb ssl-setup` on the command line. It requires that
Hi Wei,
I wasn't suggesting you should always run it with that --server flag. What
I was saying is that the fact that you have to do that to make it work
means something is wrong.
Again, I would check on the agent host to see what server you have listed
in its puppet.conf file. And then see if
Hi John,
Thank you, Thank you very much!!!
You are a life saviour!
The example you have provided it is exactly what I need it!
The only thing I wasn't sure it was the file,because I was using define as
it was called more than once, however, passing a variable to a class does
the same
13 matches
Mail list logo