We're still using Puppet 2.7, but looking at our puppet-gpg config the
only major difference I see is we use :key_dir for the gpg key's instead
of the puppet users home directory. So our hiera.yaml file looks like:
# Hiera configuration file
---
:backends:
- yaml
- gpg
:yaml:
:datadir: /e
Without hiera you have all those extra classes you posted below
including this very specific one. I think your classes are too
complicated to begin with regardless of where the data is, but the lack
of data separation probably sent you down that path.
class role::zabbix20::server::dc1 {
inc
Thanks Chad ...
I understand it from the syntax point of view, but my point is more of a
conceptual question in how to apply Craig's concepts using hiera with
parasitized classes ... in that case, the node definition using hiera
declares one (and only one role). The profile would define the techno
Has anyone been able to get this working?
For some reason, I am unable to get values decrypted via a puppet run,
despite being able to decrpyt via command line
I am starting to wonder if there is a bug or something I am missing??
I SO appreciate ANY help!
_
LIke this:
class profile::zabbix20::server (
bind_ip,
...
) {
class { '::zabbix20::server':
bind_ip => $bind_ip,
...
}
}
Then your hieradata would set
in a.b.c.d.yaml:
profile::zabbix20::server::bind_ip: 1.2.2.3
in x.y.z.w.yaml:
profile::zabbix20::server::bind_ip: 1.2.3.4
That
Ughh; and I spoke too soon for some reason, it is not decrypting when
running via puppet run/manifest (I had mistakenly left the unencrypted in
the directory and it was failing back to reading the yaml_
Thanks!
On Tue, Sep 3, 2013 at 4:03 PM, Worker Bee wrote:
> Hi Luke;
>
> So, what
Hi Luke;
So, what you said does make sense and, I did make the changes you explained
to my manifest and it worked! :)
I am confused though and I am so sorry to be so ignorant but, what
does %{location} refer to?
Thank you VERY, VERY much!
bee
On Tue, Sep 3, 2013 at 12:18 PM, Luke Bigum
Any ideas???
On Friday, June 28, 2013 9:38:29 AM UTC-4, Glenn Poston wrote:
>
> Running Amazon Linux (which is essentially Centos5.5).
>
> Anyone seen random yum errors like this one? I don't think
> it's necessarily related to Puppet, but it randomly fails my puppet runs
> and I don't know how
Just for the record, this is the code I'm using:
Facter.add(:operatingsystem) do
> confine :kernel => [ 'Linux' ]
> has_weight 100
> setcode do
> if FileTest.exists?("/usr/bin/pveversion") then
> "Proxmox"
> end
> end
> end
>
> Facter.add(:operatingsystemrelease) do
> con
Hi we're noticing in our environment intermittent windows agents becoming
unresponsive and it's because of the lock file not being deleted.
We are installing Puppet agent using the msi file, version 3.0.1.
* Something that caught our attention is that the agents that have locked
have been unchang
Is it acceptable to do the search based on 'certname'? ie:
curl -G 'http://localhost:8080/v2/facts' --data-urlencode
'query=["and",["~","certname","puppetdb?"],["or",["=","name","ipaddress"],["=","name","hostname"]]]'
ken.
On Mon, Sep 2, 2013 at 7:00 AM, Klavs Klavsen wrote:
> This gives me the
Hi everyone.
I've recently started testing puppet enteprise.
Puppet master is on RHEL 6.4, my node connected for test purposes is
Solaris 10u10.
Puppet master is 3.0.1, fresh installation.
Using "Advanced tasks" I'm trying to install PKG from CSW. I'm selecting
node for installation, in field f
Stuart,
If I'm understanding your needs correctly, this may be what you're looking
for:
http://www.devco.net/archives/2010/03/17/scheduling_puppet_with_mcollective.php
On Monday, September 2, 2013 11:01:46 AM UTC-5, Stuart Cracraft wrote:
>
> How can this be randomized within a range?
>
> I bel
Excellent.. thanks!
And now sorry for the long email... hopefully I'm clear enough.
I'd also to expose one example that I have here in my company. I'm not too
confident of how we setup roles and profiles, specially when it comes to
add hiera into the game.
Say we have a module called zabbix20
Going forward I'm going to aim for this twice a month as weekly is too
frequent and I forget to write them every week.
This update is dedicated to blkperl who keeps me writing them by reminding
me every time I forget.
It's been a busy month and with Puppetconf falling in the middle of the
month p
>
>
> ... That's not explained very well but I can't think of a better way to
> phrase it yet. Does that help so far?
>
Perhaps I can show you what I mean. Run these commands and look at the
debug output in what files Hiera is trying to open, see how it's
interpreting each variable you add on
Hi Guys;
I really appreciate your help and apologize for the continued questions...
however, apaprently, I am missing something here. I cannot get this
working.
I have set hiera-gpg up as per the docs I can find but, I still cannot seem
to get my manifests correct. If someone would kindly provi
I just started a big reply to your last email and it looks like you've
figured most of it out. At least your not still thinking "manifests" your
problem is in hiera.yaml ;-)
On Tuesday, September 3, 2013 5:04:19 PM UTC+1, Worker Bee wrote:
>
> I am pretty sure I still have something wrong with m
I am pretty sure I still have something wrong with my set up but, I just
cannot seem to see what it is...
Notice if I attempt to decrypt vi the command line and do not indicate
"env=live", it fails..
[root@me puppet]# hiera -c /etc/puppet/hiera.yaml rootpwd
calling_module=motd
nil
[root@me puppet
It returns 1053. The "sc start" command prints:
[SC] StartService FAILED 1053: The service did not respond to the start
or control request in a timely fashion.
You can easily reproduce it by registering a service with a non-existing
executable:
sc create MyService binPath= C:\NotThere.
What does "cmd /c sc start MyService" return?
On Tue, Sep 3, 2013 at 9:23 AM, Igor Berger wrote:
> As I mentioned, I'm running into this issue when the service fails to
> start.
> "sc start" returns a failure, Puppet mentions it in the log file.
>
> The problem is that "puppet apply" returns 0
Because you are trying out a proof of concept, there is also a chocolatey
provider that I want to mention that will handle packaging on Windows.
There is a hands on lab that you can check out -
https://github.com/chocolatey/puppet-chocolatey-handsonlab
On Tue, Sep 3, 2013 at 9:29 AM, Rob Reynolds
Jason,
We have the built in Windows Package provider that you can use to install
an MSI from the network share. This looks something like this (from
http://docs.puppetlabs.com/windows/writing.html#packagepackage):
package { 'Name in Programs and Features':
ensure => installed,
provid
As I mentioned, I'm running into this issue when the service fails to start.
"sc start" returns a failure, Puppet mentions it in the log file.
The problem is that "puppet apply" returns 0 (success) to the shell when
"sc start" fails.
However, "puppet apply --detailed-exitcodes" returns a failure
On 2 September 2013 17:01, Stuart Cracraft wrote:
> How can this be randomized within a range?
>
>
I don't think it can; it suffers from the same issue as splay does, which
I explained in some detail last week.
>
> My fear is that all the boxes will request at a similar some day, by chance
>
25 matches
Mail list logo