Try using fully qualified domain name. vm1.blah.com
The server name needs to match the certificate. What you can do is remove all
your ssl puppet dirs (usually /var/lib/puppet/ssl) and set certname in your
puppet.conf to be what you call the hosts instead of using dns names.
ie: on master:
[mai
I think your master needs to sign the cert, on the master issue
puppet-ca --sign vm2.jhmg.net
You'll need to verify that syntax, it's from memory :-)
On Fri, Mar 30, 2012 at 6:06 PM, Jim Garrison wrote:
> Trying to set up a simple master/agent configuration on two VMware VMs. I
> startup t
Hi Gino,
The good news with a work in progress is that you can start all over again ;)
What you are trying to call is a define:
http://docs.puppetlabs.com/learning/definedtypes.html
http://docs.puppetlabs.com/guides/language_guide.html#resource-collections
I would also take a look at this:
htt
Apologies if this is a duplicate, but GG seems to have eaten my previous
post
I'm trying to set up a simple master/agent on two VMs under the same ESXi
host.
I start up the master successfully on vm1, then start up the agent on vm2
sudo puppet agent --server vm1 --waitforcert 60 --test
On
Trying to set up a simple master/agent configuration on two VMware VMs. I
startup the master and then try to start the agent, in waitforcert mode to
submit its cert request. After receving the request on the master and
signing it, I get this on the agent:
[jhg@vm2 puppet-2.7.12]$ sudo puppet
Thanks Gary. I'll go figure out how that works. :)
On 03/30/2012 12:04 PM, Gary Larizza wrote:
> Create_resources doesn't support virtual users, but Hiera DOES support
> hash-merging, so it could find all users in all hierarchies with
> hiera_hash and then declare them at once.
>
> On Friday,
Good Evening Guys,
Let me start by saying that I really admire how far puppet has come in the last
year or so, with the launch of the Enterprise version, Puppet Forge and the
other innovations from within Puppet Labs, and in particular the community
participation. I love the mailing list, even
Hi guys, I'm trying to create my module to install splunk forwarder on
windows boxes, I have this init.pp file on my module manifests:
class splunk-mp()
{
file {'D:\Install':
ensure => directory,
mode => 0777,
}
file {'D:\Install\Apps':
ensure => directory,
Create_resources doesn't support virtual users, but Hiera DOES support
hash-merging, so it could find all users in all hierarchies with hiera_hash
and then declare them at once.
On Friday, March 30, 2012, Aaron Grewell wrote:
> Hi all,
> I'm interested pushing my user list out of my users manifes
Hi all,
I'm interested pushing my user list out of my users manifest and into
Hiera. Unfortunately I haven't been able to get it to work the way I
thought it would. The error suggests that perhaps create_resources
cannot create virtual resources, but the docs I've read so far don't
address it.
T
If you try to handle unlike OSes in the same class you're in for lots of
debugging and logic issues. I agree with Walter, you'll want to
subclass them.
If you name your subclasses according to the results of the built-in
osfamily fact (which should return RedHat for both RHEL and CentOS) you
can
Team,
I need a puppet module to copy a file to different location based on
condition check . Below is my requirement
if /opt/path1 found on the server then copy file1
if /opt/path2 found on the server then copy file1
if /opt/path3 found on the server then copy file1
if none of the above path fo
Has anyone got a puppetmaster to populate a remote oracle server?
The only thing I have found is
http://www.djelibeybi.net/2010/08/using-oracle-database-for-puppet-stored-configuration/
I have installed the prerequisties, yet I when I run:
puppet master --no-daemonize --verbose --debug
I get no
I've used PE with cucumber-puppet before
I put cucumber/cucumber-puppet in the same ruby as PE (which I *think* is a
requirement for cucumber-puppet),
which required manually setting up the dependencies for, and installing
pe-ruby-devel then using /opt/puppet/bin/gem.
Installing the ruby developm
On Mar 29, 11:17 am, Brian Carpio wrote:
> Is cucumber-puppet compatible with Puppet Enterprise 2.5? If not is
> there a test framework which is similar that is?
I haven't used puppet enterprise, but I would be surprised if it
showed massive incompatibilities with the open-source version.
Anyways
Facter 1.6.7 is a maintenance release candidate with bug fixes and
improvements.
It includes contributions from the following people: Adrien Thebo,
Chris Gardner, Todd Zullinger.
This release is available for download at:
http://downloads.puppetlabs.com/facter/facter-1.6.7.tar.gz
http://downloa
I'm receiving the exact same error. Did you ever figure out what was
causing it?
On Wednesday, March 21, 2012 6:24:37 AM UTC-5, Surendra Singhi wrote:
>
> Hi,
>
> I am trying to install puppet enterprise on a fresh Debian Squeeze
> machine, but I am getting an error midway with no information
On Thu, Mar 29, 2012 at 11:50 PM, Pablo Fernandez
wrote:
> Hi,
>
> It looks like range("host01", "host99") works fine, returning [ "host01",
>> "host02", ..., "host98", "host99" ]
>>
>> Is this what you're looking for, or is it an issue only if the leading
>> portion of the string is zero padded?
Well this rarely happens... I think I've cracked it... I'm using puppetrun
--host from the master force the client to check in for updated files.
I had to add this to puppet.conf on the client
listen = true
Then add this to auth.conf on the client to allow the master to check for
updates.
Hi Guys,
I'm just getting my head around Puppet. At the moment I'm using Puppet to
manage an Apache config file across webservers on some test servers. I have
this all setup and am using Puppet to initiate a graceful Apache restart
after the file is updated from the Puppet Master.
What I'd lik
Well... that's why you have scopes, right? So that you don't need to
know all variables in your tree, just the local ($var) and globals
($::var). At least it's how I understood it.
In any case, the problem is not the variable name (I used other local
variable names, and same problem happens).
I would imagine this has to do with the whole, "you can't override
variables" thing that comes with a declarative language. Truly, if you
want do to this you need to just change the variable names so they won't
conflict with the facter values. This is the primary reason (IMO) that
example42 use m
I have trying to dig more into this, and I found out the problem is not
the scope of the variable, but hiera!
So, it seems like hiera('netmask') is actually looking into the node's
facts! Is this the expected behavior?
This is my hiera.yaml:
:backends:
- puppet
:hierarchy:
- %{hostname}
Hi Florian,
sorry, haven't had time to get back to it. Feel free to whip something up :)
Walter
On Fri, Mar 30, 2012 at 17:49, Florian Koch
wrote:
> Hi Walter,
>
> any news with the zabbix_agentd lens?
>
> rgds Florian
>
>
> Am Sonntag, 22. Januar 2012 21:48:36 UTC+1 schrieb Walter Heck:
>>
>>
Hi,
I have just found something very weird. I define this:
define networking::basic_interface ($ip, $netmask = hiera('netmask'),
$gateway = hiera('gateway')) {
file { "/etc/sysconfig/network-scripts/ifcfg-${name}" :
content =>
"DEVICE=${name}\nIPADDR=${ip}\nNETMASK=${netmask}\nGAT
Hi Walter,
any news with the zabbix_agentd lens?
rgds Florian
Am Sonntag, 22. Januar 2012 21:48:36 UTC+1 schrieb Walter Heck:
>
> Hi all,
>
> I'm trying to come up with a lens for the zabbix agent config files. I
> find the lens language untransparent at best, so I'm struggeling to
> figure out
Am Sonntag, 22. Januar 2012 21:48:36 UTC+1 schrieb Walter Heck:
>
> Hi all,
>
> I'm trying to come up with a lens for the zabbix agent config files. I
> find the lens language untransparent at best, so I'm struggeling to
> figure out what's up. The debugging possibilities are extremely
> limited.
thanks Eric,
ensure did the trick, now I´m stuck while trying to use a facter variable
within the line statement:
file_line { "tmpfs entry":
line => "tmpfs /dev/shmtmpfs size=${kis_tmpfs_size} 0 0",
path => "/etc/fstab.d/system.fstab",
ensure => present
}
28 matches
Mail list logo