On Sat, Feb 26, 2011 at 4:05 PM, Hal Snyder wrote:
> Are you specifying certname on puppet master as well as client? That is
> working for me as long as I set --server= and
> --certname= on the client and --certname=
> on the master. You may need to clean out /ssl on your AMIs and
> start over to
1、site.pp: import "nodes.pp"
2、ntp.ppshould be $module_path/manifests/init.pp
3、puppet agent --test --server=S -d -v
Have a look at
http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Best_Practice
On Sun, Feb 27, 2011 at 8:01 AM, mark bradley wrote:
> Hi,
>
> I've just installed
1) What you are doing won't work because all exec commands are executed
independently, not sequentially. Because of this, the "cd" command would have
no effect. There's a "current_working_directory" parameter or something
similar that will give you that effect.
2) Unless you manually set the p
hello list!
I am attempting to import some repo keys into my puppet clients with
the following lines in one of my manifests:
$commands = ["cd /etc/yum.repos.d/","wget
http://apt.sw.be/RPM-GPG-KEY.dag.txt","wget
http://rpms.famillecollet.com/RPM-GPG-KEY-remi","wget
http://download.fedora.redhat.c
Hi,
I've just installed Puppet on two CentOS 5.5 servers, "S" for "A". "A"
does not have the ntp package installed nor of course ntp running.
The Puppet server is started on "S" with the ntp class from this
tutorial: http://bitfieldconsulting.com/puppet-tutorial (included
below) however when I ru
Are you specifying certname on puppet master as well as client? That is
working for me as long as I set --server= and
--certname= on the client and --certname=
on the master. You may need to clean out /ssl on your AMIs and
start over to get this to work.
Specifying certname enables using puppe
Fantastic. Thank you very much guys.
On Sat, Feb 26, 2011 at 3:42 PM, Nick Fagerlund
wrote:
> Dammit, I hit send by accident. Anyway, the point of this is that
> Nan's method is still doing lookup across classes instead of strictly
> controlling the parent scopes, and I think building this as a
Dammit, I hit send by accident. Anyway, the point of this is that
Nan's method is still doing lookup across classes instead of strictly
controlling the parent scopes, and I think building this as a strict
cascade where everything only looks to its direct parent is going to
get you closer to thinki
Hey, Mohamed. Nan's got a good suggestion; I' Alternately, you could
do this:
node default {
include $perhost_module
# Do nothing else.
}
class some_host_module {
$auth_aaa = "something"
$other_variable = "something"
include class_that_includes_everything
}
class class_that_i
Nick Moffitt:
> http://pastebin.ubuntu.com/572759/
I should note that that's a rarified example. It really ought to pass
an ensure parameter down to those files!
--
Hey, how come nobody here in the future
has a time machine except me?
--
You received this message because you are subscr
Daniel Hahler:
> http://daniel.hahler.de/puppet-definition-to-add-launchpad-ppa-repository
> gist: https://gist.github.com/844735
>
> This also supports APT keys via "apt::key".
To me, it's cleaner to ship files than to run programs. I tend to go
with something more like:
http://pastebi
Hello,
on Jan 13, 11:07 pm, Kevin Beckford wrote:
> Now, I noticed the yumrepo, but this is of little use today, I need to add
> an ubuntu ppa ( a few really ) to my installation. How would this be done?
> Is there a provider that can do this?
I have created a definition for this today, but onl
On Feb 25, 4:24 pm, Dan Bode wrote:
> this is what cucumber-puppet does.
>
> https://github.com/nistude/cucumber-puppet
I'll second cucumber-puppet. Being able to verify catalog compilation
is a great step. Beyond that you can test resources for the catalogs
as well.
--
You received this messag
13 matches
Mail list logo